knife icon indicating copy to clipboard operation
knife copied to clipboard

Linux下启动nmap、sqlmap命令问题

Open cnlnn opened this issue 2 years ago • 2 comments

系统:Arch Linux 内核:6.1.12-arch1-1 桌面:KDE Plasma 5.27.0 终端:konsole 测试工具:Burp Suite Professional v2023.1.2


情况1

使用如下配置时

Key Value Type Enable
SQLMap-Command /usr/bin/konsole --hold -e /bin/sh -c "python sqlmap.py -r {request.txt} --force-ssl --risk=3 --level=3" Config_Basic_Variable true
Nmap-Command /usr/bin/konsole --hold -e /bin/sh -c "nmap -Pn -sT -sV --min-rtt-timeout 1ms --max-rtt-timeout 1000ms --max-retries 0 --max-scan-delay 0 --min-rate 3000 {host}" Config_Basic_Variable true
RunTerminalWithRobotInput Config_Basic_Variable false

右键运行启动nmap、sqlmap命令时可弹出konsole终端,但需要关闭终端后BurpSuite才能进行操作


情况2

使用如下配置时

Key Value Type Enable
SQLMap-Command /usr/bin/konsole --hold -e /bin/sh -c "python sqlmap.py -r {request.txt} --force-ssl --risk=3 --level=3" Config_Basic_Variable true
Nmap-Command /usr/bin/konsole --hold -e /bin/sh -c "nmap -Pn -sT -sV --min-rtt-timeout 1ms --max-rtt-timeout 1000ms --max-retries 0 --max-scan-delay 0 --min-rate 3000 {host}" Config_Basic_Variable true
RunTerminalWithRobotInput Config_Basic_Variable true

Key Value Type Enable
SQLMap-Command python sqlmap.py -r {request.txt} --force-ssl --risk=3 --level=3 Config_Basic_Variable true
Nmap-Command nmap -Pn -sT -sV --min-rtt-timeout 1ms --max-rtt-timeout 1000ms --max-retries 0 --max-scan-delay 0 --min-rate 3000 {host} Config_Basic_Variable true
RunTerminalWithRobotInput Config_Basic_Variable true

右键运行启动nmap、sqlmap命令时无终端打开,未见sqlmap、nmap运行


情况3

使用如下配置时

Key Value Type Enable
SQLMap-Command python sqlmap.py -r {request.txt} --force-ssl --risk=3 --level=3 Config_Basic_Variable true
Nmap-Command nmap -Pn -sT -sV --min-rtt-timeout 1ms --max-rtt-timeout 1000ms --max-retries 0 --max-scan-delay 0 --min-rate 3000 {host} Config_Basic_Variable true
RunTerminalWithRobotInput Config_Basic_Variable false

右键运行启动nmap、sqlmap命令时无终端打开,未见sqlmap、nmap运行,并且会失去响应

cnlnn avatar Feb 20 '23 02:02 cnlnn

感谢反馈,你的问题描述很详细。但我目前没有相同的环境进行测试,暂时无法进行该系统的适配

bit4woo avatar Apr 17 '23 23:04 bit4woo

该action之后的包均已支持 https://github.com/bit4woo/knife/actions/runs/10191640941

coutcin-xw avatar Aug 18 '24 00:08 coutcin-xw