Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/expect -f
- cd "lab-connection"
- spawn openvpn OS-213**-OSCP.ovpn
- expect "Enter Auth Username:" {
- send "OS-213**\n"
- }
- expect "Enter Auth Password:" {
- send "mypass\n"
- }
- interact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement