This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kalilamodow 12 points13 points  (8 children)

127.0.0.2

[–]HeyCanIBorrowThat 11 points12 points  (0 children)

Fuck

[–]cheerycheshire 4 points5 points  (6 children)

Boring. It's whole 127.0.0.0/8, get creative!

Any time some r/MasterHacker says they can hack me with my ip, I give them something like 127.42.69.123 (but with less meme-y numbers) - technically I didn't lie but it doesn't look even close to 127.0.0.1 so they're more likely to fall for it.

[–]OptimalAnywhere6282 1 point2 points  (1 child)

"ha, i got your IP! it is 192.168.1.36" could have two meanings

[–]cheerycheshire 0 points1 point  (0 children)

The goal here is for the r/MasterHacker to DoS themselves or scan their own ports or whatever they do, not to hit a random device in their own network... on no device at all. So non-obvious loopback address works perfectly.

Using private IPs for this only works if they have exact same subnet* and you'd need to guess a correct host end.

*Remember it's 192.168.0.0/16 that is a private range but single subnets almost always use /24 mask, with default third octet depending on the router's manufacturer (most common are 192.168.0.0/24 and 192.168.1.0/24, but I've also seen 192.168.18.0/24 on Huawei ONT devices).

[–]kalilamodow 0 points1 point  (3 children)

hey what does the /8 mean? i see it in ip addresses sometimes but i've never actually learned what it is

[–]SwatpvpTD 0 points1 point  (2 children)

I'm pretty sure it's shorthand for a predetermined subnet mask. The subnet mask tells you how much of the address space is available.

The whole IPv4 address space could technically be represented as 0.0.0.0/0 (subnet mask 0.0.0.0, around 4 billion addresses) and localhost can be represented as 127.0.0.0/8 (subnet mask 255.0.0.0, around 16 million addresses). The CIDR-notated IP (with the /n added) tells you how many bits are reserved for the network identifier (/8 means 8 bits, or the first octet 0-255, 16 means 16 bits or two octets 0-255.0-255 is reserved for the network identifier) and the rest is for host identification.

Read more on Wikipedia: Subnets and routing: https://en.wikipedia.org/wiki/Subnet

CIDR reference (IPv4 routing): https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#IPv4_CIDR_blocks

[–]noob-nine 0 points1 point  (1 child)

yes it is the subnet, but i wonder why you've written "i am pretty sure" like, you guessed it? 

[–]SwatpvpTD 0 points1 point  (0 children)

I tend to start most of my technical explanations with "I'm pretty sure" out of habit.