Python implementation of the Wappalyzer web application detection utility.
Project description
python3-webappalyzer
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python3_webappalyzer-1.1.1-py3-none-any.whl.
File metadata
- Download URL: python3_webappalyzer-1.1.1-py3-none-any.whl
- Upload date:
- Size: 134.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8c461a96c7cdf76728f378d55ea6e204c21893720f74716d496687e63df4bff
|
|
| MD5 |
0ab9939016a0a2d1565cbcfe5a1b4409
|
|
| BLAKE2b-256 |
5e762b6f4975b097756bc20e33c2f0b0b205812d34faba95c5ebad882cd81ca0
|