Skip to main content

Library to parse wappalyzer technologies.json and extracts matches from HTTP responses

Project description

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.


Project details


Download files

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

Source Distribution

wap-0.0.2.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

wap-0.0.2-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

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