
Eine HackIndex.io-Sandbox-Umgebung für die React2Shell-Schwachstelle.
Eine HackIndex.io Sandbox-Umgebung für die React2Shell-Sicherheitslücke. Dies startet eine Web-App auf Port 3000 und einen SSH-Server auf Port 2222.
docker compose up --build --force-recreate
ssh [email protected] -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
docker compose down -v
cd /app # Zum Web-App-Verzeichnis wechseln
npm audit # Auf Probleme prüfen
supervisorctl stop next # Web-App stoppen
npm audit fix --force # Sicherheitsprobleme beheben
npm run build # Web-App neu erstellen
supervisorctl start next # Web-App starten