Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Obtain the latest vulnerability information of the vulnerability platform through keywords

Shulou Source: shulou.com Published: 2022-06-01 08:04:01 10月03日 Update

It is necessary to find vulnerability information every day to determine whether any new vulnerabilities have been found in the architecture and application services, and if so, repair and upgrade them. So write a leak library platform to generate log files through keyword crawling data, these three platforms, the address of the national information security leak database will time out from time to time. If there is a timeout, you can try two more times. The loopholes retrieved by the three platforms are similar, but they are not well written, and are for reference only.

Python version of 3.7pip can install requests # coding=utf-8import requests as rimport reimport timeimport datetime# crawls the national information security vulnerability platform class gjxxaqpt: def get_404 (self,url,keyword): # defines the word for qcvCname retrieval of submitted data The number of pageno pages is usually the first page data= {"qcvCname": keyword, "pageno": 1} # post data result = r.post (url,data=data). Text # regular matching information filter_result = re.findall ('

Tags: Vulnerabilities information time data country address search security security vulnerabilities Chinese keys arrays formats results United States keywords platform information base files introduction Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info Huawei Shulou Technology macOS