I know, using Python, a webpage can be visited. But is it also possible to visit a webpage with a new IP address each time?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot change your IP via python.
Try installing TOR and then use Proxychains to pipe your script /requests via the TOR network, though the ip will be kinda random everytime
If your script is called
getit.pyand you have TOR/Proxychains setup correctly then you can send anything through the TOR network. Eg.Chrome:
proxychains google-chromegetit.py:
proxychains python getit.pyor
proxychains getit.pyEverytime you run the script you will have a different ip. Well to be correct not everytime but proxychains will respect your TOR Config so, everytime is relevant to that.
Also not only everytime you run the script but also everytime the script tries to access a resource. Again related to TOR config.