Category : networking

I am trying to upload a file to a PHP page using WinINET. I’m getting an access violation on one of the functions, but can’t see why. I’ve built the code from an example page. Here is the code: HINTERNET aInternet=InternetOpen("My-Custom-Agent/1.0",INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0); HINTERNET aConnect=InternetConnect(aInternet,"www.myserver.com",INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 1); if (aConnect) { HINTERNET aRequest=HttpOpenRequest(aConnect, (const char*)"POST","myphppage.php", ..

Read more

Windows connects to the intranet wireless router and then turns on the hotspot. How to intercept all the traffic of the client connected to the hotspot, and modify it before forwarding it. ! ! ! The traffic accessing the intranet server through my hotspot should also be intercepted! ! ! Option 1: Hook NDIS requires ..

Read more