Saltar a contenido

Burp

"Clase de la hoja"

########################################################################################################################################################################################################################################################## Copiar todos los comandos
########################################################################################################################################################################################################################################################## Generar PDF seleccionado/button

■/div titulada

Comandos integrales y patrones de uso para una gestión eficiente del flujo de trabajo.

Sinopsis

Burp es una herramienta poderosa para diversas operaciones y gestión del sistema. Esta hoja de trampa cubre comandos esenciales, opciones de configuración y mejores prácticas.

Instalación

Linux/Ubuntu

# Package manager installation
sudo apt update
sudo apt install burp

# Alternative installation
wget -O burp https://github.com/example/burp/releases/latest/download/burp-linux
chmod +x burp
sudo mv burp /usr/local/bin/

macOS

# Homebrew installation
brew install burp

# Manual installation
curl -L -o burp https://github.com/example/burp/releases/latest/download/burp-macos
chmod +x burp
sudo mv burp /usr/local/bin/

Windows

# Chocolatey installation
choco install burp

# Scoop installation
scoop install burp

# Manual installation
# Download from official website and add to PATH

Comandos básicos

Command Description
burp --help Display help information
burp --version Show version information
burp init Initialize burp in current directory
burp status Check current status
burp list List available options
burp info Display system information
burp config Show configuration
burp update Update to latest version

Operaciones esenciales

Comienzo

# Initialize burp
burp init

# Basic usage
burp run

# With verbose output
burp --verbose run

# With configuration file
burp --config config.yaml run

Configuración

# View configuration
burp config show

# Set configuration option
burp config set key value

# Get configuration value
burp config get key

# Reset configuration
burp config reset

Operaciones avanzadas

# Debug mode
burp --debug run

# Dry run (preview changes)
burp --dry-run run

# Force operation
burp --force run

# Parallel execution
burp --parallel run

Operaciones de archivo

Command Description
burp create <file> Create new file
burp read <file> Read file contents
burp update <file> Update existing file
burp delete <file> Delete file
burp copy <src> <dst> Copy file
burp move <src> <dst> Move file

Operaciones de red

# Connect to remote host
burp connect host:port

# Listen on port
burp listen --port 8080

# Send data
burp send --data "message" --target host

# Receive data
burp receive --port 8080

Características de seguridad

Autenticación

# Login with credentials
burp login --user username

# Logout
burp logout

# Change password
burp passwd

# Generate API key
burp generate-key

Encryption

# Encrypt file
burp encrypt file.txt

# Decrypt file
burp decrypt file.txt.enc

# Generate certificate
burp cert generate

# Verify signature
burp verify file.sig

Solución de problemas

Cuestiones comunes

Issue: Command not found

# Check if installed
which burp

# Reinstall if necessary
sudo apt reinstall burp

Issue: Permission denied

# Run with sudo
sudo burp command

# Fix permissions
chmod +x /usr/local/bin/burp

Issue: Errores de configuración

# Reset configuration
burp config reset

# Validate configuration
burp config validate

Debug Commands

Command Description
burp --debug Enable debug output
burp --verbose Verbose logging
burp test Run self-tests
burp doctor Check system health

Buenas prácticas

Seguridad

  • Siempre verifique las sumas de verificación al descargar
  • Use métodos de autenticación fuertes
  • Actualización regular a la última versión
  • Seguir el principio de mínimo privilegio

Ejecución

  • Use los tamaños adecuados de amortiguación
  • Supervisar el uso de los recursos
  • Optimize configuración para su caso de uso
  • Mantenimiento y limpieza regulares

Mantenimiento

# Update burp
burp update

# Clean temporary files
burp clean

# Backup configuration
burp backup --config

# Restore from backup
burp restore --config backup.yaml

Integración

Scripting

#!/bin/bash
# Example script using burp

if ! command -v burp &> /dev/null; then
    echo "burp is not installed"
    exit 1
fi

if burp run; then
    echo "Success"
else
    echo "Failed"
    exit 1
fi

API Integration

import subprocess
import json

def run_burp(command):
    try:
        result = subprocess.run(['burp'] + command.split(),
                              capture_output=True, text=True)
        return result.stdout
    except Exception as e:
        print(f"Error: \\\\{e\\\\}")
        return None

Medio ambiente

Variable Description Default
BURP_CONFIG Configuration file path ~/.burp/config
BURP_HOME Home directory ~/.burp
BURP_LOG_LEVEL Logging level INFO
BURP_TIMEOUT Operation timeout 30s

Archivo de configuración

# ~/.burp/config.yaml
version: "1.0"
settings:
  debug: false
  timeout: 30
  log_level: "INFO"

network:
  host: "localhost"
  port: 8080
  ssl: true

security:
  auth_required: true
  encryption: "AES256"

Ejemplos

Corrientes básicas de trabajo

# 1. Initialize
burp init

# 2. Configure
burp config set host example.com

# 3. Run operation
burp run

# 4. Check results
burp status

# 5. Cleanup
burp clean

Avanzado flujo de trabajo

# Comprehensive operation
burp run \
  --config production.yaml \
  --parallel \
  --verbose \
  --timeout 300

# Monitoring
burp monitor \
  --interval 60 \
  --alert-threshold 80

Recursos

Documentación oficial

Comunidad

Tutoriales

-...

Última actualización: 2025-07-05