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 00451d1 commit 0756058Copy full SHA for 0756058
searchsploit.py
@@ -629,7 +629,7 @@ def examine(id):
629
except TypeError:
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":
+ if exploit[1].endswith(".pdf"):
633
import webbrowser
634
webbrowser.open("file:///" + path_array[ind] + "/" + exploit[1], autoraise=True)
635
elif(os.sys.platform == "win32"):
0 commit comments