Bash wget从virustotal检索搜索结果

Bash wget从virustotal检索搜索结果,bash,curl,wget,Bash,Curl,Wget,我试图从virustotal检索勒索软件关键字的搜索结果,我试图使用以下代码: wget "https://www.virustotal.com/#/search/ransomware" -O output.txt 但是,我没有得到结果输出。我希望至少得到每个结果样本的哈希值,我计划稍后使用它们 有什么建议吗?您可以使用curl或wget来执行此操作 使用卷曲 curl 'https://www.virustotal.com/ui/search?query=ransomware&re

我试图从virustotal检索勒索软件关键字的搜索结果,我试图使用以下代码:

 wget "https://www.virustotal.com/#/search/ransomware" -O output.txt
但是,我没有得到结果输出。我希望至少得到每个结果样本的哈希值,我计划稍后使用它们


有什么建议吗?

您可以使用curl或wget来执行此操作

使用卷曲

curl 'https://www.virustotal.com/ui/search?query=ransomware&relationships\[url\]=network_location%2Clast_serving_ip_address&relationships\[comment\]=author%2Citem' -H 'pragma: no-cache' -H 'cookie: _ga=GA1.2.1407677727.1526818525; _gid=GA1.2.163855722.1526818525; _gat=1' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.9' -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36' -H 'accept: application/json' -H 'cache-control: no-cache' -H 'authority: www.virustotal.com' -H 'referer: https://www.virustotal.com/' --compressed
使用wget

wget 'https://www.virustotal.com/ui/search?query=ransomware&relationships\[url\]=network_location%2Clast_serving_ip_address&relationships\[comment\]=author%2Citem' -O output.txt

谢谢但这并不是提取所有结果,而是有更多选项卡加载更多结果。不确定是否可以使用curl或wgetit加载所有其他选项卡,但这些将是不同的请求。但这是否至少给了您一些问题中的wget请求无法获得的数据?确实如此,但不是所有结果是的,您可以这样做,如果您看到对第一个请求的响应,它具有加载更多结果的链接。您必须捕获并触发后续请求以加载更多结果。如果这有助于您解决问题,请接受此答案并投票表决