File tree 2 files changed +29
-0
lines changed
2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ import xmlrpc .client
2
+
3
+ proxy = xmlrpc .client .ServerProxy ("http://www.pythonchallenge.com/pc/phonebook.php" )
4
+
5
+ evil = proxy .phone ("Bert" )
6
+
7
+ print (evil )
Original file line number Diff line number Diff line change 1
1
# pythonchallenge
2
2
Solve Problems in http://www.pythonchallenge.com
3
3
4
+ #### 13
5
+ result: http://www.pythonchallenge.com/pc/return/italy.html
6
+ ```
7
+ import xmlrpc.client
8
+ ```
9
+ It's amazing that RPC tech has so much long history.
10
+
11
+ POST below with application/xml to server.
12
+ ```
13
+ <?xml version="1.0"?>
14
+ <methodCall>
15
+ <methodName>phone</methodName>
16
+ <params>
17
+ <param>
18
+ <value><string>Bert</string></value>
19
+ </param>
20
+ </params>
21
+ </methodCall>
22
+ ```
23
+
24
+ Question ** 12** evil4.jpg tell us the evil is Bert(IE can open evil4.jpg).
25
+
4
26
#### 12
5
27
result: http://www.pythonchallenge.com/pc/return/disproportional.html
6
28
You can’t perform that action at this time.
0 commit comments