milis/bin/0ad_root_calistirma.sh

8 lines
257 B
Bash
Raw Normal View History

2018-08-16 17:56:14 +02:00
#tek tek calıstır
cp /usr/bin/pyrogenesis /usr/bin/pyrogenesis-backup
needle=$(objdump -d /usr/bin/pyrogenesis | grep euid | tail -1 | awk '{print "\\x"$2"\\x"$3"\\x"$4"\\x"$5"\\x"$6;}')
sed -ir "s/$needle/\xb8\x01\x00\x00\x00/" /usr/bin/pyrogenesis