
React2Shell 취약점을 위한 HackIndex.io 샌드박스 환경입니다.
React2Shell 취약점을 위한 HackIndex.io 샌드박스 환경입니다. 포트 3000에서 웹 앱을, 포트 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