Linux evo.fastest-server.com 5.14.0-284.1101.el9.tuxcare.11.els11.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 14 13:30:35 UTC 2026 x86_64
LiteSpeed
Server IP : 103.249.112.113 & Your IP : 216.73.217.135
Domains : 988 Domain
User : tanishks
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-Expect /
tutorial /
Delete
Unzip
Name
Size
Permission
Date
Action
1.A.Intro
2.37
KB
-rw-r--r--
2017-05-15 15:55
2.A.ftp
3.01
KB
-rw-r--r--
2022-07-22 13:24
2.B.rlogin
3.95
KB
-rw-r--r--
2022-07-22 13:24
3.A.debugging
1.93
KB
-rw-r--r--
2022-07-22 13:24
4.A.top
928
B
-rw-r--r--
2022-07-22 13:24
5.A.top
1.11
KB
-rw-r--r--
2022-07-22 13:24
5.B.top
2.39
KB
-rw-r--r--
2022-07-22 13:24
6.A.smtp-verify
3.18
KB
-rw-r--r--
2022-07-22 13:24
6.B.modem-init
1.79
KB
-rw-r--r--
2022-07-22 13:24
README
644
B
-rw-r--r--
2017-05-15 15:55
Save
Rename
#!/usr/bin/perl # This example is a replay of sorts of the rlogin example #before except in this example we turn control of the process back #to the user through use of interact(). use Expect; # $Expect::Debug=2; $Expect::Exp_Internal=1; $RSH='/usr/local/bin/ssh'; $host_to_login_to=shift(@ARGV); # Get the password. We will show how to do this without printing the # password to the screen later. print "Enter password: "; $password=<STDIN>; chomp $password; $rsh=Expect->spawn($RSH,$host_to_login_to); # Look for a password prompt. $rsh->expect(30,'-re','word:\s$')||(die"Never got password prompt\n"); print $rsh "$password\r"; # Look for a prompt. Prompt can be # $ > or ] followed by a whitespace. $prompt = '[\]\$\>\#]\s$'; # Note the use of -re $rsh->expect(30,'-re',$prompt)||(die "Never got prompt on host\n"); # Start top print $rsh "exec top\r"; # OK, now return control to user. $rsh->interact();