⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.49
Server IP:
77.37.76.24
Server:
Linux us-phx-web1443.main-hosting.eu 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
u530473652
/
View File Name :
.bash_history
wget https://noteandclass.com/wp-content/ai1wm-backups/noteandclass.com-20230515-095039-kl18k9.wpress exit touch start.sh echo "echo Starting Echuku Ai application..." >> start.sh echo "cd backend && node server.js &" >> start.sh echo "cd frontend && npm start" >> start.sh echo "echo Starting Echuku Ai application..." >> start.sh echo "cd backend && node server.js &" >> start.sh echo "cd frontend && npm start" >> start.sh chmod +x start.sh ./start.sh server { listen 80; server_name ai.echuku.click; location /ai/ { proxy_pass http://localhost:3000; # Adjust this to your frontend port proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } echuku-ai/ │ ├── backend/ │ ├── config/ │ │ ├── db.js │ │ ├── auth.js │ │ └── api.js │ ├── controllers/ │ │ ├── authController.js │ │ ├── userController.js │ │ ├── chatController.js │ │ ├── botController.js │ │ ├── tokenController.js │ │ ├── subscriptionController.js │ │ └── referralController.js │ ├── models/ │ │ ├── User.js │ │ ├── Chat.js │ │ ├── Bot.js │ │ ├── Token.js │ │ ├── Subscription.js │ │ └── Referral.js │ ├── routes/ │ │ ├── authRoutes.js │ │ ├── userRoutes.js │ │ ├── chatRoutes.js │ │ ├── botRoutes.js │ │ ├── tokenRoutes.js │ │ ├── subscriptionRoutes.js │ │ └── referralRoutes.js │ ├── middleware/ │ │ ├── authMiddleware.js │ │ ├── errorHandler.js │ │ └── validator.js │ ├── services/ │ │ ├── emailService.js │ │ ├── paymentService.js │ │ ├── socialMediaService.js │ │ └── botService.js │ ├── utils/ │ │ ├── helpers.js │ │ └── constants.js │ ├── app.js │ └── server.js │ ├── frontend/ │ ├── public/ │ │ ├── index.html │ │ ├── css/ │ │ │ ├── main.css │ │ │ └── chat.css │ │ ├── js/ │ │ │ ├── main.js │ │ │ └── chat.js │ │ ├── images/ │ │ │ ├── bot-backgrounds/ │ │ │ └── icons/ │ │ └── assets/ │ │ └── fonts/ │ │ │ ├── src/ │ │ ├── components/ │ │ │ ├── Auth/ │ │ │ │ ├── Login.js │ │ │ │ ├── Register.js │ │ │ │ └── ForgotPassword.js │ │ │ ├── Chat/ │ │ │ │ ├── ChatWindow.js │ │ │ │ ├── ChatList.js │ │ │ │ ├── ChatInput.js │ │ │ │ ├── NoteForm.js │ │ │ │ └── BotStore.js │ │ │ ├── Dashboard/ │ │ │ │ ├── Overview.js │ │ │ │ ├── Referral.js │ │ │ │ ├── Leaderboard.js │ │ │ │ └── Settings.js │ │ │ ├── Tokens/ │ │ │ │ ├── TokenPurchase.js │ │ │ │ ├── Subscription.js │ │ │ │ ├── TokenTransfer.js │ │ │ │ └── ReferralTokens.js │ │ │ ├── Notifications/ │ │ │ │ ├── Notifications.js │ │ │ │ └── EmailBulk.js │ │ │ ├── SocialMedia/ │ │ │ │ ├── FacebookIntegration.js │ │ │ │ ├── TwitterIntegration.js │ │ │ │ └── InstagramIntegration.js │ │ │ └── Payment/ │ │ │ ├── PaymentDetails.js │ │ │ └── AutoSubscription.js │ │ │ │ │ ├── pages/ │ │ │ ├── ChatPage.js │ │ │ ├── DashboardPage.js │ │ │ └── BotStorePage.js │ │ │ │ │ ├── App.js │ │ ├── index.js │ │ └── routes.js │ │ │ ├── redux/ │ │ ├── actions/ │ │ ├── reducers/ │ │ ├── store.js │ │ └── types.js │ │ │ └── tests/ │ ├── components/ │ ├── pages/ │ ├── actions/ │ ├── reducers/ │ └── utils/ │ ├── database/ │ ├── migrations/ │ ├── seeders/ │ └── schema.sql │ ├── docs/ │ ├── API/ │ │ ├── auth.md │ │ ├── user.md │ │ ├── chat.md │ │ ├── bot.md │ │ ├── token.md │ │ ├── subscription.md │ │ └── referral.md │ ├── user-guides/ │ └── developer-guides/ │ ├── scripts/ │ ├── start.sh │ ├── build.sh │ └── deploy.sh │ ├── .env ├── .gitignore ├── package.json ├── README.md └── LICENSE touch echuku-ai/scripts/start.sh echo "echo Starting Echuku Ai application..." >> echuku-ai/scripts/start.sh echo "cd ../backend && node server.js &" >> echuku-ai/scripts/start.sh echo " / / -bash-4.2$ ^M ls cd public_html ls cd public_html ls cd ../ ls cd ai cd ../ cd ai cd ../ ls cd ../ ls cd ../ ls clear cd home ls cd u530473652 ls cd public_html ls cd public_html ls cd public_html ls pwd ls cd ./public_html pwd ls cd ./public_html ls cd ai.echuku.click ls cd ./public_html ls cd public_html ls cd ../ ls cd ../ ls cd usr ls cd local ls cd ../ ls cd ../ ls cd ../ ls clear pwd cd root ls cd dev ls cd ../ ls cd ./home ls cd u530473652 ls cd domains ls cd echuku.click ls cd public_html ls cd ai ls php artisan migrate php artisan passport:install php artisan l5-swagger:generate cd ../ clear ls cd ./ai clear pwd php artisan migrate php artisan passport:install anzolo cd project_folder clear ls cd ../ ls cd u530473652 ls cd domains ls cd echuku.click ls cd public_html ls cd ai ls php artisan migrate php artisan passport:install php artisan l5-swagger:generate cd domains cd echuku.click cd ai cd public_html cd ai php artisan cache:clear cd ~ cd files/public_html/ai files/public_html/ai cd /echuku.click/public_html/ai echuku.click cd domains/echuku.click/public_html/ai ls ls artisan php artisan migrate --force php -v ls /usr/bin/php* php8.4 /usr/local/bin/composer install php8.4 /usr/local/bin/composer.phar install php -v php artisan migration --force php artisan make:migration add_is_favorite_to_ext_chatbots_table --table=ext_chatbots php artisan migrate ls cd domain/glemvnt.com/public_html/testai ls cd domains/glemvnt.com/public_html/testai ls -php artisan migrate --seed php artisan migrate --seed cd domains/falzz.ai/public_html cd domain/falzz.ai/public_html ls added 558 packages, and audited 559 packages in 3s 41 packages are looking for funding run `npm fund` for details 6 high severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm install php artisan tinker php artisan tinker cd domains/glemvnt.com/public_html/testai ls php artisan tinker cd domains/glemvnt.com/public_html/testai ls # 1. Clear all compiled/cached files php artisan config:clear php artisan cache:clear php artisan route:clear php artisan view:clear # 2. Remove any stale package-discovery caches rm bootstrap/cache/packages.php bootstrap/cache/services.php || true # 3. Rebuild Composer’s autoload map composer dump-autoload -o ls cd domains ls cd glemvnt.com/ ls cd .. cd domains/glemvnt.com/public_html/testai cd ls cd domains/glemvnt.com/public_html/testai ls php artisan migrate --seed cd domains/glemvnt.com/public_html/testai ls ls app/Http/Controllers/API cd app/Http/Controllers/API mkdir -p app/Http/Controllers/API cd app/Http/Controllers/API nano BaseController.php composer dump-autoload cd domain/falzz.ai/public_html cd domains/falzz.ai/public_html ls php artisan migrate --seed cd domains/falzz.ai/public_html ls php artisan schedule:run whereis php /usr/local/bin/php artisan schedule:run * * * * * /usr/bin/php /home/cpanel-user/laravel-app/artisan schedule:run >> /dev/null 2>&1 /usr/bin/php artisan schedule:run find ~/ -name "Restaurant.php" find ~/ -iname "*restaurant*.php" cd domains/falzz.ai/public_html /app/Models/Restaurant.php php artisan make:model Restaurant php artisan make:controller RestaurantController cd /falzz.ai/public_html ls cd domains/falzz.ai/public_html ls php artisan migrate --seed cd domains/falzz.ai/public_html/ ls php artisan migrate --seed nnnnnnnyY php artisan migrate php artisan migrate:status ls database/migrations/ php artisan migrate:status cd domains/ ls cd falzz.ai/ ls cd public_html/ ls cat tail -f storage/logs/laravel.log tail -f storage/logs/laravel.log cd domains/falzz.ai/ ls cd public_html/ ls php artisan config:cache ls nano .env php artisan config:cache ls composer install ls php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'.PHP_EOL; } else { echo 'Installer corrupt'.PHP_EOL; unlink('composer-setup.php'); exit(1); }" php composer-setup.php php -r "unlink('composer-setup.php');" ls composer.phar install ./composer.phar install ./composer.phar update sudo apt install php-sodium ./composer.phar update php -v /opt/cloudlinux/alt-php73/root/usr/bin/php -v /opt/cloudlinux/alt-php83/root/usr/bin/php ./composer.phar update /opt/cloudlinux/alt-php82/root/usr/bin/php ./composer.phar update /opt/cloudlinux/alt-php82/root/usr/bin/php ./composer.phar install nano .env php artisan config:cache nano .env php artisan config:cache /opt/cloudlinux/alt-php82/root/usr/bin/php ./composer.phar update php artisan views:cache php artisan view:cache php artisan optimize:clear cd domains/developer.glemvnt.com/public_html/developer cd domains/glemvent.com/public_html/developer cd domains/glemvnt.com/public_html ls cd developer ls php artisan migrate --seed cd domains/glemvnt.com/public_html cd office ls php artisan migrate --seed cd domains/falzz.ai/public_html cd staging ls php artisan migrate --seed php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear cd domains/falzz.ai/public_html cd staging ls php artisan migrate --seed cd domains/glemvnt.com/public_html cd office ls php artisan migrate --seed cd domains/glemvnt.com/public_html cd office ls php artisan migrate --seed php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear php artisan down # Optional: put the app in maintenance mode php artisan migrate # Apply any database updates if Laravel php artisan up php update.php # or php artisan updater:run # or php artisan app:update php artisan list php artisan down && composer install --no-interaction --prefer-dist --optimize-autoloader && php artisan migrate --force && php artisan cache:clear && php artisan config:clear && php artisan route:clear && php artisan view:clear && php artisan config:cache && php artisan optimize && php artisan up mv /usr/local/bin/composer1.phar /usr/local/bin/composer1-backup.phar composer self-update --2 php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php composer-setup.php --filename=composer2 php -r "unlink('composer-setup.php');" php composer2 -V php composer2 install php composer2 update php artisan up php artisan config:clear php artisan route:clear php artisan view:clear php artisan cache:clear chmod -R 775 storage bootstrap/cache chmod -R 777 storage bootstrap/cache php artisan serve php artisan migrate --seed packages/workdo/Account/src/Database/Migrations/2024_01_09_042731_add_credit_note_balance_to_customers_table.php $table->string('credit_note_balance')->default('0.00')->after('balance'); $table->string('credit_note_balance')->default('0.00'); DESCRIBE customers; ALTER TABLE customers ADD balance DECIMAL(10,2) DEFAULT 0.00; php artisan migrate nano packages/workdo/Account/src/Database/Migrations/2024_01_09_042731_add_credit_note_balance_to_customers_table.php php artisan migrate php artisan migrate:rollback php artisan migrate sudo service apache2 restart sudo systemctl restart php7.4-fpm # Adjust version accordingly php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear cd domains/glemvnt.com/public_html office cd office php artisan migrate --seed cd domains/glemvnt.com/public_html cd office ls php artisan migrate --seed php artisan config:clear php artisan cache:clear php artisan route:clear cd domains/falzz.ai/public_html ls ph artisan migrate --seed php artisan migrate --seed cd domains/glemvnt.com/public_html cd builders ls php artisan migrate --seed cd core ls php artisan migrate --seed php artisan migrate --force cd domains/falzz.ai/public_html cd staging php artisan migrate --force php artisan migrate --seed cd domains/falzz.ai/public_html cd staging ls php artisan migrate --seed cd domains/falzz.ai/public_html ls php artisan migrate --seed php artisan migrate --force cd domains/falzz.ai/public_html ls php artisan schedul:run whereis php php: /usr/bin/php /usr/lib64/php /usr/local/bin/php /usr/local/bin/php artisan schedule:run laravel-app/artisan artisan which php php -v ls php artisan schedule:run crontab -e * * * * * /usr/bin/php /home/u530473652/public_html/artisan schedule:run >> /dev/null 2>&1 crontab -e which php cd domains/falzz.ai/public_html ls crontab -e * * * * * /usr/local/bin/php /path/to/your/app/artisan schedule:run >> /dev/null 2>&1 composer install chmod -R 775 storage bootstrap/cache php artisan config:cache php artisan cache:clear php artisan config:clear php artisan migrate php artisan migrate --force cd domains/falzz.ai/public_html ls sudo apt install php8.1-sqlite3 npm install php artisan migrate php artisan passport:install php artisan l5-swagger:generate cd domains/falzz.ai/public_html ls php artisan migrate --seed php artisan migrate --force cd app ls cd extensions cd Extensions ls cd ls cd \app cd \App cd domains/falzz.ai/public_html ls php artisan migrate php artisan migrate --seed php artisan migrate --force php artisan tinker cd domains/falzz.com/public_html ls php artisan tinker cd domains/falzz.com/public_html ls php artisan migrate --seed php artisan migrate cd domains/falzz.com/public_html ls mysql -u u530473652_glemvntfalzz -p u530473652_glemvntfalzz cd domains/falzz.com/public_html ls php artisan migrate php artisan migrate --seed cd domains/falzz.com/public_html ls php artisan migrate cd domains/falzz.ai/public_html ls php artisan migrate --seed cd domains/falzz.ai/public_html ls ls -la | grep artisan cat > .gitignore << 'EOF' # --- Laravel standard ignores --- /vendor/ /node_modules/ /public/hot /public/storage /storage/*.key /storage/app/public /storage/framework/cache/data /storage/logs /storage/framework/sessions /storage/framework/views /.env /.env.* /.env.backup Homestead.yaml Homestead.json /.idea /.vscode .phpunit.result.cache npm-debug.log* yarn-debug.log* yarn-error.log* # --- Hostinger artifacts --- error_log EOF if [ -f .env ] && [ ! -f .env.example ]; then cp .env .env.example sed -i 's/^APP_KEY=.*/APP_KEY=base64:CHANGEME/' .env.example || true; sed -i 's/^DB_PASSWORD=.*/DB_PASSWORD=CHANGEME/' .env.example || true; sed -i 's/^DB_USERNAME=.*/DB_USERNAME=CHANGEME/' .env.example || true; sed -i 's/^DB_DATABASE=.*/DB_DATABASE=CHANGEME/' .env.example || true; fi git --version # confirm git is available git init git config user.name "Hope284" git config user.email "anzoloahope@gmail.com" git add . git commit -m "Initial commit: Laravel app from Hostinger" git branch -M maingit remote add origin https://github.com/Hope284/EchukuAI.git git push -u origin main git remote add origin https://github.com/Hope284/EchukuAI.git git push -u origin main git remote add origin https://github.com/Hope284/EchukuAI.git git push -u origin main