Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 564 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 564 Bytes

python-webappanalyzer

python implementation of the webappanalyzer detectors.

import json

import requests
from requests import Response

from webappanalyzer.webappanalyzer import WebAppAnalyzer
from webappanalyzer.web_page import WebPage

if __name__ == '__main__':
    response: Response = requests.get("https://enthec.com/", headers={"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0"})
    page: WebPage = WebPage.new_from_response(response)
    print(json.dumps(WebAppAnalyzer().analyze(page), indent=2))