Skip to content

allannjuguna/phplogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

PhpLogger

This is a simple logger built in php
The logger is capable of logging the following:

- Date
- User-Agent
- IP address
- X-Forwarded-For
- POST Data
- GET Requests
- Cookies/Sessions
- Referrer

Example Output

FULL URL = http://home.local/logger.php?show=true&message=success;
DATE = 2021-06-01 20:37:56 CEST;
IP = 192.168.x.x;
X_FOR = 127.0.0.1;
REFERRER = https://localhost/phplogger/;
AGENT = Mozilla/5.0 (PlayStation 5 3.03/SmartTV) AppleWebKit/605.1.15 (KHTML, like Gecko);
POST = username=test&password=fake&submit=true;
GET = show=true&message=success;;
COOKIE = PHPSESSID=a2re0o2fgqn7n8qe2cqpo20otp;

Disclaimer

The following script should be used for educational purposes only since logging of POST data and SESSIONS may lead to a violation of privacy.

About

PHP Client Info Logger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages