Spaces:
Runtime error
Runtime error
Delete aberconnect.sh
Browse files- aberconnect.sh +0 -27
aberconnect.sh
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
#!/usr/bin/expect -f
|
2 |
-
|
3 |
-
set timeout -1
|
4 |
-
|
5 |
-
set username [email protected]
|
6 |
-
set password cyx521301
|
7 |
-
|
8 |
-
spawn ./openconnect --protocol=gp vpn.icts.unitn.it --user=$username
|
9 |
-
|
10 |
-
expect "Password:*"
|
11 |
-
send -- "$password\r"
|
12 |
-
|
13 |
-
expect eof
|
14 |
-
|
15 |
-
|
16 |
-
##!/bin/bash
|
17 |
-
#/usr/bin/expect <<EOF
|
18 |
-
# set timeout -1
|
19 |
-
# set username [email protected]
|
20 |
-
# set password cyx521301
|
21 |
-
# spawn ./openconnect --protocol=gp vpn.icts.unitn.it --user=$username
|
22 |
-
# expect {
|
23 |
-
# "Password:*" {
|
24 |
-
# send -- "$password\r"
|
25 |
-
# }
|
26 |
-
# }
|
27 |
-
#EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|