All Projects → abusix → querycontacts

abusix / querycontacts

Licence: GPL-3.0 license
Query network abuse contacts for a given ip address on abuse-contacts.abusix.zone

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to querycontacts

lit-ncov-report
洛阳理工学院 "健康状况管控平台" , 非官方Python封装库兼CLI工具与拓展实现
Stars: ✭ 41 (+215.38%)
Mutual labels:  pypi
PypiScan
这个脚本主要提供对pypi供应链的源头进行安全扫描研究,扫描并发现未知的恶意包情况。
Stars: ✭ 25 (+92.31%)
Mutual labels:  pypi
upcloud-python-api
Python client for UpCloud's API
Stars: ✭ 51 (+292.31%)
Mutual labels:  pypi
copulae
Multivariate data modelling with Copulas in Python
Stars: ✭ 96 (+638.46%)
Mutual labels:  pypi
tsplib95
Library for working with TSPLIB files.
Stars: ✭ 48 (+269.23%)
Mutual labels:  pypi
TopicNet
Interface for easier topic modelling.
Stars: ✭ 127 (+876.92%)
Mutual labels:  pypi
thanker
Don't be a wanker, be a thanker! Automatically give thanks to Pypi packages you use in your project.
Stars: ✭ 25 (+92.31%)
Mutual labels:  pypi
twitivity
🐍 Twitter Accounts Activity API Client Library for Python
Stars: ✭ 49 (+276.92%)
Mutual labels:  pypi
poetry-setup
Generate setup.py (setuptools) from pyproject.toml (poetry)
Stars: ✭ 44 (+238.46%)
Mutual labels:  pypi
asyncio-socks-server
A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.
Stars: ✭ 154 (+1084.62%)
Mutual labels:  pypi
generate-word-cloud.py
🐍 A simple Python (2 or 3) script to generate a PNG word-cloud ☁️ image from a bunch of 📂 text files 🎉. Based on word_cloud by @amueller.
Stars: ✭ 19 (+46.15%)
Mutual labels:  pypi
Flask-Validator
Validator for SQLAlchemy Models
Stars: ✭ 27 (+107.69%)
Mutual labels:  pypi
pandoc-latex-environment
Pandoc filter for adding LaTeX environement on specific div
Stars: ✭ 27 (+107.69%)
Mutual labels:  pypi
duckpy
A simple Python library for searching on DuckDuckGo.
Stars: ✭ 20 (+53.85%)
Mutual labels:  pypi
pypi-tools
Command-line Python scripts to do things with PyPI
Stars: ✭ 18 (+38.46%)
Mutual labels:  pypi
pycayennelpp
A Cayenne Low Power Payload (CayenneLPP) decoder and encoder for Python
Stars: ✭ 17 (+30.77%)
Mutual labels:  pypi
niet
Parse/Read yaml or json files directly in your shell (sh, bash, ksh, ...)
Stars: ✭ 27 (+107.69%)
Mutual labels:  pypi
HABApp
Easy home automation with MQTT and/or openHAB
Stars: ✭ 35 (+169.23%)
Mutual labels:  pypi
ertis-auth
Generic token generator and validator service like auth
Stars: ✭ 28 (+115.38%)
Mutual labels:  pypi
export-dynamodb
Export Amazon DynamoDb to CSV or JSON
Stars: ✭ 52 (+300%)
Mutual labels:  pypi

Build Status PyPi Version PyPi License PyPi Versions PyPi Wheel

querycontacts - Query Abuse Contacts

Installation

pip install querycontacts

Starting with version 2.0.0 support for python 2.7 is dropped. This is related to dnspython 2.0.0 also dropping support.

Command line usage

usage: querycontacts [-h] [--provider PROVIDER] [--version] ip

QueryContact - Find the Abuse contact for a IP address

positional arguments:
ip                   query network abuse contacts for a given ip address

optional arguments:
-h, --help           show this help message and exit
--provider PROVIDER  change standard network abuse contacts provider.
                    Defaults to abuse-contacts.abusix.zone
--version            show program's version number and exit

Examples

Show version:

$ querycontacts --version
querycontacts 2.0.0

Show abuse contact for your IP:

$ IP=$(curl ipecho.net/plain)
$ querycontacts $IP
[email protected]

Test response for localhost:

$ querycontacts 127.0.0.1
Abusix ContactDB Test point

Library usage

>>> from querycontacts import ContactFinder
>>> qf = ContactFinder()
>>> qf.find('127.0.0.2')
['root@localhost', 'abuse@localhost']

>>> qf.find('::ffff:7f00:2')
['root@localhost']
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].