SafeBreach-Labs/pwndsh

No check for /dev/tcp

Opened this issue · 1 comments

There is no check if /dev/tcp is present before executing. When over_socket is used on Metasploit 2, an error is raised stating

-bash: /dev/tcp/<IP>/<PORT>: No such file or directory

When using pwndsh on an internal system which is not connected to internet, this error reduces the beauty of the tool.

Such errors can be resolved by recompiling / installing bash with ./configure --enable-net-redirections