Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

Nessus 批量导出扫描报告

wpadmin~August 1, 2018 /InfoSec

Nessus 批量导出扫描报告

Contents

其他参考资料

https://community.tenable.com/s/question/0D5f200004rM163CAC/export-all-scan-reports

Shell

http://www.blackhat.org/2012/06/download-all-nessus-reports-at-command.html

token="$(/opt/local/bin/wget --no-check-certificate --post-data 'login=userIDn&password=password' https://127.0.0.1:8834/login -O - | grep '<token>' | sed 's/<contents><token>//g' | sed 's/<\/token><user>//g')"

/opt/local/bin/wget --post-data "token=$token" --no-check-certificate https://127.0.0.1:8834/report/list -O - | grep 'name' | sed 's/<name>//g' | sed 's/<\/name>//g' > reports

for i in $(cat reports); do /opt/local/bin/wget --post-data "token=$token&report=$i" --no-check-certificate https://127.0.0.1:8834/file/report/download -O - > $i.nessus; done;

XMLRPC

http://blog.michaelboman.org/2011/02/importing-and-exporting-nessus-reports.html

Nessus_Getter

https://bitbucket.org/asecurityteam/nessus_getter/overview
https://bitbucket.org/danbourke/nessus_api_wrapper/src
https://bitbucket.org/danbourke/nessus_getter

Leave a Reply

Your email address will not be published. Required fields are marked *