Page 1 of 1

NMAP Installation Issue

Posted: Thu May 11, 2017 4:40 pm
by MrRat
net2.jpg
net2.jpg (8.96 KiB) Viewed 15549 times
net1.jpg
net1.jpg (9.21 KiB) Viewed 15549 times
net3.jpg
net3.jpg (79.96 KiB) Viewed 15547 times

Re: NMAP Installation Issue

Posted: Fri May 12, 2017 1:13 pm
by Cubert
Hmmm, maybe a 32 bit / 64 bit issue.

Need to look at code to see if we are looking in (x86) only if we see that available.

I will get back to you soon.

Re: NMAP Installation Issue

Posted: Fri May 12, 2017 1:22 pm
by Cubert
Ok looking at code we test both places.

First CMD is

Code: Select all

if exist ""C:\Program Files (x86)\Nmap\nmap.exe"" echo Nmap Installed
Then if that does not return Nmap Installed we run this CMD

Code: Select all

if exist ""C:\Program Files\Nmap\nmap.exe"" echo Nmap Installed
You would think you are not returning NMap Installed on the second CMD. I can see you looked at the CMD tab and see that return was correct? So why did it fail the test?

Re: NMAP Installation Issue

Posted: Fri May 12, 2017 1:27 pm
by Cubert
Doh!

Bloody Hell!! I found the problem... I never "refreshed" my output variable with the second test data. I carried over the test 1 data to test 2 so it never matches up. Give me 1 minute to release a new build.


Nice bug find!