Scripted Local Linux Enumeration & Privilege Escalation Checks
An educational security project teaching developers and security professionals why they should never blindly execute scripts from the internet.
Every day, countless tutorials and documentation tell users to run commands like:
curl https://some-website.com/install.sh | bashThis is extremely dangerous. When you do this, you're:
- ❌ Executing code you haven't reviewed
- ❌ Trusting a remote server completely
- ❌ Potentially compromising your entire system
- ❌ Opening yourself to credential theft
- ❌ Allowing backdoor installation
- ❌ Risking malware or ransomware infection
LinEnum.sh demonstrates this risk in a harmless, educational way. When you run:
curl linenum.sh | bashInstead of a malicious script, you get:
- A clear warning message about the dangers
- A friendly ASCII art Rickroll
- Your country logged for statistics (IP is NOT stored)
No harm done - just a valuable lesson learned! 🎓
Always review scripts before executing them:
# ✅ DO THIS:
curl https://example.com/script.sh -o script.sh
cat script.sh # Review the contents!
vim script.sh # Or use your preferred editor
chmod +x script.sh
./script.sh
# ❌ DON'T DO THIS:
curl https://example.com/script.sh | bash- Real-time Tracking: See who's falling for the trap in real-time
- Global Statistics: Leaderboard showing which countries have the most "victims"
- World Map: Visual representation of curl attempts worldwide
- Educational Content: Clear explanations of why this practice is dangerous
- Open Source: Full transparency - review our code before you judge!
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS with Matrix-inspired theme (inverted for light mode)
- Database: Vercel KV (Redis) for real-time statistics
- Geolocation: IP-based country detection
- Deployment: Vercel Edge Functions
- Language: TypeScript
- No IP Storage: We use your IP only to determine country, then discard it immediately
- Anonymous Statistics: We only store country codes for statistics
- No Tracking Cookies: No third-party analytics or tracking
- Open Source: Full transparency - all code is public
- Educational Purpose: Data used only for demonstration
GET /- Main website (or rickroll script if curl)GET /api/curl- Rickroll script endpointGET /api/curls/recent- Last 10 curl eventsGET /api/curls/leaderboard- Top 10 countriesGET /api/curls/map- Countries that have curled
Contributions are welcome! Please feel free to submit a Pull Request. For major changes:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
thedr0pperx
- GitHub: @thedr0pperx
- Website: linenum.sh
- Original LinEnum.sh project (the real enumeration script)
- rickrollrc for terminal rickroll inspiration
- Security community for teaching proper script execution practices
This is an educational project. The "rickroll" is harmless and meant to teach a valuable security lesson. No malicious code is ever executed. Always review code before running it on your system.
Remember: Friends don't let friends pipe curl to bash! 🚫
If you learned something from this project, give it a ⭐ and share it with others!