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

.NET 

IP Address (Not Local IP) VB.NET

Hey!

Need : Label(1)

Click on form and get it :

Code
Imports System.Net
Imports System.IO

Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim req As HttpWebRequest = WebRequest.Create("http://whatismyip.com/automation/n09230945.asp")
        Dim res As HttpWebResponse = req.GetResponse()
        Dim Stream As IO.Stream = res.GetResponseStream()
        Dim sr As StreamReader = New StreamReader(Stream)
        Label1.Text = (sr.ReadToEnd())
    End Sub
End Class

-iBoNeT
I dont get what you mean by 'NOT LOCAL'. If you mean it doesnt return 127.0.0.1 then ok... but otherwise who's IP would it return? :)

He means all IP's assigned to your router, usually 192.168.1.100 to 192.168.1.105 etc.
(Mar 29, 2011 06:47 PM)s3v3red Wrote:  I dont get what you mean by 'NOT LOCAL'. If you mean it doesnt return 127.0.0.1 then ok... but otherwise who's IP would it return? :)

Local IP Exp : 192.168.254.254(Your router)

but otherwise who's IP would it return? Exp : 417.323.323.2.3232
So he means NOT EXTERNAL...
do it without whatsmyip
so i guess you c&p this off youtube
(Mar 29, 2011 07:30 PM)CaZzUaLLv3x Wrote:  do it without whatsmyip
so i guess you c&p this off youtube

maybe, maybe not. this snippet is all over the web
(Mar 29, 2011 06:49 PM)iBoNeT Wrote:  417.323.323.2.3232

That mysterious IP made me laugh.
(Mar 29, 2011 07:30 PM)Dark Noex Wrote:  That mysterious IP made me laugh.

Like wise seeing how the ipv4 range limit is 255
Github
Keybase
Shoot me a PM
(Mar 29, 2011 07:33 PM)DaRkReD Wrote:  Like wise seeing how the ipv4 range limit is 255

Exactly, lol.

And also:
I've seen this source.... 1000 times now. Why reposting?

Not Local = Not 127.0.0.1

Thus, it would be the ip that usually starts with 75.*, 98.*, 97.*, or 1xx.*

www.whatismyip.com vs 127.0.0.1
(Mar 29, 2011 08:45 PM)Angry Asswipe Wrote:  Thus, it would be the ip that usually starts with 75.*, 98.*, 97.*, or 1xx.*

What's with the random numbers <100?
[Image: Xtddh8V.png]
(Mar 29, 2011 07:33 PM)DaRkReD Wrote:  Like wise seeing how the ipv4 range limit is 255

rofl.

and sure he c&p it. it is very known code. i used it for my rat along time ago.

anyway that ip make me rofl :)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by samir50Sep 24, 2018 12:33 PM 3 262 Sep 24, 2018 12:33 PM
Last Post: ɩᴄᴀʀᴜȿ ᴌוᴠᴇѕ™
[Shell] by HackooMar 20, 2017 08:18 PM 5 251 Mar 20, 2017 08:18 PM
Last Post: b00st3d
[.NET] by ironlordAug 16, 2016 10:17 AM 4 252 Aug 16, 2016 10:17 AM
Last Post: ironlord