Recently I noticed while using weevely; that sockshandler does not exist in pysocks in Kali 2.0
Code:
# weevely http://[REDACTED]/backdoor.txt%00 password
Traceback (most recent call last):
File "./weevely.py", line 98, in <module>
main(arguments)
File "./weevely.py", line 48, in main
modules.load_modules(session)
File "/usr/share/weevely/core/modules.py", line 24, in load_modules
(module_group, module_name), fromlist=["*"]
File "/usr/share/weevely/modules/shell/php.py", line 4, in <module>
from core.channels.channel import Channel
File "/usr/share/weevely/core/channels/channel.py", line 8, in <module>
import sockshandler
ImportError: No module named sockshandler
it seems the latest pysocks release didn't include the sockahandler backward-compat file:: => https://github.com/Anorov/PySocks
This means weevely is broken in Kali 2.0 until a fix is provided, possibly other tools could be impacted; provided they require the sockshandler module.