Python Challenge level 13: “call him”

For level 13 you need a tip from the last challenge.

Hint 1: phone that evil
Hint 2: link to phonebook.php, which returns an XMLRPC error
Fact 1: we know from the previous level that “Bert is evil”

#!/usr/bin/env python
import xmlrpclib
server = xmlrpclib.Server('http://www.pythonchallenge.com
/pc/phonebook.php')
## we'll need to discover Server API
# print server.system.listMethods()
print server.phone('Bert')

555-ITALY

This one was shorter than expected. Now to Level 14.

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>