def ms_payload(payload):
 return {'1': 'windows/shell_reverse_tcp', '2': 'windows/meterpreter/reverse_tcp', '3': 'windows/vncinject/reverse_tcp', '4': 'windows/x64/shell_reverse_tcp', '5': 'windows/x64/meterpreter/reverse_tcp', '6': 'windows/meterpreter/reverse_tcp_allports', '7': 'windows/meterpreter/reverse_https', '8': 'windows/meterpreter/reverse_tcp_dns', '9': 'windows/download_exec'}.get(payload, 'ERROR')

def ms_payload ( payload ) : return { '1' : 'windows/shell_reverse_tcp' , '2' : 'windows/meterpreter/reverse_tcp' , '3' : 'windows/vncinject/reverse_tcp' , '4' : 'windows/x64/shell_reverse_tcp' , '5' : 'windows/x64/meterpreter/reverse_tcp' , '6' : 'windows/meterpreter/reverse_tcp_allports' , '7' : 'windows/meterpreter/reverse_https' , '8' : 'windows/meterpreter/reverse_tcp_dns' , '9' : 'windows/download_exec' } . get ( payload , 'ERROR' )
receives the input given by the user from create_payload .