Share your repls and programming experiences

← Back to all posts
Tracking Users
h
AdCharity (1264)

Three methods to track users with geolocation (html5, ipinfo, whois).
You can see the implementation/expected results, as well as copy the code (click on it). Plz don't use the api keys but they're kind of client anyways so oh well.

epic css Oo

Commentshotnewtop
Bookie0 (2797)

Hopefully the Russians don’t get to know my location, I have some top secret stuff in my house no you won’t be able to know what it is

MatthewDoan1 (336)

@Bookie0 Hopefully the Americans don't get to know my location, I am holding some hostages in my basement and it would be a shame if anybody were to notice. Hope that doesnt happen haha!!

MatthewDoan1 (336)

@yeetuscleetus no please i might release them if you give me some gummy bears

Bookie0 (2797)

Hey i want my share of gummy bears too @MatthewDoan1

MatthewDoan1 (336)

@Bookie0 Hey I'm the one asking for gummy bears here

if you want some just ask santa

Bookie0 (2797)

Nah he in quarantine and so am I so I can’t go out :( maybe amazon will ship some on 2 years because it takes so [email protected]

yeetuscleetus (32)

@MatthewDoan1 ight you get gummy bears
but you must release the hostages

Bookie0 (2797)

Hummm how much gummy bears? I will only work with you if the number of gummy bears is greater than 50.

In python:

If gummy_bears < 50:
    Release hostages
Else:
     Print(“nah”)

@yeetuscleetus

yeetuscleetus (32)

@Bookie0 i do be understanding Python tho
anyways, does 75 gummy bears work for you?

Bookie0 (2797)

Umm okay fine. Tomorrow @ midnight 🕛 the hostages will be found in the dustbin next to Main Street. For the gummmy bears, send them to bunker_in_russia.NotSuspiciousAtAll/ruSSia.com
@yeetuscleetus

AdCharity (1264)

@yeetuscleetus unfortunately, only 10.11.99.1 gummy bears will suffice

Bookie0 (2797)

I want 100 gummy bears as well. And Santa is occupied so is Jesus so i guess if you have those bears, send them right over @yeetuscleetus

Bookie0 (2797)

@AdCharity @yeetuscleetus OK plan here: i have the hostages, i want the gummy bears. Yeetuscleetus has the gummy bears, and he wants the hostages. Adcharity wants both, it seems.
So i propose that we all get gummy bears and we all get hostages. That okay for you guys?

AdCharity (1264)

@Bookie0 :holdup: we all get hostages....

Bookie0 (2797)

Cool I joined does do you see me I’m [email protected]

MatthewDoan1 (336)

@Bookie0 @yeetuscleetus @AdCharity hey wait a minute why are y'all offering gummy bears I never agreed to this deal

ya gotta show me the gummy bears FIRST, then I'll release.

MatthewDoan1 (336)

@yeetuscleetus Alright. Meet me at this location to seal the deal.

Bookie0 (2797)

@AdCharity @yeetuscleetus @MatthewDoan
Where is this conversation going? Am by the way I’m still waiiting for my shipment of 💯 gummy bears, because the hostages are getting hungry.
So pls send them to me ASAP or I’m going to have to /quit lol

yeetuscleetus (32)

@Bookie0 here is your shipment of gummy bears

Bookie0 (2797)

Thank you here is your hostages:feed them well they are hungry

@yeetuscleetus

yeetuscleetus (32)

@Bookie0 thanks, will remember to feed them
the location @MatthewDoan1 specified was...uh, let's just say that he did not show up

Bookie0 (2797)

Oh okay, thanks for the info @yeetuscleetus

MatthewDoan1 (336)

@Bookie0 Wait a minute... you released our hostages?!? I was going to scam them out of more gummy bears!! You're a terrible evil villain's henchman...

Bookie0 (2797)

Oooops sorry. Can I make up to you with some, hummm gummy [email protected]

yeetuscleetus (32)

this thing is really good....too good, in fact.
you deserve my upvote

DynamicSquid (2252)

This thing doesn't work, it said I live right in the middle of the pacific

oh wait...

Codemonkey51 (764)

Me, bruh html5 api wont work
My VPN, let me introduce myself again

SixBeeps (2333)

oh frick you know where i live now oh no

AdCharity (1264)

@SixBeeps don't worry I don't store it :)

SixBeeps (2333)

@AdCharity Jokes aside, this is scarily accurate. The HTML5 API linked me to my house address.

SixBeeps (2333)

@AdCharity specifically the point (40, -83)

[deleted]

@SixBeeps holdup yours was accurate? When i used it, it was off for me

AdCharity (1264)

@roylatgnail send it over and we can confirm jk jk jk

SixBeeps (2333)

@roylatgnail Yeah, mine pointed right on my house 8|

[deleted]

@SixBeeps mine said im in japan

[deleted]

@SixBeeps your bio

AdCharity (1264)

@SixBeeps can you actually speak japanese

SixBeeps (2333)

@AdCharity Nope, but I'm starting to learn Katakana and Hiragana

AdCharity (1264)

@SixBeeps wow I stopped when I realized japanese was made of more than one part lmfao

SixBeeps (2333)

@AdCharity See, I thought about that as well, but then I realized English is just the same; we have uppercase and lowercase letters.

[deleted]

fufufufufufufufufuf

[deleted]

fufufufufufufufufufuufufufufufufufufu

NoelB33 (291)

I live in the east US, but it says I live in California.

BobTheTomatoPie (990)

Good job, this is really cool!

TheForArkLD (617)

Cool but it’s return wrong position XD

AdCharity (1264)

@TheForArkLD html5 geolocation is pretty hard to beat. The other versions are less accurate though.

AmazingMech2418 (661)

@AdCharity It isn't if you mask your location...

AdCharity (1264)

@AmazingMech2418 oh well html5 api requires you to allow your location. This stuff obviously has strange results on vpns and the like.

AmazingMech2418 (661)

@AdCharity LOL! I just used the sensors API in the developer tools...

StudentFires (327)

I've had a private Repl that actually sends the data to the server, through WebSockets, and if you weren't connected to the Socekets, the page wouldn't display.

Nice work sharing these evil methods with us, I'll have to check out what you did differently.

StudentFires © does not encourage tracking of users over the internet in anyway whatsoever.

Wait what if... Woogle wants to know your location.

AdCharity (1264)

@StudentFires two of the methods send requests to api endpoints (which is hosted by server)

StudentFires (327)

@AdCharity I think all I ever used was the HTML 5 geolocation method, never setup IP tracking, I stopped working on the project because of the quarantine.