This lib add support to use the Identity API from Intelx.io
Project description
INTELX Python Library
This python library is developed based on the original intelx library, but adding the functionality to use Intelx.io Identity API.
Original source could be find here: https://github.com/IntelligenceX/SDK/tree/master/Python
Installation
You need to install this package and de the original package from IntelX.io
pip install pyintelx
pip install "intelx @ git+https://github.com/IntelligenceX/SDK#subdirectory=Python"
Usage as command
pyintelx -apikey {API_KEY} -search {search_term} -limit 10
pyintelx -apikey {API_KEY} -search {search_term} -limit 10 --identityenabled
pyintelx -apikey {API_KEY} -search {search_term} -limit 10 --identityenabled --accounts
SEARCH EXAMPLES
- Query for 10 leaks containing pepe@example.com in intelx.io API
pyintelx -apikey {API_KEY} search -search pepe@example.com -limit 10
- Query for 10 leaks of accounts and passwords for domain example.com in identity.intelx.io API
pyintelx -apikey {API_KEY} -search example.com -limit 10 --identityenabled --accounts
- Query for 10 data leaks for domain example.com in identity.intelx.io API
pyintelx -apikey {API_KEY} -search example.com -limit 10 --identityenabled
- Download some leak file identied by SYSTEM_ID from some previous search
pyintelx -apikey {API_KEY} -download {SYSTEM_ID} -name {FILE_NAME} -bucket {BUCKET_NAME}
Usage as library
- Print account information
from pyintelx import intelx
API_KEY = "your api key"
intelx_service = intelx(API_KEY)
intelx_service.GET_CAPABILITIES()
- Search for using intelx service
from pyintelx import intelx
API_KEY = "your api key"
intelx_service = intelx(API_KEY)
intelx_service.search("example@example.com", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])
- Search for using identity Search Data Leaks service
from pyintelx import IdentityService
API_KEY = "your api key"
identity_service = IdentityService(API_KEY)
identity_service.search("example@example.com", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])
- Search for using identity export accounts service
from pyintelx import IdentityService
API_KEY = "your api key"
identity_service = IdentityService(API_KEY)
identity_service.export_accounts("example.com", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])
Buckets list
- darknet.tor
- darknet.i2p
- documents.public.scihub
- dumpster
- leaks.private.general
- leaks.public.general
- leaks.public.wikileaks
- pastes
- web.public.dePublic
- web.public.kp
- web.public.uaPublic
- whois
- web.public.com
- web.gov.ru
- dumpster.web.ssn
- dumpster.web.1
- web.public.peer
- leaks.logs
- usenet
- web.public.gov
- web.public.org
- web.public.net
- web.public.info
- web.public.eu
- web.public.cn
- web.public.nord
- web.public.we
- web.public.cee
- web.public.ams
- web.public.af
- web.public.mea
- web.public.oc
- web.public.tech
- web.public.business
- web.public.social
- web.public.misc
- web.public.aq
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
pyintelx-0.2.6.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file pyintelx-0.2.6.tar.gz
.
File metadata
- Download URL: pyintelx-0.2.6.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7237564c9ddad61eff34bc0dff5992d38ce012748e643aec6d16864de8af3450 |
|
MD5 | 5970b9369503cf9f7973dbaa0ff86111 |
|
BLAKE2b-256 | f1e1dbbde472a1bd81c80e2ebe306fdfd933a6043956070d548df32e26b259a2 |
File details
Details for the file pyintelx-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: pyintelx-0.2.6-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16942e5ac36d1f49a5c9664e0347ce91da9574acfd9a48fca9f1550d5d4c297e |
|
MD5 | f031d1221d4c566f51399e9e217c4659 |
|
BLAKE2b-256 | 59a426bdcd25054fc15f9d20e5ac746f02cb4f33a972b8a28c9ef373c94f8278 |