
cve-2020-10977 lettura ed esecuzione
get_secret.py - script principale. Usa il codice di thewhiteh4t per sfruttare cve-2020-10977 al primo avvio e recupera un secret_key_base dal repository fornito. Poi lancia cookie_maker.sh per generare il cookie con il payload.
Uso: python get_secret.py http://gitlab.vh foo gfhjkm123
cookie_maker.sh - avvia docker e genera un cookie dannoso. Può essere usato standalone.
Uso: cookie_maker.sh <secret_key_base> "echo /etc/passwd > /tmp/owned"
Basato sul repository di thewhiteh4t: https://github.com/thewhiteh4t/cve-2020-10977
Esso può dovrebbe contenere bug. Se get_secret.py termina correttamente ma non genera cookie, eseguilo di nuovo.