I was setting up my Kali Linux recently. I was trying to install debuggers (pwndbg, gef, peda) using the following script: https://github.com/apogiatzis/gdb-peda-pwndbg-gef
After the setup I was testing the functions, and I cannot open any of the debbugers, the permissions are denied.
What can I do to solve the issue? Thanks!
I have tried to follow the instructions in this post first: https://infosecwriteups.com/pwndbg-gef-peda-one-for-all-and-all-for-one-714d71bf36b8, but I got no permission
I used the code instead, but it didn't work too. Source: https://github.com/apogiatzis/gdb-peda-pwndbg-gef
I tried to use sudo function but it didn't work, as well as when I was trying in root
sudo chmod +x /usr/bin/gdb-*
I tried to use chattr, but another error occurs.
$lsattr /usr/bin/gdb-pwndbg
-----------e-------- /usr/bin/gdb-pwndbg/gdb-pwndbg
$chattr -e /usr/bin/gdb-pwndbg
chattr: Operation not permitted while setting flags on /usr/bin/gdb-pwndbg/gdb-pwndbg