root@pgq-virtual-machine:/home/pgq/桌面/linux-inject/dlinject# python3 dlinject.py 5007 /home/pgq/桌面/linux-inject/trp.so
| _/| | || ____ || ____ / | ______ ..
/ __ | | | | |/ \ | |/ __ _/ \ \ _ < | |
/ // | | || | | \ | \ /\ _| | | |> > |
_ | |____/|| /_| |__ >___ >| /| // ____|
/ /_| / / /|_| /
source: https://github.com/DavidBuchanan314/dlinject
[] searching for dlopen...
[] located dlopen in /usr/lib/x86_64-linux-gnu/libc-2.31.so @ offset 0x7f4625d70000.
Traceback (most recent call last):
File "dlinject.py", line 385, in
dlinject(args.pid, abs_path, args.stopmethod or "sigstop")
File "dlinject.py", line 128, in dlinject
dl_open_addr = mod_base + dl_open_offset
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
root@pgq-virtual-machine:/home/pgq/桌面/linux-inject/dlinject# python3 dlinject.py 5007 /home/pgq/桌面/linux-inject/trp.so
| _/| | || ____ || ____ / | ______ ..
/ __ | | | | |/ \ | |/ __ _/ \ \ _ < | |
/ // | | || | | \ | \ /\ _| | | |> > |
_ | |____/|| /_| |__ >___ >| /| // ____|
/ /_| / / /|_| /
source: https://github.com/DavidBuchanan314/dlinject
[] searching for dlopen...
[] located dlopen in /usr/lib/x86_64-linux-gnu/libc-2.31.so @ offset 0x7f4625d70000.
Traceback (most recent call last):
File "dlinject.py", line 385, in
dlinject(args.pid, abs_path, args.stopmethod or "sigstop")
File "dlinject.py", line 128, in dlinject
dl_open_addr = mod_base + dl_open_offset
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'