diff --git a/readme/CHANGES b/readme/CHANGES index c493fe19a..2b1fcbec1 100644 --- a/readme/CHANGES +++ b/readme/CHANGES @@ -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. +* Fixed a bug when the reports directory would not be created within qrcode generation ~~~~~~~~~~~~~~~~ version 4.4 diff --git a/src/core/set.py b/src/core/set.py index 28f336902..867c4a67a 100755 --- a/src/core/set.py +++ b/src/core/set.py @@ -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. """ 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) pause = raw_input("QRCode generated.") return_continue()