15
15
| | | | | | | | __/ (_| | |_ | | | | (_| | (_| __/ |
16
16
|_| |_| |_|_| \___|\__,_|\__||_|_| \__,_|\___\___|_| Version 2.1
17
17
A Script to identify CVE and public exploits using CPE by name & version
18
+ -+ Hunt for 0Days and unpublished exploits +-
18
19
Credit: @FR13ND0x7F @0xCaretaker @meppohak5
19
20
"""
20
21
@@ -130,7 +131,7 @@ def search_and_extract_download_links(product_name):
130
131
download_links .append (f"https://packetstormsecurity.com{ href } " )
131
132
132
133
if not download_links :
133
- print (colored ("No download links found on Packet Storm Security." , "red " , attrs = ["underline" ]))
134
+ print (colored ("No download links found on Packet Storm Security." , "green " , attrs = ["underline" ]))
134
135
return None
135
136
136
137
return download_links
@@ -147,7 +148,7 @@ def search_marc_info(search_term):
147
148
148
149
# Check if the response contains "No hits found for"
149
150
if "No hits found for" in soup .get_text ():
150
- print (colored ("No possible exploits found on Marc.Info. " , "yellow " , attrs = ["underline" ]))
151
+ print (colored ("No matching exploits found. " , "red " , attrs = ["underline" ]))
151
152
else :
152
153
# Find all <a> tags within <pre> tags, excluding those with "full-disc" in the text
153
154
post_links = soup .find ('pre' ).find_all ('a' , string = lambda text : "full-disc" not in text )
@@ -161,9 +162,9 @@ def search_marc_info(search_term):
161
162
results .append ({"Name" : name , "Link" : link_url })
162
163
return results
163
164
else :
164
- print (colored ("No matching results found on Marc.Info. " , "yellow " ))
165
+ print (colored ("No matching exploits found. " , "green " ))
165
166
else :
166
- print (colored ("Failed to retrieve the web page from Marc.Info ." , "red" ))
167
+ print (colored ("Failed to retrieve the web page." , "red" ))
167
168
print (f"Status code: { response .status_code } " )
168
169
return None
169
170
0 commit comments