usr bin python from socket import from time import HOST 69 49 123 241

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/python
from socket import *
from time import *
HOST='69.49.123.241'
sock = socket(AF_INET,SOCK_STREAM)
sock.connect((HOST,110))
sock.send('user *****\n')
sock.send('pass *****\n')
sock.send('list\n')
sock.send('retr 1\n')
sock.settimeout(2)
while 1:
try:
data = sock.recv(1024)
except timeout:
break
print data
sock.close()