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

.NET 

Extract IP address and port number from website source code.

Hey,
I am trying to automate adding a China proxy into Netease Music, so that global people can access it.
I can extract the IP address using Regex but not sure how to get the port number.
You can see it here: view-source:https://www.proxynova.com/proxy-server-list/country-cn/
I tried free-proxy.cz but it gives me a 403 forbidden error if I try to download the source code.

Here is the code:
Spoiler (Click to View)
Because you’re getting blocked by their firewall. Send headers and other stuff
(Dec 28, 2019 03:39 PM)Charger Wrote:  Because you’re getting blocked by their firewall. Send headers and other stuff

Then I get 401 unauthorised.

Also is there a way to get the port from the other page I mentioned?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by xCMDNov 13, 2018 08:56 PM 6 613 Nov 13, 2018 08:56 PM
Last Post: VelvetCoding
[Python] by Fivepoint0Oct 23, 2018 05:24 PM 3 193 Oct 23, 2018 05:24 PM
Last Post: Fivepoint0
[.NET] by mralihaiderJun 18, 2017 01:00 PM 31 647 Jun 18, 2017 01:00 PM
Last Post: Rageline