Fixed a bug that would error SET out in qrcode generation if the reports directory was not found.

This commit is contained in:
trustedsec 2013-01-25 09:58:39 -05:00
parent 568ea9385a
commit e1c52ca0d5
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,7 @@ version 4.4.1
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
* Recompiled Java Applet to include netsh advfirewall set global StatefulFTP disable upon detection of windows operating systems (windows 7/8 specifically). This will only work if user has administrator level priv but does not trigger UAC prompt. If this is set to enabled, Metasploit payloads will directly fail on port 21. * Recompiled Java Applet to include netsh advfirewall set global StatefulFTP disable upon detection of windows operating systems (windows 7/8 specifically). This will only work if user has administrator level priv but does not trigger UAC prompt. If this is set to enabled, Metasploit payloads will directly fail on port 21.
* Fixed a bug when the reports directory would not be created within qrcode generation
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
version 4.4 version 4.4

View file

@ -1001,6 +1001,9 @@ deploy the QRCode to your victim. For example, generate a QRCode of the SET Java
and send the QRCode via a mailer. and send the QRCode via a mailer.
""" """
url = raw_input("Enter the URL you want the QRCode to go to: ") url = raw_input("Enter the URL you want the QRCode to go to: ")
# if the reports directory does not exist then create it
if not os.path.isdir("%s/reports" % (definepath)):
os.makedirs("%s/reports" % (definepath))
gen_qrcode(url) gen_qrcode(url)
pause = raw_input("QRCode generated.") pause = raw_input("QRCode generated.")
return_continue() return_continue()