This commit is contained in:
milisbir 2018-08-16 18:56:14 +03:00
parent 7d84894339
commit c2917d4518
1 changed files with 7 additions and 0 deletions

7
bin/0ad_root_calistirma.sh Executable file
View File

@ -0,0 +1,7 @@
#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