Tales of an IT Nobody

devbox:~$ iptables -A OUTPUT -j DROP

Shortcut to a directory with a bat file and a sub directory containing the same name May 31, 2011

Check this out.
Make a directory structure like this:


Fill the .bat file with something creative… (Non destructive)

Now, make a shortcut from anywhere to Dir/AnotherDir – lemme guess, it tries to name the shortcut after the bat file? Odd! Rename it in the prompt then.

Save your shortcut and try to use it. Lemme guess, executed the bat file?

See below if you’re too lazy to try ;)

Categories: security windows

Leave a Reply

Your email address will not be published. Required fields are marked *