I exported:
export FMTSTR="%2\$n'printf "\xc0\xf2\x03\x42";'"
and I want to see the result:
env | grep FMTSTR
FMTSTR=%2$n'printf xc0xf2x03x42;'
but this is not what I want...The result must be :
FMTSTR=%2$nTB
Could you possibly tell me what the problem is? secondly can I use python instead of printf? like this:
export FMTSTR="%2\$n $(python -c 'print "\xc0\xf2\x03\x42"')"
when I use python the result is:
FMTSTR=%2$n ��B
why? please give me a help in these two questions.
thank you...