Skip to main content

Herramienta para extraer informacion de documentos localizados en un directorio en base a keywords.

Project description

Searcher

Herramienta para extraer informacion de documentos localizados en un directorio en base a keywords.

Util para auditorias en las que encontramos un share que nos decargamos mediante netexec o smbclient, y queremos procesar toda la info lo mas rapido posible

Instalacion

Necesita catdoc instalado:

sudo apt install catdoc

Para los requisitos externos necesita:

  • textract
  • PyPDF2 < lo mismo podria cambiarlo a textract
  • zipfile < cuando los encuentra, extrae los contenidos y realiza la busqueda tambien dentro de ellos

Uso basico

python searcher.py -p /path/to/search

Uso Avanzado

Tenemos varios argumentos con los que podemos modificar su comportamiento

  • -k: cambia los keywords a buscar. Por defecto es "passwd". Mucho cuidao con cambiar esto que como metamos palabras genericas genera muchisimo ruido

TODO

Revisar porque no hace MATCH en PDF ni docs ni similares, solo csv y xls/x

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

kssm-searcher-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

kssm_searcher-0.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file kssm-searcher-0.1.1.tar.gz.

File metadata

  • Download URL: kssm-searcher-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for kssm-searcher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8e9e7875812a8b66b8187b403678c61af4264e2a68c72cf7d0f7c5562b37132
MD5 7ba2810ab1d8a5c55916f6be788ab913
BLAKE2b-256 b72e1e134f820bde5fe6319fd903de6f4321f2c4c8e74ba6183ae0d2b0731f1a

See more details on using hashes here.

File details

Details for the file kssm_searcher-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kssm_searcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1f971c9aa6688101fe30e0bb81c52afedcb685c64cc091e4bf199ee79fd5c0
MD5 ecb93de912727b471c6ca6c8af621ae5
BLAKE2b-256 41c0d86e90a014642e504cbb28882c0bebb37fa1539cd21f1acd89d90d7ee90f

See more details on using hashes here.

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