Skip to main content

Official API package for https://injects.cert.pl

Project description

injectslib

Python APi for https://injects.cert.pl. Compatible with python2 and python3.

Info

Contact email: msm@cert.pl

Example

import sys
from injectslib import InjectsApi


if len(sys.argv) == 1:
    print("Usage: example.py api_token")
api = InjectsApi(sys.argv[1])

print("Attacks on {}:".format(api.organisation().name))
for attack in api.attacks():
    print(" - attack by {}, first observed at {}".format(
        attack.family,
        attack.first_seen_iso
    ))
    for inject in attack.injects:
        print("   - inject when url like {}".format(inject.url_pattern))
    for action in attack.actions:
        print("   - {} when url like {}".format(
            action.act_type, action.url_pattern
        ))

Project details


Release history Release notifications

Download files

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

Files for injectslib, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size injectslib-0.0.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size injectslib-0.0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page