diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 20:44:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 20:44:34 -0300 |
commit | e851401694daacaf1aba2c87ed557e5dbf00af02 (patch) | |
tree | d772b15f3a5ba9e015936f7162f448a7208a4001 /telneter | |
parent | d6a4d78d31ffa57e00a7d5b0a87baa38156cee06 (diff) | |
download | scripts-e851401694daacaf1aba2c87ed557e5dbf00af02.tar.gz scripts-e851401694daacaf1aba2c87ed557e5dbf00af02.tar.bz2 |
Move scripts to other repositories
Diffstat (limited to 'telneter')
-rwxr-xr-x | telneter | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/telneter b/telneter deleted file mode 100755 index acb9404..0000000 --- a/telneter +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/expect -# -# Simple telnet application to log in a server -# WARNING: passphrase is sent in the clear! -# - -spawn telnet example.org -# Not absolutely necessary, but good to keep the spawn_id for later -set telnet $spawn_id -# Case insensitive, just in case.. -expect -nocase "login:" -send "user\r" -# My telnetd insisted on an uppercase P. This works bothways -expect -nocase "password:" -send "SENHA\r" -# Match the prompt (contains a $) -expect -re {\$} -# Get the environment variables -send "env\r" -# Wait for the prompt -expect -re {\$} -exit |