Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Not getting a response (httpwebrequest)

So im sending a get request to a specific url and im not getting a response, monitored the traffic with fiddler and my request is the same as in the web browser, cookies and headers wise. What am i doing wrong?

Thanks for the help.
The website in question could have anti-bot software set up such as cloudflare
[Image: Syr3DlV.png]
Could you provide the code that isn't working?
And what do you mean not getting a response? Empty string? Or an exception? Or?
Contact me for:
- Any development (bots, checkers, homework, websites, ...)
- System administration (Linux, Windows, websites, ...)
- Cybersecurity (Reverse engineering, cracking, forensics, ...)
Yes for cloudflare you can find a lot of projects on github for bypass it. Some websites need just a valid user-agent.
Code
Latest Chrome user-agents
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36


Set it like this:
Code
myHttpWebRequest.UserAgent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0";
lmao lemme guess, its for a gaming related site? first shooter....

“I wish I could say everything in one word. I hate all the things that can happen between the beginning of a sentence and the end.” ~ Leonard Cohen


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by draxyeeSep 10, 2019 01:37 PM 12 379 Sep 10, 2019 01:37 PM
Last Post: MavenGradle
[.NET] by freesixJan 19, 2019 02:14 AM 13 490 Jan 19, 2019 02:14 AM
Last Post: StarZ
[.NET] by Hacker2245Dec 28, 2018 01:07 AM 7 246 Dec 28, 2018 01:07 AM
Last Post: 0xDEAD10CC