Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jalgroy/ssh-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH attempted connections map

Simple web app for mapping attempted ssh connections to a server.

Demo here.

Installation

  1. Clone repo to webserver root
  2. Add your ipinfodb.com api key to get_locations.py, and set paths for ips.txt and locations.json
  3. Copy read_auth.sh to your preferred directory where it will be run by root
  4. Add crontabs for read_auth.sh and get_locations.py. For example:
    • * * * * * /root/read_auth.sh > /var/www/html/ips.txt
    • * * * * * /usr/bin/python3 /var/www/html/get_locations.py > /dev/null

TODO

  • Prevent multiple API lookups of the same IP
  • Add whitelist for IP ranges or locations
  • Improve UI on mobile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors