Data center: Ashburn, VA

Telegram Chat : MBHH_x86

Email Us: Help@mobilehackerforhire.com

Mobile Hacker For Hire, hire a hacker, hiring a hacker, hacker with proof

Nmap Development: ncat: Windows build difficulties

Table of Contents





From: “Adam Baxter” <voltagex () voltagex org>
Date: Fri, 12 Aug 2022 00:12:57 +1000


Hi,
I'm attempting to build ncat statically for Windows using VS2022 and I've run into the following issues:
* applink.c missing from static build of openssl 3.0.5 - fixed by downloading 
https://github.com/openssl/openssl/blob/master/ms/applink.c into the correct path

* vcxproj/sln file not set up to build ncat for x64 - fixed by fiddling with the solution configuration. I'm not sure 
how this was generated but I could provide a patch. Unfortunately Visual Studio toggles these by putting GUIDs 
everywhere in the file so it won't be pretty.

The current sticking point
*   c:gitnmapncatncat_ssl.c(211,40): error C2440: '=': cannot convert from 'const void *' to 'const char *' 
[c:gitn
mapncatncat.vcxproj]

Which the line of code is https://github.com/nmap/nmap/blob/master/ncat/ncat_ssl.c#L211,  dot = memchr(p, '.', 
remaining); 

Forgive the use of the GitHub mirror, it was easier to find this way.

I am probably making some kind of simple mistake - I'm not a C coder and I don't understand how to fix this. If it's 
simple to do, I'll test it out and update your wiki page, it certainly should be a lot simpler to build ncat with vcpkg 
these days.


Thanks,
Adam
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at https://seclists.org/nmap-dev/




Current thread:

  • ncat: Windows build difficulties Adam Baxter (Aug 11)

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!