/home/rmvg #echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?
2


As mentioned previously, you need to supply a "-e" to bash to get the \0 expanded properly, yielding:
echo -e "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0


Henry :-)

--
Henry Baragar
Instantiated Software Inc.
http://www.instantiated.ca

Reply via email to