level 0:
http://www.pythonchallenge.com/pc/def/0.html

Hint: try to change the URL address.

Mình đã thử thay đổi url và mình nhận được: 2**38 is much much larger.
2**38 trong python nghĩa là 2 mũ 38.
print pow(2,38) = 274877906944

level 1: 
Bạn để ý trong hình ảnh:
k-> m
o->Q
e->g

để ý kĩ thì nó là mã caesar, và map=ocr

level 2: 
recognize the characters. maybe they are in the book, 
but MAYBE they are in the page source.

Mình đã view page xem và thấy 1 đống hỗ độn. và mình liên hệ với hint là tìm kiểm kí tự.
mình đã code 1 đoạn python

string1 = open('text.txt').read()
print ''.join(re.findall('[A-Za-z]', string1))
cái text.txt là bạn copy cái đống đấy vào file và lưu thành text.txt nhé.

Level 3: 
Mình vẫn thử view page xem, lại thấy 1 đống hỗ độn. Mình lại dùng 1 đoạn code

string1 = open('text.txt').read()
print ''.join(re.findall('[^A-Z][A-Z]{3}([a-z])[A-Z]{3}[^A-Z]', string1))


1 comments:

  1. key of level 1 is ?
    string after crypt:
    i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url.

    ReplyDelete

 
Writeup CTF © 2013. All Rights Reserved. Powered by Blogger
Top