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

Con esto valdria con lanzar:

pip install kssm-searcher

Requisitos

Se instalan automaticamente

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

kssm-searcher -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
  • ...

Extensiones Validas

  • bat
  • cmd
  • csv
  • doc
  • docx
  • html
  • json
  • pdf
  • ps1
  • py
  • sh
  • txt
  • xls
  • xlsx
  • xml
  • zip

TODO

  • Completar funcionalidad de ZIP
  • Añadir mas extensiones validas

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

Uploaded Source

Built Distribution

kssm_searcher-0.1.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kssm-searcher-0.1.3.tar.gz
  • Upload date:
  • Size: 4.1 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.3.tar.gz
Algorithm Hash digest
SHA256 5372a92f156eafa54e297c5505eae5bdb964c393d83c2f4e8e1ce4a771a22dd8
MD5 699cd32767d841cbd50fef5a2a56e6ca
BLAKE2b-256 dbf03667d3c7c561e2c2d9ebb411a7c8b7f52c63a9ff561abd416d3bb89f733b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kssm_searcher-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 869eb538f8753357a40e71cd10c57e83c6731ba955c76036799372cf3660b91c
MD5 8a1df2d2206b0122b5bb8775b15fb3a0
BLAKE2b-256 d36436f77edd47a4754b28678cc314559a1fc6692027715f8d5e767cdefc08dd

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