shell_ctrl.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:packetweaver 作者: ANSSI-FR 项目源码 文件源码
def process(self):
        """ Run the interactive shell after displaying the software version information

        @raise SystemExit
        """
        self._display_banner()

        while 1:
            try:
                self.cmdloop()
            except kbd_exception.CtrlD:
                signal.signal(signal.SIGINT, signal.SIG_DFL)
                return
            except kbd_exception.CtrlC:
                # cancel the current line and get a new one
                pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号