首页 > 编程语言 > 详细

Python Ethical Hacking - WEB PENETRATION TESTING(3)

时间:2019-10-19 23:32:35      阅读:121      评论:0      收藏:0      [点我收藏+]

CRAWLING SUMMARY

Our crawler so far can guess:

  • Subdomains.
  • Directories.
  • Files.

 

Advantages:

->Discover "hidden" paths/paths admin does not want us to know.

 

Disadvantages:

-> Will does not discover everything.

 

Solution:

-> Analyse discovered paths to discover more paths.

 

#!/usr/bin/env python

import requests


def request(url):
    try:
        return requests.get("http://" + url)
    except requests.exceptions.ConnectionError:
        pass


target_url = "10.0.0.45/mutillidae/"

response = request(target_url)

print(response.content)

技术分享图片

 

Python Ethical Hacking - WEB PENETRATION TESTING(3)

原文:https://www.cnblogs.com/keepmoving1113/p/11705984.html

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!