summarylogtreecommitdiffstats
path: root/aimtux-load
blob: c3224e5c98eb8d4a0f0cf7929902bf87ddf5e3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# credits: aixxe @ aixxe.net
if grep -q /usr/lib/libAimTux.so /proc/$(pidof csgo_linux64)/maps; then
  exit
fi

sudo gdb -n -q -batch \
  -ex "attach $(pidof csgo_linux64)" \
  -ex "set \$dlopen = (void*(*)(char*, int)) dlopen" \
  -ex "call \$dlopen(\"/usr/lib/libAimTux.so\", 1)" \
  -ex "detach" \
  -ex "quit"