Feb 9, 2013 02:17 PM
(This post was last modified: Feb 9, 2013 02:51 PM by rfpd.)
Picture: [img]http://s3.postimage.org/x6d9rr369/Sem_T_tulo.png[/img]
Download Link: https://anonfiles[WARNING POSSIBLY INFEC...1e16f969c7
Virus scan:https://www.virustotal.com/file/45813c28...360437607/
There is one false positive :s
Please give me your's suggestions so I can upgrade this, hope you like it :)
EDIT: That IP it's not mine or anyone I know it's just some random ip I picked up to show you this!
SOURCE:
Please change thread name to source, if you want the source here it is, thanks a lot for being so "nice" lol..
Download Link: https://anonfiles[WARNING POSSIBLY INFEC...1e16f969c7
Virus scan:https://www.virustotal.com/file/45813c28...360437607/
There is one false positive :s
Please give me your's suggestions so I can upgrade this, hope you like it :)
EDIT: That IP it's not mine or anyone I know it's just some random ip I picked up to show you this!
SOURCE:
Code
Imports System.IO
Imports System.Net
Imports System.Text.RegularExpressions
Class tracer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
Dim Request As HttpWebRequest = DirectCast(WebRequest.Create("http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=" & TextBox1.Text), HttpWebRequest)
Dim Response As HttpWebResponse = Request.GetResponse()
Dim RespStream As Stream = Response.GetResponseStream()
Dim Reader As New StreamReader(RespStream)
sr = Reader.ReadToEnd()
GeoIP()
Catch ex As Exception
End Try
End Sub
Dim sr As String
Public Function GetInfoBetween(ByVal TheContents As String, ByVal Start As String, ByVal EndOfTheString As String)
Return New Regex(Start & "(.+?)" & EndOfTheString).Match(TheContents).Groups(1).Value.ToString()
End Function
Public Sub GeoIP()
Dim Latitude As String = GetInfoBetween(sr, "ro-no_bots_pls10" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
Dim Longitude As String = GetInfoBetween(sr, "ro-no_bots_pls19" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
Dim Country As String = GetInfoBetween(sr, "ro-no_bots_pls13" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
Dim Region As String = GetInfoBetween(sr, "ro-no_bots_pls15" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
Dim City As String = GetInfoBetween(sr, "ro-no_bots_pls17" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
Dim TimeZone As String = GetInfoBetween(sr, "ro-no_bots_pls9" & Chr(34) & " value=" & Chr(34), Chr(34) & " size=")
TextBox2.Text = Country
TextBox3.Text = Region
TextBox4.Text = City
TextBox5.Text = TimeZone
WebBrowser1.Navigate("http://maps.google.com/maps?q=" + Latitude + " " + Longitude)
End Sub
End ClassPlease change thread name to source, if you want the source here it is, thanks a lot for being so "nice" lol..




![[Image: IMG-6011.png]](https://i.postimg.cc/k5fyhYts/IMG-6011.png)