Skip to content

programmerraja/IpLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IpLogger

A web application to log the user ip and user agent

Motivation

I create this website only for my personal use. myself and my friends get's lot spam message in internet to find who is that guy i plan to build the ip logger by using that i send the link to that person once he vist the website he simply see the error msg that look simillar to no internet acces in chrome browser so he don't get any doubt once he visted his ip is parsed and user agent is stored. by using ipApi (https://ipapi.co/"+ip+"/json/) i get the full detail about the ip and store them in mongo db

Tool used

  • Express js(backend)
  • html ,css ,js(forntend)
  • Mongodb (database)

How this work

To use this first we need to login in to the app next enter a victim name and click get the link it will give link copy the link and share with that victim now the db model look like

{"_id":{"$id":"5fd8c06378439f1dd0d02358"},"isvisited":false,"token":"f74b864b57","victimname":"victimname","__v":{"$numberInt":"0"}}

and the link in format of https://domain.com/token/?:token by using token only the app find the relvant victim. by using ipApi (https://ipapi.co/"+ip+"/json/) i get the full detail about the ip and store them in mongo db. we can view the victim details in the admin page

Need to improved

  • Need to add session for login

How to run

  • Clone this repo
  • cd IpLogger
  • npm install
  • add DBURL and USERNAME and PASSWORD in .env file
  • npm start

website preview

Home page

preview1

Login page

preview2

Admin page

preview3

About

A web application to log the user ip and user agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published