hping wiki

Differences for page Hping2 Win32 Version

Current version compared with version Fri Sep 02 22:04:08 GMT 2005

...
  The source for the Win32 Version and the .exe for the [Win32] version are attached to this page. 
  To run, [WinPCap] and [Cygwin]1.dll are also necessary.  They can be downloaded at their respective sites. 
- 
- 
  ----
- ===hping2-rc2 native Win32 version===
+ ===hping2-rc2 native Win32 version===-->kacke
  
  Hope I'm not intruding, but I figured I ought to post this here.  I've been working on a native Windows version of hping (doesn't require Cygwin), and this can be found at the bottom of this page {hping2-rc3-win32.zip}.  
  
...
  
  (DF) Sry, Who use Hping2 in Windown XP can post here some example ? I can't use it on my computer
  
- {Smartoez 2nd sep 2005} When I run Hping2 in windows sp2 with winpcap and cygwin installed, it gives the error: [pcap_get_if_name] failed, and error: [main] no such devices.
  
- {Smartoez 2nd sep 2005} When I run Hping2 in windows sp2 with winpcap and cygwin installed, it gives the error: [pcap_get_if_name] failed, and error: [main] no such devices.+ {Smartoez 2nd sep 2005} When I run Hping2 in windows sp2 with winpcap and cygwin installed, it gives the error: [pcap_get_if_name] failed, and error: [main] no such devices. Can anybody help me in this aspect please.
+ 
+ xaros2000(Reply to Smartoez):I really doubt if HPing is gonna work in XP SP2,as Microsoft removed raw socket support in this platform.Try XP SP 1.As for the [pcap_get_if_name] error you're getting,use WinPcap 3.1-Beta 4:the latest 3.1 final broke compatibility with older binaries not only of HPing,but also with many other tools.
+ 
+ {Newbie 5th Oct 2005}: I downloaded latest hping, latest WinPcap (3.1), and even patched the EventID 4226 thing (patched tcpip.sys). With my WinXP SP2 & Windows Firewall/Internet Connection Sharing (ICS) Stopped/Disabled, I still CANNOT send TCP packets and get *[send_ip] sendto: 10004* message. What else can I do please? I really need help and want to have my WinXP SP2 machine working......
+ 
+ {k!} whats the difference between the .zip file an the .exe file at the bottom of this page. i assume, that the .zip file can run without cygwin1.dll - is it right? nevertheless i am not able to run any of those programms on winxp sp2 - so if anybody knows how to avoid "sendto: 10004" or "sendto: No Error" (funny message by the way, because there is no NO Error) PLEASE let me know!!! thx ... bye
+ 
+ {Reply to k!, 12th Oct 2005}: WinXP SP2 isn't friendly to Hping (Read Newbie's post on 10/5/05). I needed to grab an old WinXP SP1 (WinXP w/o SP, or W2k should also work) and install to the 2nd partition of my HDD, then it worked with Hping this time.
+ 
+ {SPSS, 28th Oct 2005}: I don't get any response from the target with hping2 for whatever i do. It is behaving like it should behave in quiet mode with option -Q. 
+ 
+ {\[21st Dec 2005\] \<definate\>} You should get a SourceForge account. Excellent work. Can't wait until it rivals the nix version.
+ ----
+ {\[29th May 2006\] \<secureideas\>} We think we have fixed hping2 to use with SP2.  We have uploaded the program below as hping2.win32.tar.gz.  As soon as someone removes the older versions we will also upload the exe by itself.  Winzip will open the tar.gz file.  
+ 
+ The upload function is not working.  Will see who can fix that.
+ 
+ 
+ {\[31th May 2006\] \<braymond\>} Thanks for updating it to support SP2. If you don't mind could you post it somewhere until the upload function is addressed? If you don't have any place to post it I can offer my site at http://www.attemptatsanity.com
+ 
+ {\[14th June 2006\] \<leoneri\>} Hello, is the fixed ver. for SP2 already uploaded to braymond's site? I check http://www.attemptatsanity.com and didn't found any.. or maybe I missed it somewhere... thx.
+ 
+ {\[20th June 2006\] \<zipk0der\>} I have repackaged the executable with the dlls needed from winpcap, in case you don't want to install that (Packet.dll, wpcap.dll, & WanPacket.dll), and uploaded it all to my website here: http://www.pandora-security.com/forum/viewtopic.php?p=5212#5212
+ Let me know what you think.
+ 
+ {\[23rd 2006\] \<secureideas\>} We have put the fixed version onto a sourceforge site.  It is available at http://sourceforge.net/projects/sectools
+ It is available as a download and within the CVS system there.  Feel free to submit bugs or comments on that site.
+ 
+ {\[24th June 2006\] \<zipk0der\>} I've updated my mirrored package accordingly. A thank you to the developers for making this tool available to Windows users. Find it here: http://www.pandora-security.com/forum/viewtopic.php?p=5212#5212
+ 
+ {\[30th June 2006\] \<Tim\>} I read -help and still can't get it run. Can somebody post some examples? thx
+ 
+ {\[27th July 2006\] \<unknown\>} I get this when I run it on Windows 2000 (route_get()). Any idea???
+ 
+ {\[26/09/2006\] \<maxmon\>} I get the same problem »route_get()«. I run WinXP SP2 (build 2600.xpsp_sp2_gdr.050301-1519) Wireshark (version 0.99.3) and WinPcap (version 3.1.0.27). Any idea? Anyone who can reproduce the problem? thx!
+ 
+ (\[01/07/2006] I'm using the latest version downloaded of SourceForge, and I have SP2 installed. Hping say me: [main] no such devide. Anyone can help me?
+ 
+ jserink2004@yahoo.com Hi All. Just to let you know, I downloaded the hping2.win32.tar.gz file and the Win32 binary did not work on my local subnet, I keep getting the route_get() errors. I think downloaded the hping2-rc3.win32.zip file at the bottom of this page and the binary in that one works fine. I'm on XP Pro, SP2, Windoze FW off. Note that both Binaries list out like this:
+ F:\downloads\SoftwareandManuals\SecurityTesting\Hping>hping --version
+ hping version 2.0.0-rc3 (Mon May  3 10:56:19 CEST 2004)
+ libpcap based binary
+ 
+ So I'm not sure what the difference is between the two except that the one from the zip file below works, the other one does not. :) John
+ 
+ james.v.fields@gmail.com - There is a new version of Hping2 for Win32 being uploaded shortly to the sourceforge site (project name: sectools).  It contains fixes missing from our last release that should help with some of the remaining problems, specifically the route_get() errors and the continued send_ip errors when going up against hosts in the local subnet.  It does NOT attempt to add functionality or fix things that never worked in the Win32 release, i.e. the --force-icmp function has not ever worked in the Windows release and still doesn't. 
+ 
+ {\[17/02/2008\] \<maxx\>} hi, same problem:
+ with common verion (2): route_get()route_get() ...
+ 
+ with rc3 version: HPING \[...\] NO FLAGS are set, 40 headers + 0 data bytes
+ 
+ \[send_ip\] sendto: 10004
+ 
+ BUT: there are no packets on the other side of the LAN (captured with tcpdump)
+ 
+ solutions??
+ 
+ {\[09/03/2008\] \<paul\>} 
+ Hi! I see only one MD5 reference on this page:
+ "`{warwick 27sept2004:} md5 of hping2.1-rc2-win32.zip as of this date is: d8dc42f9a03d578b27d08076cbfd89da`" 
+ However, when I DL the above file, I get a different checksum (e679e74b0f940c7d675cde856c65070b). I tried downloading twice, with the same results.
+ I see above a reference to sectools on SourceForge; should I be downloading that instead? (no sign of an MD5 there, either, btw). Looks like there has been no further development on this for a while... Any plans to port version 3?

The following is the old page content