Hmas Tip ๐ก
May 19, 2025โข275 words
๐ฅ๏ธ HMAS API โ SSH Login Prank Example
Turn a simple SSH login into a dramatic hacker-style experience using the HMAS API.
Perfect for surprising your teammates or adding flavor to a dev server.
โ ๏ธ Disclaimer
This is meant for humor and harmless fun.
Do NOT use this in production environments or to deceive people maliciously.
Be funny, not felonious.
๐ง What You Need
A Unix-based server (Linux/macOS)
SSH access
cURL installed
.bashrcor.bash_profileedit access
๐ The Prank Setup
Add the following lines to your .bashrc or .bash_profile on the remote server:
# HMAS SSH Prank Welcome Message
API_KEY="testkey123"
MSG="ghost"
FORMAT="txt"
MESSAGE=$(curl -s "https://carlostkd.ch/hmas/api.php?msg=$MSG&format=$FORMAT&apikey=$API_KEY")
echo ""
echo "๐ง HMAS TERMINAL ACTIVATED"
echo "$MESSAGE"
echo "๐ Session monitored. Please proceed with caution."
echo ""
After saving, run:
source ~/.bashrc # or source ~/.bash_profile
๐งช What Happens
Next time anyone logs in via SSH, theyโll see something like:
๐ง HMAS TERMINAL ACTIVATED
โ ๏ธ WARNING: AI unit detected unauthorized entropy access. Protocol chaos initiated.
๐ Session monitored. Please proceed with caution.
๐จ Customize It
Change
MSGtoai,debug,cyberpunk,fun, etc.Try different
format=likejson,html, oryamlUse
mode=dailyorcategory=for themed results
๐ก๏ธ Reverting the Prank
Just remove or comment out the prank lines from .bashrc or .bash_profile:
# HMAS Prank removed
๐ก Bonus Tip
Combine this with ASCII art for maximum drama:
figlet -f cybermedium "ACCESS LOGGED"
Make every login memorable โ and slightly terrifying.