Driver.py 文件源码

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

项目:detective 作者: tijme 项目源码 文件源码
def cb_crawler_after_finish(self, queue):
        """Crawler callback (called after the crawler finished).

        Args:
            queue (obj): The current crawling queue.

        """

        if queue.get_all(QueueItem.STATUS_CANCELLED):
            colorlog.getLogger().warning("Detective scanner finished (but some requests were cancelled).")
        else:
            colorlog.getLogger().info("Detective scanner finished.")

        if self.__vulnerable_items:
            colorlog.getLogger().success("Found " + str(len(self.__vulnerable_items)) + " endpoint(s) with interesting information.")
            colorlog.getLogger().success("Listing endpoint(s) with interesting information.")

            for vulnerable_item in self.__vulnerable_items:
                colorlog.getLogger().success(vulnerable_item.request.url)
        else:
            colorlog.getLogger().warning("Couldn't find any endpoints with interesting information.")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号