IntelligenceX / SDK

Public SDK for Intelligence X
https://intelx.io
405 stars 93 forks source link

Migrate @CSIRTAmericas/pyintelxio --identityenabled #565

Open cmlh opened 1 week ago

cmlh commented 1 week ago

The idsearch and search functions are to be migrated:

$ pyintelx -search example.com -limit 1 --identityenabled

DEBUG:root:PYthon Function: idsearch PYthon Filename: /venv/bin/pyintelx PYthon Line Number: 64
DEBUG:root:PYthon Function: rightnow PYthon Filename: /venv/bin/pyintelx PYthon Line Number: 40
DEBUG:root:PYthon Function: search PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 40
DEBUG:root:PYthon Function: get_search_results PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 26
DEBUG:root:PYthon Function: get_search_results PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 28
DEBUG:root:PYthon Function: terminate_search PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 77

--identityenabled --accounts is reproduced below:

$ pyintelx -search example.com -limit 1 --identityenabled --accounts

DEBUG:root:PYthon Function: export_accounts PYthon Filename: /venv/bin/pyintelx PYthon Line Number: 72
DEBUG:root:PYthon Function: rightnow PYthon Filename:/venv/bin/pyintelx PYthon Line Number: 40
DEBUG:root:PYthon Function: export_accounts PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 90
DEBUG:root:PYthon Function: get_search_results PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 26
DEBUG:root:PYthon Function: get_search_results PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 28
DEBUG:root:PYthon Function: terminate_search PYthon Filename: /pyintelxio/pyintelx/pyintelx.py PYthon Line Number: 77

Child issue of https://github.com/IntelligenceX/SDK/issues/539