Skip to content

HideakiAtsuyo/ip-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ip-logger


Used: Anti-Proxy-VPN By Cleaner-Discord


Speed Setup Video:

Here(YouTube) (Old but always usable)

Informations and settings

Basic PHP ip logger for kids who can't ip log.
Later this can be updated for add better things because too basics sorry i want to help you skids just wait :/

Grab IPs in a database and if the ip is already in, die with :(

You can protect IPs in the config file

Used: MariaDB Server, PHPMYADMIN and apache2(work also with nginx, and httpd for #centos lol :))
BLABLA = ip or mydomain.extension
DBNAME = the name choosend for the db

Go to: https://BLABLA/phpmyadmin/server_databases.php?server=1 create a database with name "iplogger" you can change this isn't a magic trick ;)
After go to: https://BLABLA/phpmyadmin/db_import.php?db=DBNAME "https://i.imgur.com/FeDkGCe.png" (YEAH FRENCH JUST USE THE BUTTONS!?)
Now set the settings in config.php

<?php
return (object) array(
    'host' => 'localhost',
    'dbName' => 'db',
    'user' => 'root',
    'pass' => 'password',

    'cloudflare' => false,
    'blockBotsUA' => true,
    'ProtectedIPs' => ["ip1", "ip2"]
);
?>

You also need to modify This you need to set it to true or false(true only if you're using CloudFlare)

Replace : root, password and db(db name) if you change the db name and save...


List of the IPs

BLABLA = VPS IP or DOMAIN.EXTENSION
You can go to: https://BLABLA/list.php to see the IPs logged


EASY NO!?


To Do:
- I don't know give some ideas for the ip-logger or projects ideas

About

good ip logger in github omg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages