Skip to content

JojiiOfficial/TripPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

TripPHP

A PHP client for the triplink system. This focus on blocking IPs which tried to enumerate through your webserver files (eg phpmyadmin,phpMyAdmin,mysql,MySql,shell.php,phpinfo.php ...etc)

Installation

Requirements

  • PHP (php7.3)
  • PHP curl (php7.3-curl)
wget https://raw.githubusercontent.com/JojiiOfficial/TripPHP/master/triplinkreport.php -O blockIPs.php

Put the downloaded file in your www directory and rename it to an obvious name like shell.php or /phpmyadmin/index.php.
You can additionally create links to this file from other folders to catch more IPs.
After that you need to change follownig variables in the .php file:

  • $host - The host where your ScanBanServer is running
  • $port - Where the webserver runs on (80,443)
  • $token - The token from the ScanBanServer (user table)

Note

This is only for reporting IPs, if you want to block them you need to setup Triplink