Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

problem injecting in fedora

Open sjv-afk1 opened this issue 7 months ago • 2 comments

//command cd ~/Osiris/build/Source sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen("$PWD/libOsiris.so", 2)"

warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container.

warning: Expected absolute pathname for libpthread in the inferior, but got .gnu_debugdata for target:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libc.so.6.

warning: Expected absolute pathname for libpthread in the inferior, but got target:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libc.so.6.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

This method works in ubuntu though but in FEDORA I am getting this error

sjv-afk1 avatar Apr 18 '25 13:04 sjv-afk1

if you want an alternative, you could try https://github.com/avitran0/deadlocked

avitran0 avatar Apr 25 '25 12:04 avitran0

//command cd ~/Osiris/build/Source sudo gdb -batch-silent -p $(pidof cs2) -ex "call (void*)dlopen("$PWD/libOsiris.so", 2)"

warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable. Connect to gdbserver inside the container.

warning: Expected absolute pathname for libpthread in the inferior, but got .gnu_debugdata for target:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libc.so.6.

warning: Expected absolute pathname for libpthread in the inferior, but got target:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libc.so.6.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

This method works in ubuntu though but in FEDORA I am getting this error

can you test mine its a for of deadlocked https://github.com/s-b-repo/deadshotv1

s-b-repo avatar May 11 '25 00:05 s-b-repo