Giter Site home page Giter Site logo

hxr16f / ip-logger-revamped Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 27 KB

Python script built with Flask to log client IP addresses and user agents.

License: GNU General Public License v3.0

Python 100.00%
ip-logger logger logging grabber ip-grabber

ip-logger-revamped's Introduction

ip-logger-revamped
IP Logger Revamped is a Python script built with Flask to log client IP addresses and user agents.

vid

Overview

IP Logger Revamped is a Python script utilizing Flask, aimed at logging client IP addresses and user agents.
This tool not only records crucial information but also offers the flexibility to redirect clients to a specified URL and generate shortened links for convenient access to the logging endpoint.
This project is an evolution of its predecessor: hXR16F/IP-Logger.

Features

  • Logs client IP addresses, user agents, and timestamps into a designated file (ip-logger-revamped.txt).
  • Option to redirect clients to a specified URL.
  • Generates shortened links using various URL shortening services.

Installation

  1. Install Ngrok by following the instructions at ngrok.com and add it to environment variable.
  2. Clone this repository:
git clone https://github.com/hXR16F/ip-logger-revamped.git
cd ip-logger-revamped
  1. Install the required Python libraries:
pip install -r requirements.txt
  1. Run the script:
python ip-logger-revamped.py

Usage

Once the script is running, it listens for incoming connections.
Client IP addresses, user agents, and timestamps are logged into the ip-logger-revamped.txt file.
If a redirect URL is specified, clients are redirected; otherwise, a 404 error is returned.

Notes

Please be aware that URL shortening services may have rate limits.

Donate

If you support my work or like my projects, you can donate me some money. Thank you ๐Ÿ’™

ip-logger-revamped's People

Contributors

hxr16f avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

calinux-py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.