Skip to content

OdinoCano/security

Repository files navigation

Guía de instalación y automatización

Conda o Docker

  • Conda (recomendado): la mayoría de los proyectos del repositorio son scripts de Python. Conda permite aislar dependencias por herramienta, reproducir instalaciones y automatizar la creación de entornos con facilidad (conda run, conda env export, etc.).
  • Docker: úsalo sólo si el proyecto ya publica una imagen oficial o si necesitas aislar binarios del sistema. Muchos de estos repositorios no incluyen Dockerfile; preparar imágenes reproducibles implica invertir tiempo adicional y mantenerlas actualizadas.

Preparación inicial con Conda

  • Instalar Conda: descarga Miniconda desde https://docs.conda.io/en/latest/miniconda.html e instala en modo no interactivo si vas a automatizar (bash Miniconda3-latest-Linux-x86_64.sh -b -p "$HOME/miniconda").
  • Configurar canales: añade conda config --add channels defaults y, si lo prefieres, conda config --add channels conda-forge.
  • Actualizar Conda: conda update -n base -c defaults conda.
  • Uso en scripts: invoca herramientas con conda run -n <env> <comando> para evitar conda activate dentro de scripts no interactivos.

Automatización basada en Conda

  • Repositorio y entorno: cada fila de la tabla siguiente resume los comandos mínimos para reproducir la instalación con Conda o indicar la alternativa cuando no aplica.
  • Script base: puedes convertir la tabla en un script declarativo. Ejemplo de patrón para proyectos Python:
#!/usr/bin/env bash
set -euo pipefail

install_tool() {
  local repo="$1" env_name="$2" setup_cmd="$3"
  local dir="$(basename "$repo" .git)"

  if [[ ! -d "$dir" ]]; then
    git clone "$repo"
  fi

  if ! conda env list | awk '{print $1}' | grep -qx "$env_name"; then
    conda create -y -n "$env_name" python=3.11 pip
  fi

  conda run -n "$env_name" bash -c "cd $dir && $setup_cmd"
}

# Ejemplo: install_tool "https://github.com/spyboy-productions/CloakQuest3r.git" "cloak" "pip install -r requirements.txt"
  • Paralelización: ejecuta los scripts con GNU parallel o xargs -P si necesitas acelerar la instalación.

