Skip to main content

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"

Enviromental Variables

You can set up this two variables if you want

INTELX_KEY= {api_key} # API KEY of your IntelligenceX account
IDENTITY_ENABLED= {anything} # If present identity api search is enabled. Identity service needs the api key set up.

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

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


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.7.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

pyintelx-0.2.7-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pyintelx-0.2.7.tar.gz.

File metadata

  • Download URL: pyintelx-0.2.7.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyintelx-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b6caae6251be0c4540ae367a018651aad287567700decbb72ba6baa0e20e3eb3
MD5 ccf9840c982502ab59684e61f7f9bb2e
BLAKE2b-256 c71ff553cb228711e6b74391abea3cf0b79d4d16553b264ac438a504f6f16fa7

See more details on using hashes here.

Provenance

File details

Details for the file pyintelx-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: pyintelx-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyintelx-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c63170ad50868a88fa24bc6fd258630857eac2cf7be13c9fb6259994e48412
MD5 4630d7ad888404769e515daf8e70cdc5
BLAKE2b-256 b90f25f036436864c7400280e7f2b021f2df0220a7258bee2eb609f9c1c6f104

See more details on using hashes here.

Provenance

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