 What's up everybody welcome back to another python programming video looking at the python challenge, and we're on challenge number 13 right now So looking at us staring us in the face is this uh inverted picture of a phone I think There's no scroll bars. There's nothing more to this page can't move it all the only hit that we have here is phone that evil I'm gonna view the page source do some investigation The title of the page is call him I don't really know if there are any python modules that can make phone calls, but I mean We're gonna end up doing some research. So here we go See the image we've got here is dis prop dot jpeg. We are on the disproportional dot html Flag for this challenge number 13 It's a map so there is an area on the image we can click and it'll take us to this phone book dot php page We haven't been to a php page before on the python challenge, so that might be kind of cool. Let's let's hop on over to that Trying to find where it is in the All right Found where it is on the picture. It's the circle of the five button instead of the bottom left It's gonna link me to phone book dot php. Now when I click on this Okay, it takes me to an XML file. It says this XML file does not appear to have any style information associated with it And here's the documentary. Okay, the response fault fault code 105 fault string There's no way it's like this easy like 105 be Be any answers or I guess any hints 105 that php 105.html I Didn't think so. There's like no way to be that easy fault code or fault string Oh And they could be HTML or any of these Yeah, it's normally an HTML HTML page. So let's try Let's try fault code again. Oh Oh, oh, oh, what the heck? No, okay? Got my hopes up for nothing. There is nothing there And fault string that HTML Nothing there either. Okay Well, we've got an HTML document, but I don't know what to do with it. There's nothing Special in the image. I don't think you know, I'll save it on the desktop as usual Here it is open it and paint There's not gonna be anything here. I know there's not I just tried to zoom in with my my touch screen And I just draw pictures and there's not gonna be anything here whatsoever control. I I think to like can I even Invert selection. Nope. That's not invert how I invert color. Here we go Yeah, there's nothing here, no it's another we can use I don't look back at the source see if there's anything there image phonebook.php The hint is phone that evil wait. Whoa. Okay, there's a phone that remote evil Remote is not an HTML tag. Is it I don't think it is HTML tag No, it's not it's not a remote Okay, that's not Python remote module. Oh What is this? Oh Hey, this is XML RPC lib. I just Made a tutorial on this Remote procedure call Call him. Oh remote. Oh remote and at the XML page. Oh, dude. This has to be it. This has to be it if I view the page source remote phonebook.php. Oh PHP phonebook.php must be a server an XML RPC server All right. Yeah, this is totally it All right, I'm gonna fire up my text editor sublime text. I got a 13.py file. Let's save here I'm gonna import XML RPC lib Server name Can equal The phonebook.php and what we'll do is we'll create a client. I'll equal XML RPC dot xmlib dot server proxy you guys know that's to create server and It takes the URL of the URI you guys if you don't know any of this I just did a tutorial series on XML RPC lib. So that's super handy But yeah, server proxy is the function to create the server for us And I do have tutorial series on this and you can look through it and learn a little bit more about it I just pretty much go through the documentation, but I mean that's the best way to learn things go through the documentation read So, okay, I I would hope that it has the introspection functions working do print List Run this There's a phone method. There's a phone method. That's awesome That's probably what we need to do because if it's on the server Method help Is it list method help? Method help and the string is phone Returns the phone of a person. What does that mean? phone that evil That's our hint, right? We must have to I'm gonna do I'm just gonna try it client phone Probably a string right because if you just have to phone that evil That he is not the evil What He is not who is he is not the evil What does that mean evil? He is not the evil. What do I do? Okay? He is not the evil. I don't know what that means Who is not the evil? What is not the evil? Phone that evil is the only hint that we get but when you phone that evil and Evil both of them return me. He is not the evil. Who is he? Are you the evil? What the heck if I send it anything if I don't even send it anything it doesn't do anything phone I pass it without any string. No, okay. It needs it needs a parameter. Can I give it like an integer one? No, it needs a string He is not the evil. What is does it mean like referring to another? previous challenge or something Last ones. I remember we were looking at images Oh, oh crap. Oh Okay, yeah, one of the other images, but one of the ones that wasn't an image the one that was a Evil 4 here. I still have it on my desktop evil 4.jpeg. That wasn't an image And I remember I was looking at it after and it it wasn't I'm gonna open up in my desktop evil 4.jpeg it wasn't it was an image. It was a text file. I said Burt is evil go back. What is What if we call the the help function said to call a person, right? Yeah, it was like print Print client system method help Yeah, this is freaky phone phone returns the phone of a person a person it must be Bert Maybe it's a do I have to call Burt? Returns the phone of a person Burt. Oh 555 Italy What is that it is that what I'm supposed to is Is that what I have to pass the page 555 Italy No, damn it. That's not it. Is it without the hash is it without the That the dash No Is it just 555 is it just all Italy? Small letters What does that mean like lowercase Burt he is not the evil Let's that's what we just saw and capital brain capital be Burt Dude, it's case sensitive. That sucks capital be Burt Capital everything Burt dude. It has to be like exactly Burt. Wow Okay, 555 Italy Small letters That's all that's all the pages If it means lowercase Italy, oh, that's it. Yep. Yep. That's it. Whoo Ladies gentlemen, we did it put us on challenge number 14 finished up 13. Bam. That's awesome. All right That was kind of cool that was a fun one and it's using XML RPC live which is like That's awesome because I mean I was just looking at that Super cool All right. Well, there we go guys sweet Challenge number 14 13 is in the bag check mark I don't even know check mark. I mean it was just checked off the checklist, you know All right. Thanks for watching everybody. I hope you enjoyed this tutorial. Hope you enjoyed this video Hope you enjoy all the stuff that I do if you're liking the series if you like this video Maybe you know like the video. Maybe leave me constructive criticism in the comments. Maybe subscribe do whatever you people do Thank you so much for watching. I'll see you again