当前位置:网站首页>(5) Web security | penetration testing | network security operating system database third-party security, with basic use of nmap and masscan
(5) Web security | penetration testing | network security operating system database third-party security, with basic use of nmap and masscan
2022-07-03 20:49:00 【Black zone (rise)】
Remove the middleware to build the platform , Outside the website source code , The operating system is also vulnerable , database , Third party software platform, etc , Such attacks can also directly affect Web Or server security , Result in the acquisition of website or server permissions .
At the operating system level
Common ways to identify operating systems
If there is a website, go through the website , No, it can be identified by scanning relevant software
significance : Website path 、 Case write 、 Applicability of documents between the two systems , Compatibility
Different types of vulnerabilities will create conditions for exploiting this vulnerability , Exploit vulnerabilities to gain privileges or interfere with certain services
①windows The server is not case sensitive , So case has no effect on Web pages, that is windows
Changing the upper case and then loading will make it lower case and load it
Linux It's case sensitive , Case error , The page will go wrong
② adopt pnig after , Observe the returned data TTL Value , To determine the operating system
But when the user changes TTL When the value of , Can judge wrong , So this method is not necessarily accurate .
Of the original operating system TTL value :( This can be found online in Baidu )
WINDOWS NT/2k/2000/2003/XP-32bit TTL:128
WINDOWS 95/98 TTL:32
UNIX TTL:255
LINUX TTL:64
WIN7 TTL:64
64-13+1=52, It may be after 13 Nodes
It may also be a change ttl Of
③ Through the scanning tool , To determine the operating system
nmap -o ip (ip Determine the truth through scanning and analysis ip, Don't sweep it into cnd 了 )
sudo nmap -O ip
Device type :WAP | mobile phone function :Linux 2.4.x | 2.6.x, Sony Ericsson embedded OS CPE:CPE:/ O:Linux:Linux_kernel:2.4.20 CPE:/ O:Linux:Linux_Kernel:2.6.22 CPE:/ H:Sonyericsson:U8I_Vivaz
Sometimes true ip Scanning tools are still unreliable , Or do it yourself
Database level
Different database types , Its security mechanism , The writing structure will be different , The loopholes are different
Generally encounter weak password , Database vulnerability attack , Database permissions will be affected , Website permission , Content integrity
① Common methods for identifying database types
asp+Access/Mssql
php+Mysql port :3306
Aspx+Mssql port :1433
Jsp+Mssql/oracle port :1521
Python+mongodb port :27017
Common database port numbers
mysql The default port is 3306
sqlserver The default port number is :1433
oracle The default port number is :1521
PostgreSQL The default port number is :5432
DB2 The default port number is :5000
Non relational database :
MongoDB The default port number is :27017
Redis The default port number is :6379
memcached The default port number is :11211
This is through nmap Wait for software to scan ports
I opened a port when scanning , It hasn't been opened yet
Third party level
Multi level judgment : Port scanning + Application type analysis, etc
After identifying the third-party platform and version , It can be exploited according to the vulnerabilities of the latest relevant version that has been released on the Internet , If not patched , Will be successful
Port scan tool :
nmap Official website :
https://nmap.org/
masnmapscan:
https://github.com/hellogoldsnakeman/masnmapscan-V1.0
边栏推荐
- Analysis of gas fee setting under eip1559
- Interval product of zhinai sauce (prefix product + inverse element)
- Recommendation of books related to strong foundation program mathematics
- The 29th day of force deduction (DP topic)
- SQL injection - Fundamentals of SQL database operation
- Use of CMD command
- MySQL dump - exclude some table data - MySQL dump - exclude some table data
- How to modify the network IP addresses of mobile phones and computers?
- App compliance
- Global and Chinese market of speed limiter 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢
How to choose cache read / write strategies in different business scenarios?
强化學習-學習筆記1 | 基礎概念
强基计划 数学相关书籍 推荐
In 2021, the global revenue of syphilis rapid detection kits was about US $608.1 million, and it is expected to reach US $712.9 million in 2028
"Actbert" Baidu & Sydney University of technology proposed actbert to learn the global and local video text representation, which is effective in five video text tasks
MySQL master-slave synchronization principle
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of rotary tablet presses in the global market in 2022
Based on laravel 5.5\5.6\5 X solution to the failure of installing laravel ide helper
《ActBERT》百度&悉尼科技大学提出ActBERT,学习全局局部视频文本表示,在五个视频-文本任务中有效!...
AI enhanced safety monitoring project [with detailed code]
随机推荐
App compliance
Kubernetes 通信异常网络故障 解决思路
上周内容回顾
For in, foreach, for of
Operate BOM objects (key)
Do you really know how old you are?
Global and Chinese markets of polyimide tubes for electronics 2022-2028: Research Report on technology, participants, trends, market size and share
Node MySQL serialize cannot rollback transactions
Sort out several network request methods of JS -- get rid of callback hell
强基计划 数学相关书籍 推荐
运维各常用命令总结
In 2021, the global revenue of syphilis rapid detection kits was about US $608.1 million, and it is expected to reach US $712.9 million in 2028
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
JS three families
QT6 QML book/qt quick 3d/ Basics
强化學習-學習筆記1 | 基礎概念
Global and Chinese markets of cast iron diaphragm valves 2022-2028: Research Report on technology, participants, trends, market size and share
Test changes in Devops mode -- learning and thinking
2.7 format output of values
[Yugong series] go teaching course 002 go language environment installation in July 2022