Skip to content

Instantly share code, notes, and snippets.

@shionryuu
Created June 11, 2015 14:34
Show Gist options
  • Select an option

  • Save shionryuu/4ad654588ebe2e773b56 to your computer and use it in GitHub Desktop.

Select an option

Save shionryuu/4ad654588ebe2e773b56 to your computer and use it in GitHub Desktop.
nazo解谜

nazo解谜

  1. 地址:http://cafebabe.cc/nazo/

  2. 地址:http://cafebabe.cc/nazo/level2.html

  3. 地址:http://cafebabe.cc/nazo/level3.html

查看页面源码

  1. 地址:http://cafebabe.cc/nazo/helloworld.html

helloworld.js

(function(){window.localStorage["第五关地址"] = 'java.html'})()
  1. 地址:http://cafebabe.cc/nazo/java.html

ofyu mfwfm:qjofusff.iunm

>>> ''.join([chr(ord(c) - 1) if ord(c) >= ord('a') and ord(c) <= ord('z') else c for c in "ofyu mfwfm:qjofusff.iunm"])
'next level:pinetree.html'
  1. 地址:http://cafebabe.cc/nazo/pinetree.html

3735928559

>> hex(3735928559)
'0xdeadbeef'
  1. 地址:http://cafebabe.cc/nazo/deadbeef.html

3194763829

>>> hex(3194763829)
'0xbe6c3a35'

http://cafebabe.cc/nazo/be6c3a35.html

you need penguin -> QQ -> 3194763829用户名

  1. 地址:http://cafebabe.cc/nazo/bravo.html

Office助手“大眼夹” -> clippy

  1. 地址:http://cafebabe.cc/nazo/clippy.html

图片保存成rar格式,解压 -> click.html

  1. 地址:http://cafebabe.cc/nazo/click.html

21474853508

thequickbrownfoxjumpsoverthelazydog

hint:bin (网页源码)

>>> bin(int('21474853508',10)) 
'0b10100000000000000000100001010000100'
#10100000000000000000100001010000100
#thequickbrownfoxjumpsoverthelazydog
#t e                 s    t e    d

http://cafebabe.cc/nazo/tested.html

  1. 地址:http://cafebabe.cc/nazo/basic/index.html

不要被表面所欺骗

答案是第8关的图片名 (网页源码)

  1. 地址:http://cafebabe.cc/nazo/basic/office.html

扫雷

傻子也能过关的方法 -> 作弊 -> xyzzy

  1. 地址:http://cafebabe.cc/nazo/basic/xyzzy.html

五笔字根对应的键位 (网页源码)

  1. 地址:http://cafebabe.cc/nazo/basic/akpwgdl.html

跟Base64和密码没有关系

JfMasOnD -> 正则 -> 匹配十二个月份(误) -> jfmamjjasond > 31天的月份 > JfMaMjJAsOnD

  1. 地址:http://cafebabe.cc/nazo/basic/month.html

企鹅 -> linux

  1. 地址:http://cafebabe.cc/nazo/basic/linux.html

  2. 地址:http://cafebabe.cc/nazo/basic/monomaniac.html

monomaniac.js

// ...---...  -> SOS
function start(){
	dot();
	dot();
	dot();
	dash();
	dash();
	dash();
	dot();
	dot();
	dot();
}
  1. 地址:http://cafebabe.cc/nazo/basic/sos.html

6.9.22.5 + 20.8.18.5.5 -> five + three -> eight -> 5.9.7.8.20

  1. 地址:http://cafebabe.cc/nazo/basic/solve.html

doge

  1. 地址:http://cafebabe.cc/nazo/basic/doge.html

禁言套餐 -> π -> pi

  1. 地址:http://cafebabe.cc/nazo/basic/pi.html

The meaning of life. -> 谷歌 -> 42

  1. 地址:http://cafebabe.cc/nazo/basic/42.html

font -> Webdings -> 对应的英文字母 -> random

  1. 地址:http://cafebabe.cc/nazo/basic/random.html

1 5 21 85 341 1365 -> 前面一个数乘4加1即为后面那个数 -> 5461

  1. 地址:http://cafebabe.cc/nazo/basic/cherry.html

  2. 地址:http://cafebabe.cc/nazo/basic/shadow.html

sonic

http://cafebabe.cc/nazo/basic/Sonic.html

Gotta go fast!

http://sanic-hegehog.tumblr.com/ -> sanic

  1. 地址:http://cafebabe.cc/nazo/basic/sanic.html

正则

