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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
injectslib-0.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for injectslib-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d067b527545fc9675bafddd89c60ab739c0414457dbec17ae2306dc570a639e3 |
|
MD5 | 108bd0f3e74c5c7c2c957c7bbfcf637e |
|
BLAKE2b-256 | 357f9228e170e63ddf8c5283822dad7e98e16dbf2d1b5103367b9d01e49c62fb |