scanner.py 文件源码

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

项目:rpwd 作者: ivytin 项目源码 文件源码
def show(self):
        utils.print_help('"Target info')
        i = 0
        x = PrettyTable()
        x.field_names = ['index', 'host', 'port']
        for target in self.__targets:
            x.add_row([i, target.host, target.port])
            i += 1
        utils.print_info(x)
        utils.print_help('Threads: ', end='')
        utils.print_info(str(self.__threads))
        utils.print_help('Timeout: ', end='')
        utils.print_info(str(self.__timeout))
        utils.print_help('Output: ', end='')
        utils.print_info(self.__output)
        # utils.print_info("Target info: {}\n"
        #                  "Threads: {}\n"
        #                  "Timeout: {}\n"
        #                  "Output: {}"
        #                  .format(self.__targets, self.__threads, self.__timeout, self.__output))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号