pwntools 解决安装terminator后 unable to find a shell
发布时间:2020-12-15 09:19:07 所属栏目:安全 来源:网络整理
导读:背景: 安装了terminator之后,在python脚本使用pwntools中的gdbattach程序会遇到错误。 日志信息如下: pythonexp.py [*] running in new terminal: /usr/bin/gdb -q "/home/thinkycx/Desktop/20171104pwn/simple_login" 111121 [] Waiting for debugger
背景:安装了terminator之后,在python脚本使用pwntools中的gdbattach程序会遇到错误。 日志信息如下: pythonexp.py [*] running in new terminal: /usr/bin/gdb -q "/home/thinkycx/Desktop/20171104pwn/simple_login" 111121
起的shell里报错: Unabletofindashell
解决方法:在python脚本中,设置 context.terminal = ['terminator','-x','sh','-c'] (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |