Skip to main content

wap

Library to parse Wappalyzer technologies.json and use its rules to discover web technologies by looking in the HTTP responses.

Functionality is similar to the wappalyzer core module, but in python.

Installation

From pypi:

pip3 install wap

From repo:

git clone https://github.com/blackarrowsec/wap
cd wap/
python3 setup.py install

Example

Here is a little example that uses almost all functionalities of wap with regex to retrieve the technologies of github:

import requests
import wap


technologies, categories = wap.load_file("technologies.json")
resp = requests.get("https://www.github.com")
techno_matches = wap.discover_requests_technologies(technologies, resp)

for t in techno_matches:
    fields = [t.technology.name]
    fields.append(t.version)
    fields.append(str(t.confidence))

    fields.append(",".join(
        [c.name for c in t.technology.categories]
    ))

    print(" ".join(fields))

More examples in examples folder.

Documentation

Documentation can be found in https://wap.readthedocs.io.

Adding new technologies

If you want that wap detects a new technology, you can add your rules to the technologies.json file and load it with wap.

Please, consider to do a pull request to Wappalyzer repo and share your rules with the community. Follow the rules in Adding a new technology.

Please do not submit pull requests related to technologies.json, since this repository is not related with Wappalyzer.

Author

Eloy Pérez (@Zer1t0) [ www.blackarrow.net - www.tarlogic.com ]

License

All the code included in this project is licensed under the terms of the GNU LGPLv3 license.


Metadata

Release files for wap 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wap 0.0.2
File Size Uploaded Provenance Actions
wap-0.0.2.tar.gz 10.9 kB Without provenance Details for wap-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wap 0.0.2
File Interpreter ABI Platform Actions
wap-0.0.2-py3-none-any.whl Python 3 none any Details for wap-0.0.2-py3-none-any.whl

Total release size: 25.1 kB

Release files / wap-0.0.2.tar.gz

Download URL wap-0.0.2.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c6cfb35814d469bc9b6b45be63aba3dc7407caca0dfa37c974d0e04d278a828f
BLAKE2b-256 checksum
How to use checksums
a320b3716c046ad55bd885653971380043c26db9c29e3924bf5f41f2b13856f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release files / wap-0.0.2-py3-none-any.whl

Download URL wap-0.0.2-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
721a5854a7c8d47957227ee64770298da1003fda0c07371f64afea4a78ef8a35
BLAKE2b-256 checksum
How to use checksums
7f86581b771fdee879f92b98efa9c02a62bd00fc172e736bb418e53e113defc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Security for wap 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page