Hacker News new | ask | show | jobs
by dvh 4 days ago
>curl -fsSLO https://usb2shell.com/tools/usb2shell-check.sh

>less usb2shell-check.sh

>sh usb2shell-check.sh

I LOLed. Use "less -nU" to prevent black text on black background attack vector. Maybe.

3 comments

Hmm

     tr -d "'"' a-z[](){}$0-9.,;&/\\#!"=:*|^>\n-' <~/Downloads/usb2shell-check.sh | hexdump -C
did not reveal anything special.
`xxd|less` at a minimum.
if you're someone who blindly copy/pasted these commands into a terminal you likely don't know how to exit less anyway :-P

at least they didn't tell you to pipe curl to bash, i guess?