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

Uploaded Source

Built Distribution

kssm_searcher-0.1.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssm-searcher-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d989afd3be3382632768bf07068e66880e9d0d3423e063f0bda4e7105d70c25e
MD5 f58989fb0cbf96c12f99c62b55fae208
BLAKE2b-256 32ec85b4f1059b927ea0a1eacc23b3298da8234577a1289c88becbad2d6951de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kssm_searcher-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe1e1248e858eec5e7e0fbe3e326f0a696d4243657974b0d7e391a05e629b2f2
MD5 a43d2bb7df7b120aaa87ebc75ade7de2
BLAKE2b-256 f5e365ae49a7de2ccc08d196d04e1c556eda572c518aa986d6717ba3547bfe20

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