1
0
chud.cyou/up/aliases
2025-04-17 01:12:46 -06:00

19 lines
481 B
Plaintext

# I am bash, bourne of pure evil
upload(){
url="$1"
shift
for i in "$@"; do
curl "$url" -F"file=@$i"
done
}
lainsafe(){ upload "https://lainsafe.kalli.st/" "$@" ; echo ; }
0x0(){ upload "https://0x0.st/" "$@" ; }
x0(){ upload "https://x0.at/" "$@" ; }
chud(){ upload "https://up.chud.cyou/" "$@" ; }
random(){
# chud omitted due to low allocated MiB and limited suffixes
l=("lainsafe" "0x0" "x0")
j=${l[$(($RANDOM % ${#l[@]}))]}
"$j" "$@"
}