pyintelx


Namepyintelx JSON
Version 0.2.6 PyPI version JSON
download
home_pagehttps://github.com/csirtamericas/pyintelxio
SummaryThis lib add support to use the Identity API from Intelx.io
upload_time2023-08-29 15:05:49
maintainer
docs_urlNone
authorFermin Baudino, Einar Lanfranco, Federico Carrilao
requires_python>=3.6
licenseMIT
keywords python package distribution
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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

```bash
pip install pyintelx
pip install "intelx @ git+https://github.com/IntelligenceX/SDK#subdirectory=Python"
```

Usage as command
================

```bash 

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

```bash
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

```bash
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

```bash
pyintelx -apikey {API_KEY} -search example.com -limit 10 --identityenabled
```

* Download some leak file identied by SYSTEM_ID from some previous search

```bash
pyintelx -apikey {API_KEY} -download {SYSTEM_ID} -name {FILE_NAME} -bucket {BUCKET_NAME}
```


Usage as library
================

* Print account information

```python
from pyintelx import intelx
API_KEY = "your api key"

intelx_service = intelx(API_KEY)

intelx_service.GET_CAPABILITIES()

```

* Search for using intelx service

```python
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

```python
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

```python
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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/csirtamericas/pyintelxio",
    "name": "pyintelx",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "python, package, distribution",
    "author": "Fermin Baudino, Einar Lanfranco, Federico Carrilao",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/f1/e1/dbbde472a1bd81c80e2ebe306fdfd933a6043956070d548df32e26b259a2/pyintelx-0.2.6.tar.gz",
    "platform": null,
    "description": "INTELX Python Library   \n========================\n\nThis python library is developed based on the original intelx library, but adding the functionality to use Intelx.io Identity API.\n\nOriginal source could be find here: *https://github.com/IntelligenceX/SDK/tree/master/Python*\n\nInstallation\n------------\n\nYou need to install this package and de the original package from IntelX.io\n\n```bash\npip install pyintelx\npip install \"intelx @ git+https://github.com/IntelligenceX/SDK#subdirectory=Python\"\n```\n\nUsage as command\n================\n\n```bash \n\npyintelx -apikey {API_KEY} -search {search_term} -limit 10 \n\npyintelx -apikey {API_KEY} -search {search_term} -limit 10 --identityenabled\n\npyintelx -apikey {API_KEY} -search {search_term} -limit 10 --identityenabled --accounts\n\n```\n\nSEARCH EXAMPLES\n---------------\n\n* Query for 10 leaks containing pepe@example.com in intelx.io API\n\n```bash\npyintelx -apikey {API_KEY} search -search pepe@example.com -limit 10\n```\n\n* Query for 10 leaks of accounts and passwords for domain example.com in identity.intelx.io API\n\n```bash\npyintelx -apikey {API_KEY} -search example.com -limit 10 --identityenabled --accounts\n```\n\n* Query for 10 data leaks for domain example.com in identity.intelx.io API\n\n```bash\npyintelx -apikey {API_KEY} -search example.com -limit 10 --identityenabled\n```\n\n* Download some leak file identied by SYSTEM_ID from some previous search\n\n```bash\npyintelx -apikey {API_KEY} -download {SYSTEM_ID} -name {FILE_NAME} -bucket {BUCKET_NAME}\n```\n\n\nUsage as library\n================\n\n* Print account information\n\n```python\nfrom pyintelx import intelx\nAPI_KEY = \"your api key\"\n\nintelx_service = intelx(API_KEY)\n\nintelx_service.GET_CAPABILITIES()\n\n```\n\n* Search for using intelx service\n\n```python\nfrom pyintelx import intelx\nAPI_KEY = \"your api key\"\n\nintelx_service = intelx(API_KEY)\nintelx_service.search(\"example@example.com\", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])\n```\n\n* Search for using identity Search Data Leaks service\n\n```python\nfrom pyintelx import IdentityService\nAPI_KEY = \"your api key\"\n\nidentity_service = IdentityService(API_KEY)\n\nidentity_service.search(\"example@example.com\", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])\n```\n\n* Search for using identity export accounts service\n\n```python\nfrom pyintelx import IdentityService\nAPI_KEY = \"your api key\"\n\nidentity_service = IdentityService(API_KEY)\n\nidentity_service.export_accounts(\"example.com\", maxresults=max_results, datefrom=date_from, dateto=date_to, buckets=[])\n```\n\n\n## Buckets list\n- darknet.tor\n- darknet.i2p\n- documents.public.scihub\n- dumpster\n- leaks.private.general\n- leaks.public.general\n- leaks.public.wikileaks\n- pastes\n- web.public.dePublic\n- web.public.kp\n- web.public.uaPublic\n- whois \n- web.public.com\n- web.gov.ru\n- dumpster.web.ssn\n- dumpster.web.1\n- web.public.peer\n- leaks.logs\n- usenet\n- web.public.gov\n- web.public.org\n- web.public.net\n- web.public.info\n- web.public.eu\n- web.public.cn\n- web.public.nord\n- web.public.we\n- web.public.cee\n- web.public.ams\n- web.public.af\n- web.public.mea\n- web.public.oc\n- web.public.tech\n- web.public.business\n- web.public.social\n- web.public.misc\n- web.public.aq\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "This lib add support to use the Identity API from Intelx.io",
    "version": "0.2.6",
    "project_urls": {
        "Homepage": "https://github.com/csirtamericas/pyintelxio"
    },
    "split_keywords": [
        "python",
        " package",
        " distribution"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59a426bdcd25054fc15f9d20e5ac746f02cb4f33a972b8a28c9ef373c94f8278",
                "md5": "f031d1221d4c566f51399e9e217c4659",
                "sha256": "16942e5ac36d1f49a5c9664e0347ce91da9574acfd9a48fca9f1550d5d4c297e"
            },
            "downloads": -1,
            "filename": "pyintelx-0.2.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f031d1221d4c566f51399e9e217c4659",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6617,
            "upload_time": "2023-08-29T15:05:48",
            "upload_time_iso_8601": "2023-08-29T15:05:48.130573Z",
            "url": "https://files.pythonhosted.org/packages/59/a4/26bdcd25054fc15f9d20e5ac746f02cb4f33a972b8a28c9ef373c94f8278/pyintelx-0.2.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1e1dbbde472a1bd81c80e2ebe306fdfd933a6043956070d548df32e26b259a2",
                "md5": "5970b9369503cf9f7973dbaa0ff86111",
                "sha256": "7237564c9ddad61eff34bc0dff5992d38ce012748e643aec6d16864de8af3450"
            },
            "downloads": -1,
            "filename": "pyintelx-0.2.6.tar.gz",
            "has_sig": false,
            "md5_digest": "5970b9369503cf9f7973dbaa0ff86111",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 6308,
            "upload_time": "2023-08-29T15:05:49",
            "upload_time_iso_8601": "2023-08-29T15:05:49.540097Z",
            "url": "https://files.pythonhosted.org/packages/f1/e1/dbbde472a1bd81c80e2ebe306fdfd933a6043956070d548df32e26b259a2/pyintelx-0.2.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-29 15:05:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "csirtamericas",
    "github_project": "pyintelxio",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pyintelx"
}
        
Elapsed time: 2.11112s