Skip to content
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

[Feature Request] Add Shell Upgrade for Linux Payloads #112

Open
Thy-GoD opened this issue Jun 8, 2023 · 8 comments
Open

[Feature Request] Add Shell Upgrade for Linux Payloads #112

Thy-GoD opened this issue Jun 8, 2023 · 8 comments

Comments

@Thy-GoD
Copy link

Thy-GoD commented Jun 8, 2023

I've discovered that the Linux Rev Shells aren't capable of being upgraded to a full shell, so things like sudo -l and tab completion don't work.

Ctrl + Z and trying the shell upgrade like usual doesn't work either.

Unless i'm missing something, are there plans to include this feature?

@t3l3machus t3l3machus changed the title Add Shell Upgrade for Linux Payloads [Feature Request] Add Shell Upgrade for Linux Payloads Jun 8, 2023
@t3l3machus
Copy link
Owner

Not like in the top priority list, but yeah, definitely!

@Thy-GoD
Copy link
Author

Thy-GoD commented Jun 9, 2023

Not like in the top priority list, but yeah, definitely!

Thanks for the reply, and no worries in priority, I really like this tool's idea!

@DocMors
Copy link

DocMors commented Dec 14, 2023

In the python shell this works very well. check https://pastebin.com/kb3a4SGx

@Thy-GoD
Copy link
Author

Thy-GoD commented Dec 14, 2023

In the python shell this works very well. check https://pastebin.com/kb3a4SGx

seems like a priv escalation and not an actual dumb shell upgrade.

@Mag1cByt3s
Copy link

I am having the same issue.

Trying to run interactive tools on linux machines fails because the shell is not a full PTY.

@Thy-GoD
Copy link
Author

Thy-GoD commented Mar 15, 2024

I am having the same issue.

Trying to run interactive tools on linux machines fails because the shell is not a full PTY.

Yeah unfortunately you'd have to get another shell, i dont actually use villain anymore due to this exact issue, I only ever use it for windows machines to generate payloads for me.

@Mag1cByt3s
Copy link

I am having the same issue.
Trying to run interactive tools on linux machines fails because the shell is not a full PTY.

Yeah unfortunately you'd have to get another shell, i dont actually use villain anymore due to this exact issue, I only ever use it for windows machines to generate payloads for me.

May I ask what C2 you ended up using now?

@Thy-GoD
Copy link
Author

Thy-GoD commented Mar 16, 2024

I am having the same issue.
Trying to run interactive tools on linux machines fails because the shell is not a full PTY.

Yeah unfortunately you'd have to get another shell, i dont actually use villain anymore due to this exact issue, I only ever use it for windows machines to generate payloads for me.

May I ask what C2 you ended up using now?

I don't use any C2, if i were to use one i'd probs use msfconsole.

I havn't gotten to try C2s like cobalt strike or empire yet, but msfconsole is probs the closest one i'd use.

If you ever find alternative to villain for this purpose, it'd help alot.

Also i believe it should be possible to recycle my tmux shell idea in here but that'd just be extra steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants