Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Invoke-SocksProxy — Proxy SOCKS y servidor reverse SOCKS usando PowerShell. | Kitploit
Herramientas/GitHubGitHub/p3nt4/invoke-socksproxy
Movimiento LateralSeguridad de RedesPruebas de PenetraciónComando y ControlRed Teaming
GitHubp3nt4/invoke-socksproxy

Invoke-SocksProxy

Proxy SOCKS y servidor reverse SOCKS usando PowerShell.

Ver Repositorio
810166hace 8 mesesRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

Invoke-SocksProxy

Crea un proxy Socks local o 'inverso' utilizando powershell.

El proxy local es un simple proxy Socks 4/5.

El proxy inverso crea un túnel TCP iniciando conexiones SSL salientes que pueden atravesar el proxy del sistema. El túnel puede entonces usarse como un proxy socks en el host remoto para pivotar hacia la red del host local.

Ejemplos

Local

Crea un proxy Socks 4/5 en el puerto 1080:

root@kitploit:~
Import-Module .\Invoke-SocksProxy.psm1
Invoke-SocksProxy -bindPort 1080

Aumenta el número máximo de hilos de 200 a 400

root@kitploit:~
Import-Module .\Invoke-SocksProxy.psm1
Invoke-SocksProxy -threads 400

Inverso

Crea un proxy Socks 4/5 'inverso' en el puerto 1080 de un host remoto:

root@kitploit:~
# On the remote host: 
# Generate a private key and self signed cert
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out cert.pem

# Get the certificate fingerprint to verify it:
openssl x509 -in cert.pem -noout -sha1 -fingerprint | cut -d "=" -f 2 | tr -d ":"

# Start the handler
python3 ReverseSocksProxyHandler.py 443 1080 ./cert.pem ./private.key

# On the local host:
Import-Module .\Invoke-SocksProxy.psm1
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 

# Go through the system proxy:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -useSystemProxy

# Validate certificate
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -certFingerprint '93061FDB30D69A435ACF96430744C5CC5473D44E'

# Give up after a number of failed connections to the handler:
Invoke-ReverseSocksProxy -remotePort 443 -remoteHost 192.168.49.130 -maxRetries 10

Crédito para el truco del Proxy del Sistema: https://github.com/Arno0x/PowerShellScripts/blob/master/proxyTunnel.ps1

Limitaciones

  • Esto es solo un subconjunto de los protocolos Socks 4 y 5: No soporta autenticación, No soporta UDP ni solicitudes bind.
  • Cuando el Proxy Socks se queda sin hilos disponibles, no se pueden establecer nuevas conexiones hasta que se libere un hilo.
  • Nuevas características se implementarán en el futuro. Se aceptan PR.

Aviso legal

Este proyecto está destinado a investigadores de seguridad y testers de penetración y solo debe usarse con la aprobación de los propietarios del sistema.

Descargar herramienta