We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd3925 commit 00451d1Copy full SHA for 00451d1
searchsploit.py
@@ -630,7 +630,8 @@ def examine(id):
630
print("%s does not exist. Please double check that this is the correct id." % id)
631
return
632
if exploit[1].split(".")[1] == "pdf":
633
- os.system("firefox file:///" + path_array[ind] + "/" + exploit[1])
+ import webbrowser
634
+ webbrowser.open("file:///" + path_array[ind] + "/" + exploit[1], autoraise=True)
635
elif(os.sys.platform == "win32"):
636
os.system("notepad " + path_array[ind] + "/" + exploit[1])
637
else:
0 commit comments