16
return ''.join(spaced(value))
25
for name in ['nobody',]:
27
user = pwd.getpwnam(name)
28
nuid = int(user.pw_uid)
29
ngid = int(user.pw_uid)
41
# Create a TCP/IP socket
42
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
44
# Connect the socket to the port on the server given by the caller
45
server_address = (sys.argv[1], int(sys.argv[2]))
46
print >>sys.stderr, 'connecting to %s port %s' % server_address
47
sock.connect(server_address)
49
with open(sys.argv[3]) as record:
56
record.write('%02X' % ord(byte))
57
count = (count + 1) % 8