diff options
author | JingJingHack | 2017-06-01 16:31:04 +0800 |
---|---|---|
committer | JingJingHack | 2017-06-01 16:31:04 +0800 |
commit | 5deebfa9b7188cbdfd9f1856f9e405a06e43bf0c (patch) | |
tree | 1914ee10080fc18198b00c239ce48004d2fd944d /aimtux-uload | |
download | aur-5deebfa9b7188cbdfd9f1856f9e405a06e43bf0c.tar.gz |
First commit
Diffstat (limited to 'aimtux-uload')
-rw-r--r-- | aimtux-uload | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/aimtux-uload b/aimtux-uload new file mode 100644 index 000000000000..16e44ac8397a --- /dev/null +++ b/aimtux-uload @@ -0,0 +1,13 @@ +#!/bin/sh +# credits: aixxe @ aixxe.net +if grep -q /usr/lib/libAimTux.so /proc/$(pidof csgo_linux64)/maps; then + sudo gdb -n -q -batch \ + -ex "attach $(pidof csgo_linux64)" \ + -ex "set \$dlopen = (void*(*)(char*, int)) dlopen" \ + -ex "set \$dlclose = (int(*)(void*)) dlclose" \ + -ex "set \$library = \$dlopen(\"/usr/lib/libAimTux.so\", 6)" \ + -ex "call \$dlclose(\$library)" \ + -ex "call \$dlclose(\$library)" \ + -ex "detach" \ + -ex "quit" +fi |