This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
searchsploit informational messages should be sent to stderr #131
Closed
Description
When running searchsploit against nmap output the json output is not really useful / usable because it is mixed in with info messages below even with redirect to 2>/dev/null
.
▶ searchsploit --nmap portscan.xml --json 2>/dev/null | egrep '^\[i\]'
[i] SearchSploit's XML mode (without verbose enabled). To enable: searchsploit -v --xml...
[i] Reading: 'portscan.xml'
Would be nice if you could pipe the output to jq
or redirect to json file etc.
Activity
gcmurphy commentedon Apr 2, 2019
fwiw a workaround is:
g0tmi1k commentedon Apr 3, 2019
Solution is in place now.
Please update and try again!