We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5aeb35 commit fbacb63Copy full SHA for fbacb63
sender.py
@@ -72,7 +72,7 @@ def main():
72
choice = raw_input('Choose a payload to send: ')
73
try:
74
choice = int(choice)
75
- except ValueError:
+ except (ValueError, NameError):
76
choice = 0
77
with open(os.path.join(CWD, 'payloads', payloads[choice-1]), 'rb') as f:
78
print('>> Sending {}...'.format(payloads[choice-1]))
0 commit comments