简体   繁体   中英

Simulate requests to url with different IPs

I have a php file on my wamp server that simply listens to new users that enters the page and prints their IPs.

I read a lot about IP spoofing and I'd like to test that.

Would it be possible to send multiple http requests from my computer and make the php "think" that different users are entering the page?

I don't care about the response from the php file.

Unless you configure apache to pass a random REMOTE_ADDR parameter there is no easy way to do it from your computer alone. What you can try is using proxies to connect, this will offcourse require that you have a public IP or a server.

Edit: GordonM made agood point in the comment, you can use multiple VM's to simulate a set of servers with their own IP addresses.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM