Recompiling NetCat [In Windows] To Bypass AntiVirus
So I'm attempting to recompile netcat from it's windows ported source to by pass antivirus signatures. The compile goes well and exits with no warnings however whenever I try to invoke the nc -L command, when I try to connect to the machine from another computer and then close the session on the other computer, I get a WIN32 Unhandled exception and it shuts down nc on the host computer and thus I can no longer connect back to it. Has anyone successfully recompiled the windows source with a working -L flag? It seems the nc.exe that ships with the source works fine with -L so I don't understand what the issue could be.