pattern = re.compile(r'[A-Z]{2}[a-z]{2}(\S)\d{2}\1')
match = pattern.search('Vm0wd2QyUXlVWGxWV30d4WFlURn164dVRlpzWkc5V1JteDBaVVYwV0ZKdGVGWlZiVFZyVmxVeFY3yTkljRmhoTVhCUVZtcEdZV015U2tWVWJHaG9UVlZ3VlZadGNFZFRNbEpJVm10V1VtSk3lRazlVVkVKTFUFAceB00BxWmtWMXBFVWxwV01ERTBWMnRvUjFWdF55NsWlhiR2hYWVd0d2RscFdXbUZrUjA1R1drWndWMDFFUlRGV1ZFb3dWakZhV0ZOcmFHaFNlbXhXVm0weGIxSkdXbGRYYlVaclVqRmFTRll5TVRSVk1rcElaSHBDVjAxdVVuWldha3BIWXpGT2RWVnNXbWxoTUhCWl4A4YxWlNSMlF52UmtkWGEyUllZbGhT5V0ZSV1pGTk5SbFowWlVaT1ZXSkdjREZWVjNoelZqRmFObEZZYUZaaGExcG9WakJhVDJOdFJrZFhiV3hUVFcxb2IxWnRjRU5pTVVWNFdrVmtXRmRIVWxsWmJHaFRZMVpTVjJGRlRsTmlSbkJaV2xWYVQxWlhTa2RqUm1oYVRVWktXRll3V21GU2JFNTBZVVp44rYUdFeGNHOVdha0poVXpGa1dGSnJaR2hTTW1oUFZGY3hiMWRzV1hoWGJFNVRUVlp3TUZadGRHdFdNa3B6VTIxR1ZWWjZWblpXUkVaVFZteGtjbHBIY0U1V2EzQlhWbFprTkZNeFRYaFhhMXBQVmxacmJFMHdVU1V6UkElM0QlM0Q')
match.group() # FAceB00B
  1. 地址:http://cafebabe.cc/nazo/basic/cache.html

分形 -> Mandelbrot

  1. 地址:http://cafebabe.cc/nazo/basic/cache.html

其它均为狗 -> MC石头 -> QQ:337845818

  1. 地址:http://cafebabe.cc/nazo/basic/337845818.html

SCP基金会 SCP-173

  1. 地址:http://cafebabe.cc/nazo/basic/scp173.html

水印 key.html

地址:http://cafebabe.cc/nazo/basic/key.html

  1. 地址:http://cafebabe.cc/nazo/medium/kick.html

Gosper glider gun -> Game of Life(生命游戏)

  1. 地址:http://cafebabe.cc/nazo/medium/gameoflife.html

gameof1ife.jpg

粗心的作者 -> gameoflife.jpg

  1. 地址:http://cafebabe.cc/nazo/medium/spring.html

ping pong游戏时钟

  1. 地址:http://cafebabe.cc/nazo/medium/pong.html

So what is the end left?

低头找找? -> 键盘 -> End左边的按键 -> Delete

  1. 地址:http://cafebabe.cc/nazo/medium/delete.html

  2. 地址:http://cafebabe.cc/nazo/medium/suffix.html

  3. 地址:http://cafebabe.cc/nazo/medium/for.html

you know the drill

kwcwk,grnk -> 键盘右边 -> level.html

  1. 地址:http://cafebabe.cc/nazo/medium/level.html

图片属性 -> 标题:forty.html

  1. 地址:http://cafebabe.cc/nazo/medium/forty.html

delete suffix for level forty

  1. 地址:http://cafebabe.cc/nazo/medium/dizzy.html

  2. 地址:http://cafebabe.cc/nazo/medium/dizzy?.html

  3. 地址:http://cafebabe.cc/nazo/medium/checkmate.html

  4. 地址:http://cafebabe.cc/nazo/medium/8pm.html

js解密

(function() {
    var lastIndex = -1;
    var key = 0;
    var submitted = false;
    $(document).ready(function() {
        $("#north").bind("mouseover", north);
        $("#south").bind("mouseover", south);
        $("#east").bind("mouseover", east);
        $("#west").bind("mouseover", west)
    });
    function north() {
        act(0)
    }
    function south() {
        act(2)
    }
    function east() {
        act(1)
    }
    function west() {
        act(3)
    }
    function act(num) {
        if (submitted) return;
        key++;
        if (num % 2 != (lastIndex + 1) % 2) key = 0;
        if (key >= 40) {
            $("#key").attr("value", "cookiezi");
            $("#form").submit();
            submitted = true
        }
        lastIndex = num
  }
})()
  1. 地址:http://cafebabe.cc/nazo/medium/justice.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment