sqlmap语法工作期间不要问任何问题

sqlmap syntax don't ask any question during work

我正在使用 python 执行另一种 sqlmap 语法并获得响应并将其记录在一个文件中,但是在 sqlmap 运行 期间问了很多关于参数的问题或...但只有我需要简单并快速回答我的 url 是否有任何漏洞,如果有,请给我报告...

我使用这样的语法:

sqlmap -u "url string"

上层语法在扫描过程中询问了很多关于细节的问题,但我需要没有问题的简单报告...

你知道任何标志语法或任何检查它而不问任何问题的测试吗?

--answers="follow=Y" --batch

来自 SQLmap wiki:

Act in non-interactive mode Switch: --batch

If you want sqlmap to run as a batch tool, without any user's interaction when sqlmap requires it, you can force that by using switch --batch. This will leave sqlmap to go with a default behaviour whenever user's input would be required.

Set answers for questions Option: --answers

In case that user wants to automatically set up answers for questions, even if --batch is used, using this option he can do it by providing any part of question together with answer after an equal sign. Also, answers for different question can be split with delimiter character ,.

您可以使用 --batch 标志。这肯定会自动执行该过程。但是,如果您需要在某些时候对其进行调整,这将以攻击效率为代价。