Posted in September 25, 2007 ¬ 19:13h.Taher Shihadeh
For level 19 I used two scripts. Hint 1: there is an email in the source with an attached file #!/usr/bin/env python import email mail=email.message_from_file(open(’19.txt’)) for part in mail.walk(): if part.get_content_maintype()==’audio’: audio=part.get_payload(decode=1) open(’19_indian.wav’, ‘wb’).write(audio) The only understandable thing in the file was the word “sorry”, and that page is not really useful. Theres more to [...]
Read the rest of this entry »
Posted in September 24, 2007 ¬ 23:30h.Taher Shihadeh
Level 18 is imaginative again. Hint 1: it is more obvious that what you might think. Fact 1: the main difference between images is brightness, we’ll go to brightness.html which is an almost twin page except for a new hint. Hint 2: maybe consider deltas.gz. After retrieving deltas.gz, we can go on with the script: [...]
Read the rest of this entry »
Posted in September 23, 2007 ¬ 23:27h.Taher Shihadeh
Level 17 is cookie related, so urllib usage is needed once again. Hint 1: cookies in the photo. Unambiguous! Hint 2: there’s a thumbnail of the image from level 4 So, we’ll have to investiagate the http headers. Interestingly, we find out something in level 4. Fact 1: “info=you+should+have+followed+busynothing…;” is a cookie set by level [...]
Read the rest of this entry »
Posted in September 22, 2007 ¬ 23:24h.Taher Shihadeh
In level 16 the title says everything. Hint 1: there are 5 pink pixels in each row Fact 1: pink is color 195 in the image’s color index (says The Gimp). import urllib, Image,cStringIO def straighten(line): # five equal consecutive pink pixels are the clue idx=0 while line[idx]!=195: idx+=1 return line[idx:]+line[:idx] url = ‘http://huge:file@www.pythonchallenge.com/pc/return/mozart.gif’ im [...]
Read the rest of this entry »
Posted in September 21, 2007 ¬ 23:22h.Taher Shihadeh
Level 15. I didn’t like this one. Not a bit. I think it’s the only level not as well designed as the rest. At least up untill now. Either that or my mindset doesn’t like some types of riddle as much as the rest. We are given a date in a callendar and a couple [...]
Read the rest of this entry »
Posted in September 20, 2007 ¬ 23:20h.Taher Shihadeh
Level 14 is really short once again. Hint 1: image is a spiral. It’s direction could be meaningful Hint 2: remember: 100*100 = (100+99+99+98) + …. (3+2+2+1)+1 Fact 1: wire.jpg is 1×10000 pixels = 100*100 I especially liked this level because it was straight forward. You didn’t have to imagine obscure meanings hidden in the [...]
Read the rest of this entry »
Posted in September 19, 2007 ¬ 23:18h.Taher Shihadeh
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 [...]
Read the rest of this entry »
Posted in September 18, 2007 ¬ 23:15h.Taher Shihadeh
Level 12 requires some hex-observation. Hint 1: image evil1.jpg with a shuffled deck and five piles The name evil1 seems suspicious, so maybe we can find something else poking around. Fact 1: there are more evil?.jpg and an evil2.gfx Fact 2: when inspected in an hex editor the gfx file seems to have several images [...]
Read the rest of this entry »
Posted in September 17, 2007 ¬ 00:03h.Taher Shihadeh
Level 11 requires playing with images once again. Fact 1: the image cave.jpg seems to have half ot its pixels blanked We’ll assume odd and even pixels belong to different images. This snippet will put me out of my misery and let me know ;) import Image src = Image.open(“cave.jpg”) w,h = src.size[0], src.size[1] print [...]
Read the rest of this entry »
Posted in September 16, 2007 ¬ 16:50h.Taher Shihadeh
Level 10 doesn’t have anything new. Hint 1: len(a[30]) = ? Hint 2: a = [1, 11, 21, 1211, 111221, Fact 1: 'a' is the 'look and say sequence'. Im normally pretty good finding numeric patterns, but I must confess that I had to look up this one. I suppose I don't have the right [...]
Read the rest of this entry »