Closed Xeek3y closed 3 years ago
I currently have no Windows machine with development environment configured but https://stackoverflow.com/a/4447561/778421 suggests that it might be an issue with the environment variables.
Does replacing $(CC) $(CFLAGS) -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns
with gcc $(CFLAGS) -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns
in the Makefile
help?
What happens if you run cc
or gcc
?
I'm in win10 x64 I tried with git bash, cygwin , cmd
changing to gcc it gives this err in windows, it is because socket.h is not present in windows I think
gcc gives this output in windows
after checking in StackOverflow, I tried replacing socket.h with winsock2.h but still that doesn't help
can you have a release for windows like amass, subfinder, shuffledns, assetfinder
like below
Even I tried to build this using kali linux VMware and downloaded that bin folder but still I cannot run that
The compilation has to take place inside the Cygwin Terminal. The installation process on Windows works as follows:
gcc-core
, git
and make
. To this end, enter the package names into the search bar and instead of Skip
, select the appropriate version in the New
column for each required package. For example, for git
this might look like this:
cd
into massdns
and run make nolinux
. Afterwards, massdns can be run using ./bin/massdns.exe
. This does not work with the cmd.exe
.As I do not want to deal with architecture specifics and do not like the idea of distributing or installing binary blobs which require quite an effort to be audited, I currently do not plan to distribute executables myself.
I'm using Windows 7x64 Ultimate and whenever i'm trying to compile this program with Mingw or Git Bash i'm getting this following error:
Tried with both command make and make nolinux but both aren't working for me and have no idea what's wrong going on?