Closed infodox closed 11 years ago
@enum seems to cause crash with "os" also.
www-data@192.168.1.52:~(/var/www):$ @enum os
Traceback (most recent call last):
File "./webhandler.py", line 81, in
The issue was in the indexing, I've used iter() instead of slicing the list. If you faced issues similar to this one, please report it. Thanks @infodox
See stacktrace
""" www-data@192.168.1.52:~(/var/www):$ @enum network Traceback (most recent call last): File "./webhandler.py", line 81, in
commander.BackConnect() # Call BackConnect method to handle input
File "/home/infodox/tools/webhandler/core/libs/executer.py", line 67, in BackConnect
self.commandscommand_list[0]
File "/home/infodox/tools/webhandler/core/libs/executer.py", line 216, in enum
enumerate.ip()
File "/home/infodox/tools/webhandler/modules/enumerate.py", line 128, in ip
output += '[+] DHCP?: {0}'.format(ip[4])
IndexError: list index out of range
"""
Hopefully github doesnt fuck that up... If it does, heres the pastebin: http://pastebin.com/zh3K1iap
Only most recent git (post addition of TOR) causes this crash, worked fine yesterday against the same target (a VM on my LAN).