[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] strange file



>if [ $1 ]
>then
>    if [ -d $1 -a ! -n "$2" ]
>    then
>        ( echo -e "*** $1 ***\n"; /bin/ls -aFlh $* ) | /usr/bin/less
>-EimX
>    else
>        ( echo -e "*** `pwd` ***\n"; /bin/ls -adFlh $* ) | 
>/usr/bin/less
>-EimX
>    fi
>else
>        ( echo -e "*** `pwd` ***\n"; /bin/ls -adFlh .* * ) |
>/usr/bin/less -EimX
>fi
>
>Can anyone explain to me what this is for and what this guy is 
>intending
>with this?   Does it represent a security concern?

This script allows him to have a personnalised `ls`.

This is by no mean a security concern.

Hope that helps,

Fabrice Prémel.