Wiktor Zykubek 65d6817092 Add 'shelp' script
Also add simple description comment to all script.
2020-05-15 20:56:33 +02:00

17 lines
479 B
Bash
Executable File

#!/usr/bin/env sh
# Script to change links to sites into cursed links.
# e.g: 1337.verylegit.link/RkqaouwwADpPNkd653ip-stealer_.pdf.exe
m() { rofi -dmenu -l 0 -width 50 "$@"; }
url="$(m -p "Paste URL")"
[ ! "$url" ] && exit
cursed_url="$(curl -s verylegit.link/sketchify -d long_url="$url")"
[ "$cursed_url" ] && {
echo "$cursed_url" | xclip -sel clip
notify-send "Cursed URL copied to clipboard."
} || notify-send "Error! URL has not been copied to clipboard correctly!"