Sqlmap中文使用手册 - Optimization模块参数使用

目录

  • [1. Optimization模块的帮助文档](#1. Optimization模块的帮助文档)
  • [2. 各个参数的介绍](#2. 各个参数的介绍)
    • [2.1 --predict-output](#2.1 --predict-output)
    • [2.2 --keep-alive](#2.2 --keep-alive)
    • [2.3 --null-connection](#2.3 --null-connection)
    • [2.4 --threads=THREADS](#2.4 --threads=THREADS)
    • [2.5 -o](#2.5 -o)

1. Optimization模块的帮助文档

bash 复制代码
  Optimization:
    These options can be used to optimize the performance of sqlmap

    -o                  Turn on all optimization switches
    --predict-output    Predict common queries output
    --keep-alive        Use persistent HTTP(s) connections
    --null-connection   Retrieve page length without actual HTTP response body
    --threads=THREADS   Max number of concurrent HTTP(s) requests (default 1)

2. 各个参数的介绍

2.1 --predict-output

参数:--predict-output

作用:Predict common queries output。预测输出。此参数用于推理算法顺序检索的值的字符统计预测,预测常见的查询输出。此开关与 --threads 开关不兼容。

2.2 --keep-alive

参数:--keep-alive

作用:Use persistent HTTP(s) connections。HTTP长连接。此开关可以让sqlmap使用HTTP(S)持久连接。此开关与 --proxy 开关不兼容。

2.3 --null-connection

参数:--null-connection

作用:Retrieve page length without actual HTTP response body。HTTP空连接。一些特殊的HTTP请求类型可以用于检索HTTP响应的大小,而不需要获取HTTP主体,这种情况可以在盲注检测中被用来区分true和false。使用此开关参数时,sqlmap将尝试测试并利用两种不同的NULL连接技术:Range和Head,如果目标服务器支持其中任何一项,则将明显节省使用的带宽。此开关与 --text-only 开关不兼容。

2.4 --threads=THREADS

参数:--threads=THREADS

作用:Max number of concurrent HTTP(s) requests (default 1)。HTTP并发。可以指定sqlmap执行的并发HTTP(S)请求的最大数量,类似于多线程的原理。处于性能和站点可靠性的原因,并发请求数最大设置为10。此参数与 -- predict-output 开关不兼容

2.5 -o

参数:-o

作用:Turn on all optimization switches。一键优化。开关参数。打开此开关时,会自动打开:--keep-alive,--null-connection,--threads=3(如果没有设置为更高的值)。

相关推荐
望获linux5 分钟前
【实时Linux实战系列】实时 Linux 的自动化基准测试框架
java·大数据·linux·运维·网络·elasticsearch·搜索引擎
纸带28 分钟前
USB --SETUP --STATUS阶段
linux·服务器·网络
---学无止境---1 小时前
Linux中初始化空循环次数和pid位图初始化
linux
东城绝神2 小时前
《Linux运维总结:基于X86_64+ARM64架构CPU使用docker-compose一键离线部署consul 1.21.5容器版集群》
linux·运维·docker·架构·consul
ajassi20002 小时前
开源 Linux 服务器与中间件(三)服务器--Nginx
linux·服务器·开源
wheeldown2 小时前
【Linux】Linux进程间通信:命名管道(FIFO)的模拟实现重要知识点梳理
linux·运维·服务器
Crazy________2 小时前
34部署LNMP架构详细解析
linux·运维·服务器·nginx
tan180°2 小时前
Linux网络HTTP(上)(7)
linux·网络·http
小醉你真好3 小时前
17、Centos9 安装 1Panel
linux·docker·运维开发
九皇叔叔3 小时前
Linux Shell 正则表达式:从入门到实战,玩转文本匹配与处理
linux·mysql·正则表达式