
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