Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.
/ mc-spam-bot-parser Public archive

This repository contains a script that is designed to extract and identify spammer bots that frequently appear in the logs of Minecraft servers. The script parses the log file, filters out the spam bot entries, and provides information about the unique IP addresses associated with the spammer bots along with their corresponding names.

License

Notifications You must be signed in to change notification settings

Bims-sh/mc-spam-bot-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Spam Bot Log Parser

This repository contains a script that is designed to extract and identify spammer bots that frequently appear in the logs of Minecraft servers. The script parses the log file, filters out the spam bot entries, and provides information about the unique IP addresses associated with the spammer bots along with their corresponding names.

How to

Usage:

./spam-bot-parser.sh <log_file> [options]

Options:

  • -u, --unique: Display only the unique IP addresses and their corresponding names.
  • -p, --ports: Include the port numbers in the IP addresses.

Example usage:

./spam-bot-parser.sh ./logs/latest.log -u

Example output:

Bunger;3.xx.xx.xxx
Bunger;52.xx.xx.xxx
cuute;162.xx.xxx.xxx
cuute;45.xxx.xxx.xxx

Note: If you want to save the output, it can be easily done by using the > operator as shown below.

./spam-bot-parser.sh ./logs/latest.log -u > output.csv

License

This project is licensed under the MIT License.

About

This repository contains a script that is designed to extract and identify spammer bots that frequently appear in the logs of Minecraft servers. The script parses the log file, filters out the spam bot entries, and provides information about the unique IP addresses associated with the spammer bots along with their corresponding names.

Topics

Resources

License

Stars

Watchers

Forks

Languages