Share your repls and programming experiences

← Back to all posts
IP Grabber - Fork and change the link title!
MarcusWeinberger (585)

Ever wanted your own IP Grabber? Well look no further!

Features:

  • Unlimited unique individual tracking links - generate as many as you want!
  • Discreet error page - redirect users to a Google 404 page
  • Grab IP address and User Agent - learn more about your target!

Coming Soon:

  • Multiple campaigns - no longer shall you have to save your many tokens to a text file. see the results of all your links at once!
  • Custom redirects - choose where to send your victims after their IP has been pulled

Disclaimer: This tool was made for educational purposes and educational purposes only. Do not send grabbers to people you don't have permission to do so from. I do not take any responsibility for any actions taken.

Edit:

I highly doubt this is against Repl's ToS. The majority of websites you visit log a lot more data than this, and a lot more personal.

Commentshotnewtop
TheDrone7 (1331)

This does not violate any ToS nor does it promote any illegal activities. Thus, I am unlocking this post.

HyperGamerStuds (101)

Would you know how to, theoretically program a virus that rickrolled you and only got removed from the PC once you typed "Never Gonna Give You Up" ? (I would not use it for malicious purposes, only pranks, lol) @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds I haven't tested it out, as I'm not at home, but in theory this should work. The only requirements are the python libraries (pynput, pafy, and vlc) and the VLC Media Player.

Resources I used to make this:

MarcusWeinberger (585)

@HyperGamerStuds uhhh, seems to work for me. Can you take a screenshot or provide more information?

HyperGamerStuds (101)

@MarcusWeinberger
Traceback (most recent call last):
File "main.py", line 1, in <module>
from pynput import keyboard
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pynput/init.py", line 40, in <module>
from . import keyboard
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pynput/keyboard/init.py", line 31, in <module>
backend = backend(name)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pynput/_util/init.py", line 76, in backend
raise ImportError('this platform is not supported: {}'.format(
ImportError: this platform is not supported: ("failed to acquire X connection: No module named 'Xlib'", ModuleNotFoundError("No module named 'Xlib'"))

Try one of the following resolutions:

  • Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
MarcusWeinberger (585)

@HyperGamerStuds ohh, sorry, i forgot you meant the "virus". it wont run on replit, you'll have to run it maybe from the python IDLE on your local windows machine

HyperGamerStuds (101)

can u perhaps help me design a working account feature that requires an account setup/signin for this repl? To force people to register an account before playing? https://repl.it/talk/share/Repl-Games-Repository/58876 @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds I'm afraid I can't do it for you, but I'm working on dupl auth at the moment, it's fairly simple but I haven't written any documentation.

Here is a simple demo reel, as an example

MarcusWeinberger (585)

@HyperGamerStuds Fully working, very simple, though.

HyperGamerStuds (101)

So it stores sign up data? Nice @MarcusWeinberger

HyperGamerStuds (101)

OMG IT WORKS WHEN IMPLEMENTED TO MY REPL THANK YOU SOOO MUCH!! @MarcusWeinberger

HyperGamerStuds (101)

Wat does the code for the .env file look like? (I can't see the .env file) @MarcusWeinberger

HyperGamerStuds (101)

I wanna know bc I wanna make my own version/server but can't do that without knowing the code for the .env files @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds it has 4 variables, FLASK_SECRET which can be anything, it's the secret_key for your flask app.

  • DB_HOST
  • DB_USER
  • DB_PASS

These are the connection details for a MySQL database. You can just use this instead of the db.py file if you want to use an SQLite DB in repldb, but it's better to find a mysql server. I use heliohost.org

HyperGamerStuds (101)

Oi, could u copy and paste the code to me? @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds sure, but I have to omit the values:

FLASK_SECRET=XXXXXXXX
DB_HOST=XXX.XXX
DB_USER=XXXX
DB_PASS=XXXXXXXXX
HyperGamerStuds (101)

ah, so those are the database passwords? And they have to be defined? @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds yes, as does the flask_secret. the flask_secret can be anything, usually I just write a random thought in my head (eg: manthisreplisreallycoolihopeicangetitworking). it's used to encrypt the session data or something.

the db info has to be for a real database. and in db.py you'll need to change the default database

HyperGamerStuds (101)

XD I am unable to set up a MYSQL server sadly :( My school email address cannot be used to verify accounts apparently :( @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds yeah it's effort to set up a mysql server, but i know heliohost has some free options. And what do you mean about your school email address and verifying accounts?

HyperGamerStuds (101)

I only have a school email address, lol, and it doesn't receive account verification emails @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds ohhh, right. well i made repl.email, it hasn't been updated in a bit but you can get the email address [email protected] by linking your repl.it account!

HyperGamerStuds (101)

wait rly? noice, so it would work to confirm an account? @MarcusWeinberger

HyperGamerStuds (101)

oof, ya, doesn't let me, can u set up a server 4 me then give me the info thru repl.email? @MarcusWeinberger

HyperGamerStuds (101)

OH NO, THIS DUDE WANTS ME TO DROWN JOE'S CAT IN FRONT OF MY MOM!! @MarcusWeinberger

MarcusWeinberger (585)

@HyperGamerStuds sorry, i can't help with that, i'm already using the one free server i get

CodeLongAndPros (1363)

I'm going to lock this and check with the Repl.it team and see what they say about the TOS.

CodeLongAndPros (1363)

@MarcusWeinberger as @TheDrone7 said, this is not a ToS violation, sorry for the confusion.

MarcusWeinberger (585)

@CodeLongAndPros no problem, I understand. I was unsure myself lmao

PDanielY (1091)

i really hope you aren't storing my IP 😅

RayhanADev (392)

—Never Mind What Was Here xD—

realTronsi (222)

@RayhanADev IP grabbing isn't illegal as long as it's not used for illegal purposes.

DynamicSquid (3594)

@RayhanADev I don't think it's illegal...

RayhanADev (392)

@DynamicSquid @realTronsi okay, well lemme pitch it this way. Bluntly, Repl.it has a wide audience, and not all are the best of people. Say someone posts some sort of amazing game as a front and grabs peoples IPs with this for DDoS. What have you to say to that?

realTronsi (222)

@RayhanADev well ip grabbing isn't harmful. If someone was using this to assist in DDoS, it is their poor choice of actions. DDoSing is also used for pentesting, hence the many available DDoS applications online, which aren't illegal, despite DDoSing without permission being illegal

HarperframeInc (344)

@RayhanADev Sorry but the intentions of this project is not to promote illegal activity. If you believe someone is using this tool against the TOS, please report them to the mods.

RayhanADev (392)

@HarperframeInc sigh alright. Since everyone disagrees with me then it’s cool.

HarperframeInc (344)

@RayhanADev However it's okay to check with a moderator. If you want to do that, that's fine! (I'm not even sure if this is or isn't against TOS)

AgastyaSandhuja (156)

this code itself is not against ToS but if someone forked it for illegal use then theirs would be. @RayhanADev

RayhanADev (392)

So, this is kinda not right. I mean people can use this to steal other’s IP and the fact that you made it and shared it isn’t cool at all. Is this in violation of Repl’s ToS?

CSharpIsGud (589)

@RayhanADev I'd bet my money that it is.

MarcusWeinberger (585)

@RayhanADev this demonstrates the dangers of clicking random links. it shouldn't be a violation of Repl's ToS, because I guarantee you that the majority of websites you visit log a lot more data than this

CSharpIsGud (589)

@MarcusWeinberger Yeah they do, except they are usually somewhat known websites that would be easily held accountable if they did anything super bad with it, compared to some random person on the internet.

MarcusWeinberger (585)

@CSharpIsGud Anyone can create their own website, a static page hosted on netlify, a full grabber on heroku. There are hundreds of IP Grabber templates and projects on GitHub. There is nothing illegal about them

CSharpIsGud (589)

@MarcusWeinberger Yeah that's true, though the tos of replit could still have something against them either way.
Most people these days should have dynamic ips anyway.