Skip to main content

Python implementation of the Wappalyzer web application detection utility.

Project description

python3-wappalyzer

image

image

image

Python implementation of the Wappalyzer web application detection utility.

Install

$ pip install python3-webappalyzer

Require Python3.6 or later.

Usage

The API exposes two objects: Wappalyzer.Wappalyzer and Wappalyzer.WebPage.

>>> from webappalyzer.Wappalyzer import Wappalyzer
>>> from webappalyzer.webpage._bs4 import WebPage

First create a WebPage. The following code creates a webpage with the request module.

>>> webpage = WebPage.new_from_url('http://example.com')

Then analyze it with Wappalyzer.

>>> wappalyzer = Wappalyzer.latest() 
>>> wappalyzer.analyze(webpage) 
{'Docker', 'Azure CDN', 'Amazon WebServices', 'Amazon ECS'}

To download and use the latest technologies file from AliasIO/wappalyzer repository, create the Wappalyzer driver with the update=True parameter.

>>> wappalyzer = wappalyzer.latest(update=True)

The Wappalyzer object exposes more methods that returns metatada for the detected technologies.

>>> wappalyzer.analyze_with_categories(webpage) {'Amazon ECS':
{'categories': ['IaaS']}, 'Amazon Web Services':
{'categories': ['PaaS']}, 'Azure CDN': {'categories':
['CDN']}, 'Docker': {'categories': ['Containers']}}

>>> webpage = WebPage.new_from_url('http://wordpress-example.com')

>>> wappalyzer.analyze_with_versions_and_categories(webpage) 
{'FontAwesome': {'categories': ['Font scripts'], 'versions': ['5.4.2']}, 'Google Font API': {'categories': ['Fontscripts'], 'versions': []}, 'MySQL': {'categories':['Databases'], 'versions': []}, 'Nginx': {'categories':['Web servers', 'Reverse proxies'], 'versions': []}, 'PHP':
{'categories': ['Programming languages'], 'versions':['5.6.40']}, 'WordPress': {'categories': ['CMS', 'Blogs'],'versions': ['5.4.2']}, 'Yoast SEO': {'categories':['SEO'], 'versions': ['14.6.1']}}

Making asynchronous calls

from webappalyzer.webpage._bs4 import WebPage
from webappalyzer.Wappalyzer import Wappalyzer
import aiohttp

async with aiohttp.ClientSession() as session:
    page = await WebPage.new_from_url_async("https://yourdomain-here.com/", aiohttp_client_session=session)

wappalyzer = Wappalyzer.latest()
wappalyzer.analyze_with_versions_and_categories(page)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python3_webappalyzer-1.1.2-py3-none-any.whl (133.9 kB view details)

Uploaded Python 3

File details

Details for the file python3_webappalyzer-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python3_webappalyzer-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14f2e02f969c8245e409c6bbd7024ff4d46b7c34be9d4387bb8c96f5f780aaf6
MD5 2173adcd22b170a8e70a7506325e71af
BLAKE2b-256 93df28a5dcb0cc2ad18d40e1102379d6c599010e60348fc715a1419dbea75404

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page