milis/bin/vlc_root_calistirma.sh

8 lines
225 B
Bash
Raw Normal View History

2016-03-31 00:36:25 +02:00
#tek tek calıstır
cp /usr/bin/vlc /usr/bin/vlc-backup
needle=$(objdump -d /usr/bin/vlc | 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/vlc