Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- fetch(){
- sleep 1
- echo "USER user@website"
- sleep 1
- echo "PASS mypassword"
- sleep 1
- echo "LIST"
- for i in `seq 1 10`
- do
- sleep 1
- echo "RETR $i"
- sleep 1
- echo "DELE $i"
- done
- sleep 1
- echo "QUIT"
- }
- fetch |telnet <server> 110
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement