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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file wap-0.0.2.tar.gz.

File metadata

  • Download URL: wap-0.0.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for wap-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c6cfb35814d469bc9b6b45be63aba3dc7407caca0dfa37c974d0e04d278a828f
MD5 2821c119346c0a128d8b7c515e611cf4
BLAKE2b-256 a320b3716c046ad55bd885653971380043c26db9c29e3924bf5f41f2b13856f2

See more details on using hashes here.

File details

Details for the file wap-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wap-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for wap-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 721a5854a7c8d47957227ee64770298da1003fda0c07371f64afea4a78ef8a35
MD5 1b903f3413a84312e1c2fcd337c65200
BLAKE2b-256 7f86581b771fdee879f92b98efa9c02a62bd00fc172e736bb418e53e113defc1

See more details on using hashes here.

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