美文网首页
Python Challenge[13]

Python Challenge[13]

作者: Recgat | 来源:发表于2017-02-11 01:03 被阅读0次

[Level 13]


Title: call him

phone that evil

evil?应该是之前一关找出的evil,即Bert。怎么“phone”?图片中的5区域可点击,链接跳转到一个有问题的XML文档。此外,phone that evil在源码中,有一个标签<remote />夹在其中。

搜索文档无果,看网上的吧:

import xmlrpc.client
xmlrpc = xmlrpc.client.ServerProxy('http://www.pythonchallenge.com/pc/phonebook.php')
print(xmlrpc.phone('Bert'))#555-ITALY

答案是ITALY[Level 14]

小结

使用ServerProxy.system.listMethods()方法列出ServerProxy的方法,其中就有phone

Python Challenge Wiki

相关文章

  • Python Challenge[13]

    [Level 13] Title: call him phone that evil evil?应该是之前一关找出...

  • Python挑战:00~03关

    Python Challenge Python Challenge 00 网址: http://www.pytho...

  • Python挑战:04-05关

    Python Challenge Python Challenge 04 现在,我们来挑战第四关,从第三关的结果,...

  • 【早安心语】

    【2022-6-13】 早安 春夏秋冬 Life is a challenge, but it is not to...

  • python马丁challenge13.Longest sequ

    Write a program longest_sequence.py that prompts the user...

  • The Python Challenge(5)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 根据页面源码提示: 再点击页面图片显示: 可知是需要...

  • The Python Challenge(8)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 页面和源码中无任何提示,但图片中有一条很明显的灰度线...

  • The Python Challenge(9)

    问题链接 问题链接如下: 答案链接 答案链接如下: 登陆用户名密码为huge和file。 解题思路 阅读源码有如下...

  • The Python Challenge(2)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 将页面给定的字符串根据给定规则进行替换即可,规则如下...

  • The Python Challenge(3)

    问题链接 问题链接如下: 答案链接 答案链接如下: 解题思路 根据页面提示: 阅读源码,有如下内容: 编写代码从中...

网友评论

      本文标题:Python Challenge[13]

      本文链接:https://www.haomeiwen.com/subject/mmowittx.html