⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.108
Server IP:
97.74.83.112
Server:
Linux 112.83.74.97.host.secureserver.net 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
Server Software:
Apache
PHP Version:
8.2.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
trinadezambia
/
View File Name :
.bash_history
#1778847812 cd public_html/ #1778847816 cd ecommerce/ #1778847822 cd .. #1778847826 cd school_saas/ #1778847834 cd student_panel/ #1778847837 ls #1778847847 npm run build #1778847979 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash #1778847988 source ~/.bashrc #1778847988 nvm install --lts #1778847993 nvm use --lts #1778847993 Verify with: #1778847993 node -v #1778847993 npm -v #1778847999 npm run build #1778848073 rm -rf node_modules/lightningcss && npm install lightningcss #1778848084 npm run build #1778848567 ps aux | grep node #1778848567 #1778848567 cat ~/public_html/school_saas/student_panel/server.log #1778848593 cd ~/public_html/school_saas/student_panel #1778848593 nohup NODE_ENV=production NODE_PORT=8004 node server.js > server.log 2>&1 & #1778848611 sleep 3 && cat server.log #1778848639 nohup env NODE_ENV=production NODE_PORT=8004 node server.js > server.log 2>&1 & #1778848645 sleep 3 && cat server.log #1778848675 npm rebuild lightningcss && npm run build #1778848741 cd public_html/ #1778848743 cd school_saas/ #1778848746 cd student_panel/ #1778848753 npm rebuild lightningcss && npm run build #1778848804 nohup env NODE_ENV=production NODE_PORT=8004 node .next/standalone/server.js > server.log 2>&1 #1778848804 & #1778848804 sleep 3 && cat server.log #1778848822 ls .next/ #1778848867 nohup env NODE_ENV=production PORT=8004 node .next/next-minimal-server.js > server.log 2>&1 & #1778848867 sleep 3 && cat server.log #1778848891 nohup env PORT=8004 npx next start > server.log 2>&1 & #1778848891 sleep 5 && cat server.log #1778848943 cat ~/public_html/school_saas/student_panel/public/.htaccess #1778848965 curl -I http://127.0.0.1:8004 #1778849134 curl https://student.trinadezambia.com/proxy.php?path= #1778849150 cat ~/logs/student.trinadezambia.com.error.log | tail -30 #1778849241 ls ~/logs/ #1778849259 find /usr/local/apache/logs -name "*student*" 2>/dev/null | head -5 #1778849259 ls /usr/local/apache/logs/ 2>/dev/null | head -20 #1778849630 echo "<?php echo 'PHP OK'; ?>" > ~/public_html/school_saas/student_panel/public/test.php #1779202416 cd public_html/ #1779202418 cd gambling #1779202419 ls #1779202451 ls public/ #1779202451 cat public/.htaccess #1779202519 cat /etc/nginx/conf.d/gambling.trinadezambia.com.conf #1779202574 grep -r "gambling" /etc/nginx/ 2>/dev/null | head -20 #1779202638 cat /etc/nginx/conf.d/users/trinadezambia.conf #1779202746 /scripts/rebuildhttpdconf && service httpd restart #1779202802 echo '<?php require __DIR__."/public/index.php";' > ~/public_html/gambling/index.php #1779203131 ls -la ~/public_html/gambling/index.php #1779203158 cat ~/public_html/gambling/index.php #1779203179 echo 'DirectoryIndex index.php Options -Indexes' > ~/public_html/gambling/.htaccess #1779207810 cat /var/cpanel/userdata/trinadezambia/trinadezambia.trinadezambia.com #1779207843 ls /var/cpanel/userdata/trinadezambia/ #1779207856 cat /var/cpanel/userdata/trinadezambia/gambling.trinadezambia.com #1779207870 ls /home/trinadezambia/public_html/gambling/public/ #1780338599 cd public_html/ #1780338601 cd school_saas/ #1780338604 git pull #1780338671 git remote set-url origin https://Annurag-24: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@github.co #1780338671 m/Annurag-24/school_saas.git #1780338693 git remote set-url origin https://Annurag-24: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@github.com/Annurag-24/school_saas.git #1780338708 git pull #1780338928 git update-ref -d "refs/heads/no_image_available-20260518050952-20260518051006-20260518051023-20260518051039-20260518111708-20260518111722-20260518122825-20260518130313-20260518130330-20260520103629-20260528031439-20260528054039.jpg" #1780339167 find .git/refs -name "no_image_available*" -delete #1780339201 grep -v "no_image_available" .git/packed-refs > /tmp/packed-refs-clean && mv /tmp/packed-refs-clean .git/packed-refs #1780339314 git gc --prune=now #1780339474 find .git/objects -name "no_image_available*" -delete #1780339483 git pull #1780339517 git stash #1780339517 git pull #1780339518 git stash pop #1780339788 find . -name "no_image_available*.jpg" -delete #1780339788 cp student_panel/public/proxy.php /tmp/proxy.php #1780339788 git pull #1780339789 cp /tmp/proxy.php student_panel/public/proxy.php #1780345772 cd public_html/ #1780345777 cd school_saas/ #1780345779 cp student_panel/public/proxy.php /tmp/proxy.php #1780345787 rm student_panel/public/proxy.php #1780345794 git stash #1780345802 git pull #1780346254 php artisan migrate --force #1780346312 cd admin_panel/ #1780346314 php artisan migrate --force #1780346568 find /opt -name "php*" -type f | grep -E "bin/php[0-9.]?$" #1780346597 /opt/cpanel/ea-php83/root/usr/bin/php artisan migrate --force #1780346611 php artisan db:seed --class=InstallationSeeder --force #1780346633 /opt/cpanel/ea-php83/root/usr/bin/php artisan migrate --force #1780346641 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=InstallationSeeder --force #1780346649 /opt/cpanel/ea-php83/root/usr/bin/php artisan cache:clear #1780346649 /opt/cpanel/ea-php83/root/usr/bin/php artisan config:clear #1780346650 /opt/cpanel/ea-php83/root/usr/bin/php artisan view:clear #1780346650 /opt/cpanel/ea-php83/root/usr/bin/php artisan route:clear #1780346660 cd .. #1780346663 cd student_panel/ #1780346663 npm install #1780346674 npm run build #1780347466 mysql -u root -p -e "SELECT user, host FROM mysql.user WHERE Super_priv='Y';" #1780347857 pgrep -f "node.*server.js" || echo "NOT RUNNING" #1780348008 kill $(pgrep -f "node.*server.js") 2>/dev/null; sleep 2; cd /home/trinadezambia/public_html/school_saas/student_panel && mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 /home/trinadezambia/.nvm/versions/node/v18.12.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780348209 sleep 3 && pgrep -f "node.*server.js" && echo "RUNNING" #1780348577 which node || find /home/trinadezambia/.nvm -name "node" -type f 2>/dev/null #1780348849 kill $(pgrep -f "node.*server.js") 2>/dev/null; sleep 2; cd /home/trinadezambia/public_html/school_saas/student_panel && mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 ~/.nvm/versions/node/v24.15.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780348885 sleep 3 && pgrep -f "node.*server.js" && echo "RUNNING" || echo "CRASHED - check logs" #1780349106 tail -20 /home/trinadezambia/logs/student_panel.log #1780349148 tail -20 /home/trinadezambia/public_html/school_saas/student_panel/public/error_log 2>/dev/null || cat /usr/local/apache/logs/error_log | grep student | tail -20 #1780349202 cd public_html/ #1780349207 cd school_saas/ #1780349209 git pull #1780387094 cd /home/trinadezambia/public_html/school_saas/admin_panel && mkdir -p /home/trinadezambia/logs && nohup /opt/cpanel/ea-php83/root/usr/bin/php artisan queue:work --sleep=3 --tries=3 --max-time=3600 > /home/trinadezambia/logs/queue.log 2>&1 & echo "Queue worker started PID $!" #1780387218 cd /home/trinadezambia/public_html/school_saas/admin_panel && mkdir -p /home/trinadezambia/logs && nohup /opt/cpanel/ea-php83/root/usr/bin/php artisan reverb:start > /home/trinadezambia/logs/reverb.log 2>&1 & echo "Reverb started PID $!" #1780387491 cd /home/trinadezambia/public_html/school_saas/student_panel && npm install && npm run build #1780387693 tail -30 /home/trinadezambia/logs/student_panel.log #1780387832 ls /home/trinadezambia/public_html/school_saas/student_panel/.next/ #1780388124 curl -s http://localhost:8004/ | head -20 #1780388206 kill $(pgrep -f "node.*server.js") 2>/dev/null; cd /home/trinadezambia/public_html/school_saas/student_panel && npm run build && mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 ~/.nvm/versions/node/v24.15.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780388907 tail -50 /home/trinadezambia/logs/student_panel.log #1780388983 pgrep -f "next build" && echo "STILL BUILDING" || echo "DONE" #1780389014 kill $(pgrep -f "node.*server.js") 2>/dev/null; sleep 2; cd /home/trinadezambia/public_html/school_saas/student_panel && mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 ~/.nvm/versions/node/v24.15.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780389430 sleep 3 && curl -s http://localhost:8004/ | head -30 #1780389449 cat /home/trinadezambia/logs/student_panel.log #1780389468 cd /home/trinadezambia/public_html/school_saas/student_panel && npm run build #1780389541 curl -v http://localhost:8004/ 2>&1 | head -30 #1780389577 cd /home/trinadezambia/public_html/school_saas/student_panel && mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 ~/.nvm/versions/node/v24.15.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780389593 sleep 3 && curl -s http://localhost:8004/ | head -10 #1780389629 curl -s http://localhost:8004/_next/static/chunks/522518d740397639.js | head -5 #1780389667 cat /home/trinadezambia/public_html/school_saas/student_panel/.env #1780389685 curl -s https://admin.trinadezambia.com/api/student/get-school-setting | head -20 #1780389714 curl -s https://admin.trinadezambia.com/api/student/get-school-setting | grep -i "error\|message\|500\|404" | head -5 #1780389732 tail -30 /home/trinadezambia/public_html/school_saas/admin_panel/storage/logs/laravel.log #1780389840 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan route:clear && /opt/cpanel/ea-php83/root/usr/bin/php artisan cache:clear && /opt/cpanel/ea-php83/root/usr/bin/php artisan config:clear #1780389858 curl -s https://admin.trinadezambia.com/api/student/get-school-setting | head -5 #1780389875 /opt/cpanel/ea-php83/root/usr/bin/php artisan route:list | grep "get-school-setting" #1780390123 /opt/cpanel/ea-php83/root/usr/bin/php artisan route:list | grep "student" | head -20 #1780390194 /opt/cpanel/ea-php83/root/usr/bin/php artisan route:list | grep "school-settings" #1780390864 curl -s https://admin.trinadezambia.com/api/student/school-settings | head -10 #1780391193 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="echo \App\Models\School::first()?->code;" #1780392546 cd .. #1780392548 git pull #1780392554 cd admin_panel/ #1780393111 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780393166 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=InstallationSeeder --force && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780393182 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="echo implode(', ', \Spatie\Permission\Models\Role::pluck('name')->toArray());" #1780393262 cd .. #1780393267 git pull #1780393274 cd admin_panel/ #1780393302 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=RoleSeeder --force #1780393309 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780394464 mysql -u root -e "GRANT ALL PRIVILEGES ON \`eschool_saas_1_trinadez\`.* TO 'trinadezambia_school_saas_admin'@'localhost'; FLUSH PRIVILEGES;" #1780394486 GRANT ALL PRIVILEGES ON `eschool_saas_1_trinadez`.* TO #1780394486 'trinadezambia_school_saas_admin'@'localhost'; FLUSH PRIVILEGES; #1780394497 GRANT ALL PRIVILEGES ON `eschool_saas_1_trinadez`.* TO 'trinadezambia_school_saas_admin'@'localhost'; FLUSH PRIVILEGES; #1780394610 grep "DB_PREFIX" /home/trinadezambia/public_html/school_saas/admin_panel/.env #1780394630 sed -i 's/DB_PREFIX="eschool_saas"/DB_PREFIX="trinadezambia_eschool_saas"/' /home/trinadezambia/public_html/school_saas/admin_panel/.env #1780394633 grep "DB_PREFIX" /home/trinadezambia/public_html/school_saas/admin_panel/.env #1780394877 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780394898 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780395127 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="echo \App\Models\School::first()->name.' | '.\App\Models\School::first()->installed;" #1780395220 cgrep "MAIL_" /home/trinadezambia/public_html/school_saas/admin_panel/.env #1780395222 grep "MAIL_" /home/trinadezambia/public_html/school_saas/admin_panel/.env #1780395376 sed -i 's/MAIL_PASSWORD=.*/MAIL_PASSWORD="wide gssg ltzu iyzr"/' /home/trinadezambia/public_html/school_saas/admin_panel/.env && /opt/cpanel/ea-php83/root/usr/bin/php artisan config:clear && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\App\Models\School::truncate(); \App\Models\User::where('email','school@trinadezambia.com')->delete(); echo 'cleared';" && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780395451 cd .. #1780395456 git pull #1780395462 cd admin_panel/ #1780395515 cd /home/trinadezambia/public_html/school_saas && git pull && cd admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="DB::statement('SET FOREIGN_KEY_CHECKS=0'); \App\Models\School::where('code','SCH202601')->delete(); DB::statement('SET FOREIGN_KEY_CHECKS=1'); \App\Models\User::where('email','school@trinadezambia.com')->forceDelete(); echo 'cleared';" && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780395611 cd .. #1780395614 git pull #1780395618 cd admin_panel/ #1780395620 cd /home/trinadezambia/public_html/school_saas && git pull && cd admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="DB::statement('SET FOREIGN_KEY_CHECKS=0'); \App\Models\School::where('code','SCH202601')->delete(); DB::statement('SET FOREIGN_KEY_CHECKS=1'); \App\Models\User::where('email','school@trinadezambia.com')->forceDelete(); echo 'cleared';" && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780395681 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780395766 cd .. #1780395768 git pull #1780395776 cd admin_panel/ #1780395778 /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780396094 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); \DB::statement('SET FOREIGN_KEY_CHECKS=0'); \DB::connection('school')->table('schools')->truncate(); \DB::connection('school')->table('users')->truncate(); \DB::statement('SET FOREIGN_KEY_CHECKS=1'); echo 'school DB cleared';" && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=SchoolSeeder --force #1780396317 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="echo \App\Models\School::first()->name.' | installed:'.\App\Models\School::first()->installed.' | code:'.\App\Models\School::first()->code;" #1780396988 sed -i 's/NEXT_PUBLIC_DEFAULT_SCHOOL_CODE=.*/NEXT_PUBLIC_DEFAULT_SCHOOL_CODE=SCH202601/' /home/trinadezambia/public_html/school_saas/student_panel/.env && cd /home/trinadezambia/public_html/school_saas/student_panel && npm run build && kill $(pgrep -f "node.*server.js") 2>/dev/null; sleep 2; mkdir -p /home/trinadezambia/logs && nohup env NODE_ENV=production NODE_PORT=8004 ~/.nvm/versions/node/v24.15.0/bin/node server.js > /home/trinadezambia/logs/student_panel.log 2>&1 & echo "Started PID $!" #1780397501 pgrep -f "node.*server.js" && echo "RUNNING" || echo "NOT RUNNING" #1780397516 tail -5 /home/trinadezambia/logs/student_panel.log #1780397613 curl -s http://localhost:8004/ | wc -c #1780397629 curl -s http://localhost/proxy.php?path= | wc -c #1780397646 curl -s https://student.trinadezambia.com/ | wc -c #1780397731 curl -sv https://student.trinadezambia.com/ 2>&1 | grep -E "< HTTP|< Content|< Location|SSL|error" | head -10 #1780397756 curl -sv https://student.trinadezambia.com/ 2>&1 | grep "< " | head -20 #1780397772 curl -s "https://student.trinadezambia.com/proxy.php?path=" -v 2>&1 | grep -E "< HTTP|Content-Length|error" | head -10 #1780397835 ls /home/trinadezambia/public_html/school_saas/student_panel/public/ #1780397874 echo '<?php header("Location: /proxy.php"); exit;' > /home/trinadezambia/public_html/school_saas/student_panel/public/index.php #1780398147 cp /home/trinadezambia/public_html/school_saas/student_panel/public/proxy.php /home/trinadezambia/public_html/school_saas/student_panel/public/index.php #1780398252 echo '<?php header("Location: /student/auth"); exit;' > /home/trinadezambia/public_html/school_saas/student_panel/public/index.php #1780398359 ls -la /home/trinadezambia/public_html/school_saas/student_panel/public/ | grep index #1780399266 echo '<html><head><meta http-equiv="refresh" content="0;url=/student/auth"></head></html>' > /home/trinadezambia/public_html/school_saas/student_panel/public/index.html #1780399546 echo '<!DOCTYPE html><html><head><script>window.location.replace("/proxy.php?path=student/auth");</script></head><body><a href="/proxy.php?path=student/auth">Login</a></body></html>' >/home/trinadezambia/public_html/school_saas/student_panel/public/index.html #1780401907 cd .. #1780401913 git pull #1780401929 cd /home/trinadezambia/public_html/school_saas && git pull && cd admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=StudentSeeder --force #1780401960 rm /home/trinadezambia/public_html/school_saas/student_panel/public/index.html && git pull && cd admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan db:seed --class=StudentSeeder --force #1780408041 cd /home/trinadezambia/public_html/school_saas/admin_panel && /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); print_r(\DB::connection('school') ->table('students')->get(['user_id','admission_no'])->toArray());" #1780408117 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); print_r(\DB::connection('school')->table('users')->where('email','2026-SCH01-001')->first());" #1780408315 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); print_r(\DB::connection('school')->table('schools')->first());" #1780408343 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); \DB::connection('school')->table('users')->whereIn('email',['2026-SCH01-001','2026-SCH01-002',' 2026-SCH01-003'])->update(['email_verified_at'=>now()]); echo 'done';" #1780408645 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); print_r(\DB::connection('school')->table('session_years')->get()->toArray());" #1780408687 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); \DB::connection('school')->table('students')->update(['session_year_id'=>2]); echo 'done';" #1780408813 /opt/cpanel/ea-php83/root/usr/bin/php artisan tinker --execute="\DB::setDefaultConnection('school'); \Config::set('database.connections.school.database', 'trinadezambia_eschool_saas_1_trinadez'); \DB::purge('school'); \DB::connection('school')->reconnect(); \DB::connection('school')->table('session_years')->where('id',1)->delete(); echo 'done';" #1780409362 cd .. #1780409364 git pull