view bin/ls @ 4864:fd8900560d51

<mroman_> env x=\'() { :;}; echo vulnerable > foo\' bash -c "echo this is a test"
author HackBot
date Thu, 25 Sep 2014 09:51:39 +0000
parents 7f957c1f4661
children f76859391a5a
line wrap: on
line source

#!/bin/bash
if /bin/ls -id "$@" 2>/dev/null | grep -q ^790887 ; then echo 'As the wisdom directory contains many files named after nicks, listing it in public annoys people. Try https://dl.dropboxusercontent.com/u/2023808/wisdom.pdf instead.'; else exec -a ls /bin/ls "$@"; fi