├── meomundep.js ├── proxies.txt ├── privateKeys.txt ├── README.md ├── setup.bat └── setup.sh /meomundep.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /proxies.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /privateKeys.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Disclaimer 2 | 3 | This project includes code that is related to encryption. By using this code, you acknowledge the following: 4 | 5 | - The encryption methods and algorithms implemented here are provided for educational purposes only. 6 | - The author does not take any responsibility for any misuse or unintended consequences that may arise from the use of this code. 7 | - It is your responsibility to ensure that you understand the implications of using encryption and to comply with all applicable laws and regulations in your jurisdiction. 8 | - Always conduct thorough testing and validation of any encryption code before deploying it in a production environment. 9 | 10 | Use this code at your own risk. 11 | -------------------------------------------------------------------------------- /setup.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | title Alpha OS Bot 3 | color 0A 4 | 5 | cd .. 6 | if exist node_modules ( 7 | echo Found node_modules in parent directory 8 | cd %~dp0 9 | ) else ( 10 | cd %~dp0 11 | echo node_modules not found in parent directory 12 | ) 13 | 14 | :MENU 15 | cls 16 | echo ================================================================= 17 | echo Alpha OS BOT SETUP AND RUN SCRIPT 18 | echo ================================================================= 19 | echo. 20 | echo Current directory: %CD% 21 | echo Parent node_modules: %~dp0..\node_modules 22 | echo. 23 | echo 1. Install/Update Node.js Dependencies 24 | echo 2. Create/Edit Configuration Files 25 | echo 3. Run the Bot 26 | echo 4. Exit 27 | echo. 28 | set /p choice="Enter your choice (1-4): " 29 | 30 | if "%choice%"=="1" goto INSTALL 31 | if "%choice%"=="2" goto CONFIG 32 | if "%choice%"=="3" goto RUN 33 | if "%choice%"=="4" goto EXIT 34 | 35 | :INSTALL 36 | cls 37 | echo Checking node_modules location... 38 | if exist "..\node_modules" ( 39 | cd .. 40 | echo Installing/Updating dependencies in parent directory... 41 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 42 | cd %~dp0 43 | ) else ( 44 | echo Installing dependencies in current directory... 45 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 46 | ) 47 | echo. 48 | echo Dependencies installation completed! 49 | pause 50 | goto MENU 51 | 52 | :CONFIG 53 | cls 54 | echo Creating configuration files... 55 | 56 | if not exist configs.json ( 57 | echo {> configs.json 58 | echo "timeZone": "en-US",>> configs.json 59 | echo "rotateProxy": false,>> configs.json 60 | echo "skipInvalidProxy": false,>> configs.json 61 | echo "proxyRotationInterval": 2,>> configs.json 62 | echo "delayEachAccount": [5, 8],>> configs.json 63 | echo "timeToRestartAllAccounts": 300,>> configs.json 64 | echo "howManyAccountsRunInOneTime": 100,>> configs.json 65 | echo "doTasks": true,>> configs.json 66 | echo "playGames": true,>> configs.json 67 | echo "referralCode": "">> configs.json 68 | echo }>> configs.json 69 | echo Created configs.json 70 | ) 71 | 72 | if not exist datas.txt ( 73 | type nul > datas.txt 74 | echo Created datas.txt 75 | ) 76 | if not exist wallets.txt ( 77 | type nul > wallets.txt 78 | echo Created wallets.txt 79 | ) 80 | if not exist proxies.txt ( 81 | type nul > proxies.txt 82 | echo Created proxies.txt 83 | ) 84 | 85 | echo. 86 | echo Configuration files have been created/checked. 87 | echo Please edit the files with your data before running the bot. 88 | echo. 89 | pause 90 | goto MENU 91 | 92 | :RUN 93 | cls 94 | echo Starting the bot... 95 | if exist "..\node_modules" ( 96 | echo Using node_modules from parent directory 97 | ) else ( 98 | echo Using node_modules from current directory 99 | ) 100 | cd alpha-os && node bot 101 | pause 102 | goto MENU 103 | 104 | :EXIT 105 | exit 106 | -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RED='\033[0;31m' 4 | GREEN='\033[0;32m' 5 | YELLOW='\033[1;33m' 6 | NC='\033[0m' 7 | 8 | print_green() { 9 | echo -e "${GREEN}$1${NC}" 10 | } 11 | 12 | print_yellow() { 13 | echo -e "${YELLOW}$1${NC}" 14 | } 15 | 16 | print_red() { 17 | echo -e "${RED}$1${NC}" 18 | } 19 | 20 | chmod +x "$0" 21 | 22 | if [ -d "../node_modules" ]; then 23 | print_green "Found node_modules in parent directory" 24 | MODULES_DIR=".." 25 | else 26 | print_green "Using current directory for node_modules" 27 | MODULES_DIR="." 28 | fi 29 | 30 | create_default_configs() { 31 | cat > configs.json << EOL 32 | { 33 | "timeZone": "en-US", 34 | "rotateProxy": false, 35 | "skipInvalidProxy": false, 36 | "proxyRotationInterval": 2, 37 | "delayEachAccount": [5, 8], 38 | "timeToRestartAllAccounts": 300, 39 | "howManyAccountsRunInOneTime": 10, 40 | "doTasks": true, 41 | "playGames": true, 42 | "referralCode": "" 43 | } 44 | EOL 45 | } 46 | 47 | check_configs() { 48 | if ! node -e "const cfg=require('./configs.json');if(typeof cfg.howManyAccountsRunInOneTime !== 'number' || cfg.howManyAccountsRunInOneTime < 1) throw new Error('Invalid config');" 2>/dev/null; then 49 | print_red "Invalid configuration detected. Resetting to default values..." 50 | create_default_configs 51 | print_green "Configuration reset completed." 52 | fi 53 | } 54 | 55 | while true; do 56 | clear 57 | echo "============================================================================" 58 | echo " Alpha OS BOT SETUP AND RUN SCRIPT" 59 | echo "============================================================================" 60 | echo 61 | echo "Current directory: $(pwd)" 62 | echo "Node modules directory: $MODULES_DIR/node_modules" 63 | echo 64 | echo "1. Install/Update Node.js Dependencies" 65 | echo "2. Create/Edit Configuration Files" 66 | echo "3. Run the Bot" 67 | echo "4. Exit" 68 | echo 69 | read -p "Enter your choice (1-4): " choice 70 | 71 | case $choice in 72 | 1) 73 | clear 74 | print_yellow "Installing/Updating Node.js dependencies..." 75 | cd "$MODULES_DIR" 76 | npm install user-agents axios colors p-limit https-proxy-agent socks-proxy-agent crypto-js ws uuid xlsx readline-sync 77 | cd - > /dev/null 78 | print_green "Dependencies installation completed!" 79 | read -p "Press Enter to continue..." 80 | ;; 81 | 2) 82 | clear 83 | print_yellow "Setting up configuration files..." 84 | 85 | if [ ! -f configs.json ]; then 86 | create_default_configs 87 | print_green "Created configs.json with default values" 88 | fi 89 | 90 | check_configs 91 | 92 | for file in datas.txt wallets.txt proxies.txt; do 93 | if [ ! -f "$file" ]; then 94 | touch "$file" 95 | print_green "Created $file" 96 | fi 97 | done 98 | 99 | print_green "\nConfiguration files have been created/checked." 100 | print_yellow "Please edit the files with your data before running the bot." 101 | read -p "Press Enter to continue..." 102 | ;; 103 | 3) 104 | clear 105 | print_yellow "Checking configuration before starting..." 106 | if ! check_configs; then 107 | print_red "Error: Invalid configuration detected. Please run option 2 to fix configuration." 108 | read -p "Press Enter to continue..." 109 | continue 110 | fi 111 | 112 | print_green "Starting the bot..." 113 | if [ -d "../node_modules" ]; then 114 | print_green "Using node_modules from parent directory" 115 | else 116 | print_green "Using node_modules from current directory" 117 | fi 118 | cd alpha-os && node bot 119 | read -p "Press Enter to continue..." 120 | ;; 121 | 4) 122 | print_green "Exiting..." 123 | exit 0 124 | ;; 125 | *) 126 | print_red "Invalid option. Please try again." 127 | read -p "Press Enter to continue..." 128 | ;; 129 | esac 130 | done 131 | --------------------------------------------------------------------------------