C# How to spoof IP address for WebRequest

前端 未结 6 1571
小蘑菇
小蘑菇 2020-12-14 10:28

I have asp.net website hosted and I am making WebRequest to post data and get response. The website is having IP filtering. I want to spoof sender IP address for testing pur

6条回答
  •  青春惊慌失措
    2020-12-14 11:04

    Some servers can also consider X-Forwarded-For and X-Real-IP headers. So if server checks for these headers you can add them to your Web request. But it depends on server implementation.

提交回复
热议问题