Herramientas basadas en Python

  • CloakQuest3r (https://github.com/spyboy-productions/CloakQuest3r.git)

    • Instalar:
      git clone https://github.com/spyboy-productions/CloakQuest3r.git
      conda create -n cloak python=3.11
      conda run -n cloak pip install -r CloakQuest3r/requirements.txt
    • Ejemplo: conda run -n cloak python CloakQuest3r/cloakquest3r.py -t example.com
  • BADDNS (https://github.com/blacklanternsecurity/baddns.git)

    • Instalar:
      git clone https://github.com/blacklanternsecurity/baddns.git
      conda create -n baddns python=3.11 pip
      conda run -n baddns pip install baddns
    • Ejemplo: conda run -n baddns baddns --help
  • creepyCrawler (https://github.com/chm0dx/creepyCrawler.git)

    • Instalar:
      git clone https://github.com/chm0dx/creepyCrawler.git
      conda create -n creepy python=3.11
      conda run -n creepy pip install -r creepyCrawler/requirements.txt
    • Ejemplo: conda run -n creepy python creepyCrawler/creepyCrawler.py --url example.com
  • Egyscan (https://github.com/dragonked2/Egyscan.git)

    • Instalar:
      git clone https://github.com/dragonked2/Egyscan.git
      conda create -n egyscan python=3.11
      conda run -n egyscan pip install -r Egyscan/requirements.txt
    • Ejemplo: conda run -n egyscan python Egyscan/egyscan.py example.com
  • humble (https://github.com/rfc-st/humble.git)

    • Instalar:
      git clone https://github.com/rfc-st/humble.git
      conda create -n humble python=3.11
      conda run -n humble pip install -r humble/requirements.txt
    • Ejemplo: conda run -n humble python humble/humble.py example.com
  • idb-shodan (https://github.com/0xAgun/idb-shodan.git)

    • Instalar:
      git clone https://github.com/0xAgun/idb-shodan.git
      conda create -n idb-shodan python=3.11
    • Ejemplo: conda run -n idb-shodan python idb-shodan/main.py -F filewithip.txt -O output.txt
  • ipdrone (https://github.com/noob-hackers/ipdrone.git)

    • Instalar:
      git clone https://github.com/noob-hackers/ipdrone.git
      conda create -n ipdrone python=3.11
      conda run -n ipdrone pip install -r ipdrone/requirements.txt
    • Ejemplo: conda run -n ipdrone python ipdrone/ipdrone.py -t example.com
  • LeakSearch (https://github.com/JoelGMSec/LeakSearch.git)

    • Instalar:
      git clone https://github.com/JoelGMSec/LeakSearch.git
      conda create -n leaksearch python=3.11
      conda run -n leaksearch pip install -r LeakSearch/requirements.txt
    • Ejemplo: conda run -n leaksearch python LeakSearch/LeakSearch.py -k example.com
  • opensquat (https://github.com/atenreiro/opensquat.git)

    • Instalar:
      git clone https://github.com/atenreiro/opensquat.git
      conda create -n opensquat python=3.11
      conda run -n opensquat pip install -r opensquat/requirements.txt
    • Ejemplo: conda run -n opensquat python opensquat/opensquat.py --subdomains
  • rapidscan (https://github.com/skavngr/rapidscan.git)

    • Instalar:
      git clone https://github.com/skavngr/rapidscan.git
      conda create -n rapidscan python=3.11
      conda run -n rapidscan pip install -r rapidscan/requirements.txt
    • Ejemplo: conda run -n rapidscan python rapidscan/rapidscan.py example.com
  • SquatSquasher (https://github.com/Stuub/SquatSquasher.git)

    • Instalar:
      git clone https://github.com/Stuub/SquatSquasher.git
      conda create -n squat python=3.11
      conda run -n squat pip install -r SquatSquasher/requirements.txt
    • Ejemplo: conda run -n squat python SquatSquasher/squatsquasher.py -d example.com
  • subscraper (https://github.com/m8sec/subscraper.git)

    • Instalar:
      git clone https://github.com/m8sec/subscraper.git
      conda create -n subscraper python=3.11
      conda run -n subscraper pip install -r subscraper/requirements.txt
    • Ejemplo: conda run -n subscraper subscraper -d example.com
  • wafw00f (https://github.com/EnableSecurity/wafw00f.git)

    • Instalar:
      git clone https://github.com/EnableSecurity/wafw00f.git
      conda create -n wafw00f python=3.11
      conda run -n wafw00f pip install wafw00f
    • Ejemplo: conda run -n wafw00f wafw00f example.com
  • XSSCon (https://github.com/menkrep1337/XSSCon.git)

    • Instalar:
      git clone https://github.com/menkrep1337/XSSCon.git
      conda create -n xsscon python=3.11
      conda run -n xsscon pip install -r XSSCon/requirements.txt
    • Ejemplo: conda run -n xsscon python XSSCon/xsscon.py -u example.com

Otros entornos y binarios

  • 403jump (https://github.com/trap-bytes/403jump.git)

    • Instalar:
      git clone https://github.com/trap-bytes/403jump.git
      go install github.com/trap-bytes/403jump@latest
    • Ejemplo: ~/go/bin/403jump --help
  • Cherrybomb (https://github.com/blst-security/cherrybomb.git)

    • Instalar:
      curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
      source "$HOME/.cargo/env"
      cargo install cherrybomb
    • Ejemplo: cherrybomb scan -f api.yaml
  • OTX AlienVault URL (https://github.com/Suryesh/OTX_AlienVault_URL.git)

    • Instalar y ejecutar:
      git clone https://github.com/Suryesh/OTX_AlienVault_URL.git
      chmod +x OTX_AlienVault_URL/alien.sh
      ./OTX_AlienVault_URL/alien.sh
  • RecoX (https://github.com/samhaxr/recox.git)

    • Instalar y ejecutar:
      git clone https://github.com/samhaxr/recox.git
      chmod +x recox/recox.sh
      ./recox/recox.sh
  • Apktool (https://github.com/iBotPeaches/Apktool.git)

  • Goby

    • Instalar: la herramienta se distribuye como binarios propietarios; descárgala desde https://github.com/gobysec/Goby o desde el portal oficial según tu licencia.

Recomendaciones finales

  • Versionado: exporta cada entorno con conda env export -n <env> > envs/<env>.yml para reconstruirlos en CI/CD.
  • Automatización: centraliza los comandos en scripts Bash o Makefiles y ejecútalos desde un pipeline (make setup que invoque cada bloque conda run).
  • Docker: si deseas contenedores, crea imágenes ligeras que invocan los scripts anteriores; parte de mambaorg/micromamba para reducir tiempos de construcción.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published