feat(val-blog): add 2026-04-30 dream journey post

This commit is contained in:
Chen Gu
2026-08-13 17:00:22 +08:00
committed by Chen Gu
parent 691f96e8a6
commit 81978704fc
941 changed files with 195468 additions and 755 deletions
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/expect -f
set timeout 15
set host "gch3n.online"
set port "11022"
set password {@wt65gt1900}
foreach user {gch3n root admin ubuntu lighthouse deploy app} {
puts "\n--- Trying user: $user ---"
spawn ssh -p $port -o PreferredAuthentications=password -o PubkeyAuthentication=no $user@$host
expect {
-re "password:" {
send "$password\r"
exp_continue
}
-re "Permission denied" {
puts "Permission denied for $user"
continue
}
-re "\\$ |# " {
puts "\n*** SUCCESS with user: $user ***"
send "exit\r"
expect eof
exit 0
}
timeout {
puts "Timeout for $user"
continue
}
}
}
puts "\nAll users failed"
exit 1