Skip to content

Commit

Permalink
fix gdbinit
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Oct 20, 2021
1 parent 5789730 commit 1659417
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion f8x-ctf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ CTF_Git_Extract_install(){

}

CTF_dumpall_install(){

name="dumpall"
which dumpall > /dev/null 2>&1
if [ $? == 0 ]
then
Echo_ALERT "$name installed"
else
Install_Switch4 "dumpall"
fi

}

CTF_flask-session-cookie-manager_install(){

name="flask-session-cookie-manager"
Expand Down Expand Up @@ -567,7 +580,7 @@ CTF_PWN-pwndbg_install(){
Echo_ALERT "$name is already installed in $dir"
else
cd $P_Dir && $Porxy_OK git clone https://github.com/pwndbg/pwndbg.git > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name in the $dir" || Echo_ERROR3
cd $dir && echo "source ~/pwndbg/gdbinit.py" >> ~/.gdbinit
cd $dir && echo "source /pentest/pwndbg/gdbinit.py" > ~/.gdbinit
fi

}
Expand Down

0 comments on commit 1659417

Please sign in to comment.