--- GL_CAOS ---

This script implements a lightweight FTP honeypot for glftpd environments.
First you have to create dedicated decoy user with an easily guessable password (for example,
admin / qwerty123) and populates the user home with bait files that resemble valuable data.
If you really need to activate it, turn up a dedicated glftpd service.
The intention is to attract automated attackers and malicious bots: these actors typically
download files, remove or alter them, then upload encrypted files together with an
instruction/ransom note (often including a payment ID and a Tor onion address).
Everytime bots will upload stuff, they will found other data to encrypt.
The goal is to help cyber-security people to study bad actors.

INSTALL
just copy gl_coas.sh in /bin directroy and set the pre_check directive.

pre_check /bin/gl_caos.sh

In the script, feel free to insert or modify the strings inserted to generate random
file names. Also you can choose how many file create. Ten or twenty should be enough for
bad bots.

TODO
- the script has been wrote in bash, a C version should improve performance like less
  time to generate random file.

NOTE
Use this script only in environments you own or where you have explicit permission to operate.
Deploy honeypots in isolated, monitored networks to avoid accidental exposure of real data or
legal issues. The author is not responsible for misuse.

October 25, 2025 -- FRSoldier
