totekuh / reverse-shell-generator

A command-line reverse shell generator
MIT License
2 stars 1 forks source link

Reverse 35 is missing or not working? #1

Closed eduarthysenaj closed 1 year ago

eduarthysenaj commented 1 year ago

get reverse 35 Traceback (most recent call last): File "/usr/local/bin/revshell-generator", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/reverseshellgenerator/generator.py", line 640, in main generator.cmdloop() File "/usr/lib/python3.8/cmd.py", line 138, in cmdloop stop = self.onecmd(line) File "/usr/lib/python3.8/cmd.py", line 217, in onecmd return func(arg) File "/usr/local/lib/python3.8/dist-packages/reverseshellgenerator/generator.py", line 540, in do_get template = self.get_command_by_index(item, index) File "/usr/local/lib/python3.8/dist-packages/reverseshellgenerator/generator.py", line 562, in get_command_by_index return get_item_from_list(reverse_shell_commands, 'command', index) File "/usr/local/lib/python3.8/dist-packages/reverseshellgenerator/generator.py", line 556, in get_item_from_list return command[attribute] KeyError: 'command'

eduarthysenaj commented 1 year ago

Okay so the reverse shell is missing, it appears that you cant just edit the generator.py file and add the reverse shell manually. Make the changes based on the format of the other reverse shells above.

totekuh commented 1 year ago

@eduarthysenaj Fixed in master. Thanks a lot for reporting!