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(如果没有设置为更高的值)。

相关推荐
Johny_Zhao2 小时前
OpenClaw安装部署教程
linux·人工智能·ai·云计算·系统运维·openclaw
chlk1232 天前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
舒一笑2 天前
Ubuntu系统安装CodeX出现问题
linux·后端
改一下配置文件2 天前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
深紫色的三北六号2 天前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash2 天前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
哈基咪怎么可能是AI3 天前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行3 天前
Linux和window共享文件夹
linux
木心月转码ing4 天前
WSL+Cpp开发环境配置
linux
崔小汤呀5 天前
最全的docker安装笔记,包含CentOS和Ubuntu
linux·后端