Coder Social home page Coder Social logo

https-imgur.com-v2jbl0q's Introduction

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

https-imgur.com-v2jbl0q's People

Contributors

hideakiatsuyo avatar eriasur avatar

Watchers

 avatar

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.