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

Added fully interactive reverse shell ps1 #79

Merged
merged 1 commit into from
Feb 24, 2020
Merged

Added fully interactive reverse shell ps1 #79

merged 1 commit into from
Feb 24, 2020

Conversation

antonioCoco
Copy link
Contributor

No description provided.

@samratashok
Copy link
Owner

Thanks a lot! Let me this!

@samratashok
Copy link
Owner

Could you please tell me what is the expected listener for the reverse shell? I am getting weird output when using powercat as listener.

@antonioCoco
Copy link
Contributor Author

It's needed any tcp listener, ie netcat with raw tty type, for example with netcat:

stty size
nc -lvnp 3001
Wait For connection
ctrl+z
stty raw -echo
fg[ENTER]

Or you can do it with a oneliner:

stty raw -echo; (stty size; cat) | nc -lvnp 3001

Just remember to align rows and cols size between the remote and local console or you won't have aligned output.

@samratashok
Copy link
Owner

Sweet! Thanks! My bad, jumped directly to the code didn't read comments.

@samratashok samratashok merged commit eb25ca3 into samratashok:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants