Nmap Development mailing list archives
Re: Error with --iflist, 4.22SOC1 on win32 system (XPsp2)
From: Ionreflex <ionreflex () gmail com>
Date: Fri, 13 Jul 2007 11:34:05 -0400
Gotcha! Well I was still here, so I gave it a try, the command completed perfectly... C:\Program Files\nmap-4.22SOC2>nmap --iflist Starting Nmap 4.22SOC2 ( http://insecure.org ) at 2007-07-13 11:23 Est (heure d' ÚtÚ) ************************INTERFACES************************ DEV (SHORT) IP/MASK TYPE UP MAC eth0 (eth0) (null)/0 ethernet down 54:55:43:44:52:04 eth1 (eth1) (null)/0 ethernet down 00:10:A4:AA:B6:D8 eth2 (eth2) 172.16.0.11/28 ethernet up 00:02:A5:BF:19:A4 lo0 (lo0) 127.0.0.1/8 loopback up DEV WINDEVICE eth0 \Device\NPF_{9413D723-A09D-44B7-AD90-68A24CE59C82} eth1 \Device\NPF_{712EEFC3-2026-4C5F-97B1-3064FEDAFD8F} eth2 \Device\NPF_{3AD27E6D-628E-4C70-B111-FDD6706FDE82} lo0 \Device\NPF_GenericDialupAdapter **************************ROUTES************************** DST/MASK DEV GATEWAY 172.16.255.255/32 eth2 172.16.0.11 255.255.255.255/32 eth2 172.16.0.11 255.255.255.255/32 eth2 172.16.0.11 172.16.0.11/32 lo0 127.0.0.1 255.255.255.255/32 eth2 172.16.0.11 172.16.0.0/4 eth2 172.16.0.11 127.0.0.0/0 lo0 127.0.0.1 224.0.0.0/0 eth2 172.16.0.11 0.0.0.0/0 eth2 172.16.0.1 C:\Program Files\nmap-4.22SOC2> Keep on the good work! Seeya Ion 2007/7/13, Eddie Bell <ejlbell () gmail com>:
On 13/07/07, Ionreflex <ionreflex () gmail com> wrote:I'll see what I can do, but I'm going hiking in the Adirondack tomorrow... I'll do it if I can otherwise I'll do it first thing monday...Have fun hiking while I'm stuck inside hacking on code :p I think I've found the cause. I passed some parameters to a function in the incorrect order. Attached it a patched exe. There is no rush to test it, just give it a try when you have the time thanks - eddie 2007/7/12, Eddie Bell < ejlbell () gmail com>:I had some other things to do today but tomorrow all my attention will be on it! I might send you another patched exe if you'd be so kind as to test it for me. On 12/07/07, Ionreflex <ionreflex () gmail com> wrote:BTW, 4.22SOC2 crash identically... I was pretty sure it would, but now it's confirmed! 2007/7/11, Eddie Bell < ejlbell () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ejlbell () gmail com>: Thanks for the details. Tomorrow I am going to take a deeper look at this and get it fixed On 11/07/07, Ionreflex <ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>> wrote:Sorry about the continuous posting, but maybe this could berelevant : I'mtrying to run nmap on my work laptop, which has 5 networkconnections :MS Loopback adapter (to connect to my coLinux when no outsidenetwork isavailable); Intel PRO/100 VM; Xircom CreditCard Ethernet 10/100 + Modem 56 Parent; Compaq WLAN MultiPort W200 (this one is deactivated, since thelaptop ishardwired to the network); and of course the usual internal loopback ( 127.0.0.1); Just in case, I'll paste the results of the command with4.21ALPHA4 (I thinkI forgot to do so...) : C:\Program Files\nmap- 4.21ALPHA4>nmap --iflist Starting Nmap 4.21ALPHA4 ( http://insecure.org ) at 2007-07-1117:25 Est(heure d'ÚtÚ) ************************INTERFACES************************ DEV (SHORT) IP/MASK TYPE UP MAC eth0 (eth0) (null)/0 ethernet down 54:55:43:44:52:04 eth1 (eth1) (null)/0 ethernet down 00:10:A4:AA:B6:D8 eth2 (eth2) 172.16.0.11/28 ethernet up 00:02:A5:BF:19:A4 lo0 (lo0) 127.0.0.1/8 loopback up **************************ROUTES************************** DST/MASK DEV GATEWAY 172.16.255.255/32 eth2 172.16.0.11 255.255.255.255/32 eth2 172.16.0.11 255.255.255.255/32 eth2 172.16.0.11 172.16.0.11/32 lo0 127.0.0.1 255.255.255.255/32 eth2 172.16.0.11 172.16.0.0/4 eth2 172.16.0.11 127.0.0.0/0 lo0 127.0.0.1 224.0.0.0/0 eth2 172.16.0.11 0.0.0.0/0 eth2 172.16.0.1 C:\Program Files\nmap-4.21ALPHA4> That should be it... I hope! 2007/7/11, Ionreflex < ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>>:BTW, you just gave me a way to dive back in programming : I'mgonna portthe project to MinGW, that should be boiling hot enough!Also, I installed MS Visual Studio Express and tried togenerate nmap fromSVN, but I didn't see any nmap executable in the Debug folder;theBuildLog.htm file says something about a "windows.h" filemissing... I'mgonna check it later, googling it found some links...2007/7/11, Ionreflex < ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>:Nope! 2007/7/11, Eddie Bell < ejlbell () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ejlbell () gmail com>:Damm, back to the drawing board :) One question did thismessageappear last time it crashed? "Assertion failed: row < numRows, file c:\cygwin\home\eddie\nmap-dev\soc07\nmap\n mapoutputtable.cc, line 162" On 11/07/07, Ionreflex < ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>>wrote:Oups, I just gave a try to the executable you sent me,but it didn'twork...C:\Program Files\nmap- 4.22SOC1>nmap --iflist Starting Nmap 4.22SOC1 ( http://insecure.org ) at2007-07-11 10:41Est(heure d' ÚtÚ)************************INTERFACES************************DEV (SHORT) IP/MASK TYPE UP MAC eth0 (eth0) (null)/0 ethernet down54:55:43:44:52:04eth1 (eth1) (null)/0 ethernet down00:10:A4:AA:B6:D8eth2 (eth2) 172.16.0.11/28 ethernet up00:02:A5:BF:19:A4lo0 (lo0) 127.0.0.1/8 loopback up Assertion failed: row < numRows, file c:\cygwin\home\eddie\nmap-dev\soc07\nmap\n mapoutputtable.cc, line 162 I've also attached the image of the popup that occurs... Ion 2007/7/11, Eddie Bell < ejlbell () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ejlbell () gmail com>:hi, Well there are about 101 different ways to do it onwindows. Theeasiest is probably with visual studio express, youcan get ithere( http://msdn.microsoft.com/vstudio/express/ ).Once itsinstalled allyou have to do is open the visual studio project filewhich islocatedin mswin32 (in the nmap svn directory) Then click the build command, once it has finished thenmap binaryshould be in mswin32\Debug\nmap.exe :) I know it can be hard to get into development.Probably theeasiestand least time consuming way is to start of with anNSEscript. I'm lucky that I have the free time andoccasionally getpaidfor working on nmap. Then again you have a daughterand I guess awifeso have priorities else where! I've attached the patched exe. You'll have to unzip itand renametheextension to .exe (gmail doesn't let you sens fileswith exeextensions) cheers - eddie On 11/07/07, Ionreflex < ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>>wrote:Hey Eddie, As a professional procrastinator, I've justinstalledTortoiseSVN anddid acheckout of the Nmap repository... Yeah, it worked!But I don'thave anycompiler available, my programmer years are lostmore than adecadeago... Iwould really like to do it, but it would take timeif I do italone...so wehave 2 choices : you could help me with insights onthefollowing stepstoset it up properly, or as you offered sending me apatched nmapexecutable... I would prefer the first choice, but I know it couldbedifficult onyourside, most of it being the time factor, and I cansee how deepyou areparticipating in the Nmap project... Eventually I would really like to dive deeper in theprojectmyself...maybewhen Luna-fée shall start going to school (she's 8months old!:o)Okeydokey, enough said, I'm personnally ashamed ofmyself forasking,butthen again, I've got nothing to loose right ? Seeya around, and at the least, don't forget thepatchedexecutable! ;o)PS : paleez forgive my englitch! Ion 2007/7/10, Eddie Bell < ejlbell () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ejlbell () gmail com>:Hi, I can't reproduce this but I think it is to dowith the nullinterfaces. I've applied a fix to SVN could youtest it andsee if itfixes your problem. If you want a patched nmap.exeinstead Ican sendit to you privately thanks - eddie On 10/07/07, Ionreflex < ionreflex () gmail com<https://mail.google.com/mail?view=cm&tf=0&to=ionreflex () gmail com>>wrote:Hey all, Just updated my system with latest stableversion ofwinpcap, thenunzipversion 4.22SOC1 into its own folder to give ita try...C:\Program Files\nmap- 4.22SOC1>nmap -V Nmap version 4.22SOC1 ( http://insecure.org ) C:\Program Files\nmap- 4.22SOC1>nmap --iflist Starting Nmap 4.22SOC1 ( http://insecure.org )at 2007-07-0923:03Est(heure d' ÚtÚ)************************INTERFACES************************DEV (SHORT) IP/MASK TYPE UP MAC eth0 (eth0) (null)/0 ethernet down54:55:43:44:52:04eth1 (eth1) (null)/0 ethernet down00:10:A4:AA:B6:D8eth2 (eth2) 172.16.0.11/28 ethernet up00:02:A5:BF:19:A4lo0 (lo0) 127.0.0.1/8 loopback up C:\Program Files\nmap- 4.22SOC1> ... as you can see, --iflist crashed nmap,showing aninternal error(I'veattached the file 5a25_appcompat.txt, hoping itcan helpsomeone...)I tried the command with 4.21ALPHA4, everythingwas ok,reboot butstillthesame! I'm kinda lost... anybody has inputs ?_______________________________________________Sent through the nmap-dev mailing listhttp://cgi.insecure.org/mailman/listinfo/nmap-devArchived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Error with --iflist, 4.22SOC1 on win32 system (XPsp2) Ionreflex (Jul 09)
- Re: Error with --iflist, 4.22SOC1 on win32 system (XPsp2) Eddie Bell (Jul 10)
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Error with --iflist, 4.22SOC1 on win32 system (XPsp2) Ionreflex (Jul 13)
- Message not available