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

.NET 

[SOURCE] Pulling IP's from HideMyAss

I did this in response to this thread here:

https://hackforums.net/showthread.php?tid=2649418

It's just a small little function to parse IP's from HMA's shitty semi-obfuscated web source.

[Image: M2LvN.png]


Code
#Region "GetProxies Function"
    Shared Sub Get50Proxies()
  Dim ts As String = String.Empty
  Dim t As String = String.Empty
  ProxyList.Clear()
  Dim s As String = wc.DownloadString("http://hidemyass.com/proxy-list/").Replace("<td rel", "ʘ")
  For i As Integer = 1 To 50
    ts = Split(s, "class=""updatets")(i).Split("ʘ")(0)
    t = String.Empty
    For ip As Integer = 1 To (System.Text.RegularExpressions.Regex.Matches(ts, "<div").Count + System.Text.RegularExpressions.Regex.Matches(ts, "<span").Count + System.Text.RegularExpressions.Regex.Matches(ts, "<td").Count) * 2 + 1
    If Not Split(ts.Replace(" ", ""), "<")(ip).Split(">")(0).Contains(":none") And Not String.IsNullOrEmpty(Split(ts.Replace(" ", ""), ">")(ip + 1).Split("<")(0).Replace(".", String.Empty).Replace(Chr(10), String.Empty).Replace(Chr(9), String.Empty)) Then
    t &= Split(ts.Replace(" ", ""), ">")(ip + 1).Split("<")(0).Replace(".", "").TrimStart(Chr(10)) & "."
    End If
    Next
    t = t.TrimEnd(".")
    t = t.Insert(t.LastIndexOf(".") + 1, ":")
    t = t.Remove(t.LastIndexOf("."), 1)
    MsgBox(t)
    ProxyList.Add(t)
  Next
    End Sub
#End Region


Enjoy guys.
someone really sked for this its where most grabber get thier ip's
as in other thread already said, thanks for the script. now my view booster got 5 different proxy grabbing negines ;)
(Jul 6, 2012 12:15 AM)kolec94 Wrote:  someone really sked for this its where most grabber get thier ip's

I'm not sure what you mean, I made this myself.
Nice, Cody!

I was actually working on something just like this last night.
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
nice work bro...keep up the good work :)
(Jul 6, 2012 08:18 AM)Cody8295 Wrote:  I'm not sure what you mean, I made this myself.

not that hard to make a proxy grabber
(Jul 6, 2012 11:35 AM)kolec94 Wrote:  not that hard to make a proxy grabber

It was for this site, take a look at their page source.
(Jul 6, 2012 11:35 AM)kolec94 Wrote:  not that hard to make a proxy grabber

On HMA they use <(div|span)="display:none">\d{1,3}</(div|span)> to prevent scraping. It's not hard to get the HTML, But it is to parse the IP correctly.
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
That I call a pro with the Split Function.
Lmao, it's so funny how I was making one of these and now you post it.

Cool, nice job!
Hahah, thanks for the feedback and compliments you guys.
Nice share, buddy. I am sure this will be VERY helpful to many people.

Kik - Krookedlabratories
How would u display all the ips in a listview
Very nice code, thanks for the share!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by koolkidJan 17, 2018 12:57 PM 1 102 Jan 17, 2018 12:57 PM
Last Post: Anxuein
[Shell] by Tesseract.mkMay 27, 2017 05:39 PM 6 171 May 27, 2017 05:39 PM
Last Post: Hackoo
[C] by M O D E R NMay 25, 2017 12:43 PM 2 204 May 25, 2017 12:43 PM
Last Post: M O D E R N