Skip to main content

Python implementation of the Wappalyzer web application detection utility.

Project description

python3-webappalyzer

image

image

image

Python implementation of the Wappalyzer web application detection utility.

Install

$ pip install python3-wappalyzer

Require Python3.6 or later.

Usage

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

>>> from wappalyzer.Wappalyzer import Wappalyzer
>>> from wappalyzer.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 wappalyzer.webpage._bs4 import WebPage
from wappalyzer.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.1-py3-none-any.whl (134.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python3_webappalyzer-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8c461a96c7cdf76728f378d55ea6e204c21893720f74716d496687e63df4bff
MD5 0ab9939016a0a2d1565cbcfe5a1b4409
BLAKE2b-256 5e762b6f4975b097756bc20e33c2f0b0b205812d34faba95c5ebad882cd81ca0

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