
React2Shell 脆弱性向けの HackIndex.io サンドボックス環境。
HackIndex.io による React2Shell 脆弱性のサンドボックス環境です。 ポート3000でWebアプリ、ポート2222でSSHサーバーが起動します。
docker compose up --build --force-recreate
ssh [email protected] -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
docker compose down -v
cd /app # Change to the web app directory
npm audit # Check for issues
supervisorctl stop next # Stop the web app
npm audit fix --force # Fix the security issues
npm run build # Rebuild the web app
supervisorctl start next # Start the web app