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.")
评论列表
文章目录