New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Linux Machine ] Session status gets in "undefined" state after closing the terminal in victim machine where the payload was executed #61
Comments
Also happening on Windows, payload runs correctly, session gets generated but then the powershell instance quits and the session sits on "Undefined" and no commands work |
have you tried turning off real time protection in firewall settings? |
I can confirm this behaviour |
The shells you can grab with Villain at the moment are not fully functional ptys. If you run commands that start interactive sessions (e.g., nano, cat > file.txt, sh/zsh/bash, vim) your shell will hang. The commands you issue must always return. Maybe its because of that? |
Probably yes, how about creating a service? And running it as a service? That would also mean that it will stay hidden from htop. |
No that is understandable, but here sessions were the main concern as they get into undefined state after closing the terminal where the payload is executed! let me try to explain it with an example. I generated a payload for Windows and executed that payload in the Powershell but now when I close that instance of PowerShell the session status changes to undefined state and that specific session is not usable any further I hope this example helps you get an idea of what i was talking about initially!! |
I am not sure if it's only me or if others encountered this issue as well.
The text was updated successfully, but these errors were encountered: