解题:

  刚开始一看这题就蒙逼了,完全没思路,过了几天后再仔细去想想,应该是二进制的ascii码,但是原来的三张图虽然都是8的倍数,但完全转换不成有用的东西,题目的意思能否找到光,百度了一下关于三原色的知识,有如下图。  

有点思路了,三种颜色刚好对应数字的颜色,于是便想,将三个颜色的二进制数相同的位置统计1的数量,只要数量大于0,这点便取1,然后写了个python程序生成处理后的二进制串。

a = ''
b = ''
c = '' for i in range(len(a)):
if int(a[i])+int(b[i])+int(c[i]) > 0:
print('',end = '')
else:
print('',end = '')

得到的结果为:

01000001011010000110000100100001001000000100100101110100001000000111001101100101011001010110110101110011001000000111100101101111011101010010000001100111011011110111010000100000011100110110111101101101011001010111010001101000011010010110111001100111001000000110100101101110011101000110010101110010011001010111001101110100011010010110111001100111001000010000110100001010010101110110010101101100011011000010000001110100011011110010000001100111011011110010000001110100011011110010000001110100011010000110010100100000011011100110010101111000011101000010000001110011011101000110000101100111011001010010110000100000011001110110111100100000011101000110100001100101011100100110010100111010000011010000101000110000001100010011000000110000001100010011000100110000001100000011000000110001001100010011000000110001001100000011000000110001001100000011000100110001001100000011000000110001001100010011000100110000001100010011000100110000001100010011000000110000001100000000110100001010001100000011000000110001001100010011000000110001001100010011000100110000001100010011000000110001001100010011000100110001001100010011000000110001001100000011000000110001001100010011000000110000001100000011000100110001001100000011000000110001001100000011000100001101000010100011000000110001001100010011000100110000001100010011000100110000001100000011000100110001001100000011000000110001001100000011000100110000001100010011000100110000001100010011000100110000001100000011000000110000001100010011000100110000001100000011000100110000000011010000101000110000001100000011000100110000001100010011000100110001001100000011000000110001001100010011000100110000001100000011000000110000001100000011000100110001001100000011000100110000001100000011000000110000001100010011000100110001001100000011000000110000001100000000110100001010

在将串数放入JPocketKnife v4.06a软件将串按8位分组,然后用acsii解码,卧槽,hhh。

得到如下信息:

Aha! It seems you got something interesting!
Well to go to the next stage, go there:
01001100011010010110011101101000
00110111010111110100110001100101
01110110011001010110110000110010
00101110011100000110100001110000

再将解出的二进制串做相同处理。

得到:Ligh7_Level2.php

于是打开http://www.wechall.net/challenge/anto/enlightment/Ligh7_Level2.php

卧槽,居然还藏着第二个页面,这次字符串的颜色变了,再去找相关资料。

心里想着应该是一样的套路,看图的话,应该是三个加起来<3,用python输出后发现结果不对,试了下 and ,结果也不对,又试了下^ 符号,结果看起来挺正常的,用JPocketKnife v4.06a软件处理后,果然出来了结果。

a = ''
b = ''
c = '' for i in range(len(a)):
if int(a[i])^int(b[i])^int(c[i]):
print('',end = '')
else:
print('',end = '')

结果:

01010100011100100110100101110000011011000110010100101101010110000010110101001111010100100010110000100000011100100110100101100111011010000111010000111111000011010000101001000111011100100110010101100001011101000010000100100000010010000110010101110010011001010010000001101001011100110010000001110111011010000110000101110100001000000111100101101111011101010010000001110011011010000110111101110101011011000110010000100000011000100110010100100000011011000110111101101111011010110110100101101110011001110010000001100110011011110111001000101110001011100010111000001101000010100010001001000111011010010110110101101101011001010101111101000100011000010101111101001100011010010110011101101000011101000010001000001101000010100110010101101110011101000110010101110010001000000111010001101000011010010111001100100000011000010111001100100000011100000110000101110011011100110111011101101111011100100110010000100001

处理后得到:

Triple-X-OR, right?
Great! Here is what you should be looking for...
"Gimme_Da_Light"

hhh,问题解决了,至于为什么是异或,我也想不出原因= =!

WeChall_Enlightment (Encoding)的更多相关文章

  1. javac -encoding utf8 in linux

    由于另外负责编码的同事用的是utf-8,我用的默认的编码格式gbk,在提交代码时,为了迁就他,我打算把格式用工具转成utf-8. 转化成果后,然后在make一下,发现javac -encoding u ...

  2. 创建Odoo8数据库时的“new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)“问题

    Odoo8创建数据库时,显示如下错误信息: DataError: new encoding (UTF8) is incompatible with the encoding of the templa ...

  3. Node.js Base64 Encoding和Decoding

    如何在Node.js中encode一个字符串呢?是否也像在PHP中使用base64_encode()一样简单? 在Node.js中有许多encoding字符串的方法,而不用像在JavaScript中那 ...

  4. java Properties异常:Malformed \uxxxx encoding.

    昨天项目中遇到一个 java.lang.IllegalArgumentException: Malformed \uxxxx encoding.这样的一个异常,debug了一下发现是读取propert ...

  5. svn: Can't convert string from 'UTF-8' to native encoding 的解决办法(转)

    http://www.cnblogs.com/xuxm2007/archive/2010/10/26/1861223.html svn 版本库中有文件是以中文字符命名的,在 Linux 下 check ...

  6. C# 字符编码类Encoding

    在网络通信中,很多情况下都是将字符信息转成字节序列进行传输.将字符序列转为字节序列的过程称为编码.当这些字节传送到接收方,接收方需要逆向将字节序列转为字符序列.这个过程就是解码. 常见编码有ASCII ...

  7. 字符集和字符编码(Charset & Encoding)

    字符集和字符编码(Charset & Encoding)[转] 1.基础知识 计算机中储存的信息都是用二进制数表示的:而我们在屏幕上看到的英文.汉字等字符是二进制数转换之后的结果.通俗的说,按 ...

  8. 使用英文版eclipse保存代码,出现some characters cannot be mapped using "Cp1251" character encoding.

    some characters cannot be mapped using "Cp1251" character encoding. 解决办法:方案一: eclipse-> ...

  9. <?xml version="1.0" encoding="UTF-8"?> 的作用?

    version="1.0" 声明用的xml版本是1.0 encoding="UTF-8" 声明用xml传输数据的时候的字符编码,假如文档里面有中文,编码方式不是 ...

随机推荐

  1. C#录制视频

    这是一个使用C#语言制作的录制框架,支持录制桌面,多屏,声音,摄像头,某个应用程序的界面 1.安装 使用此框架需要安装扩展包Kogel.Record,可以Nuget上搜索 或者使用Nuget命令 In ...

  2. KafkaProducer Sender 线程详解(含详细的执行流程图)

    目录 1.Sender 线程详解 2.RecordAccumulator 核心方法详解 温馨提示:本文基于 Kafka 2.2.1 版本. 上文 <源码分析 Kafka 消息发送流程> 已 ...

  3. 解决Maven项目中的无故报错的方法

    解决Eclipse+maven中的无故报错 错误: One or more constraints have not been satisfied. Deployment Assembly跟java版 ...

  4. C++Primer第五版 3.2.3节练习

    练习 3.6:编写一段程序,使用范围for语句将字符串内的所有字符用X代替. #include<iostream> #include<string> using namespa ...

  5. Go Web 编程之 Hello World

    概述 计划写一个讲 Go Web 编程的系列文章.从基于 net/http 包编写 Go Web 程序开始,讲述处理器,请求,响应等基础知识.然后到框架的使用.中间会穿插一些源码的分析.最后做一个实战 ...

  6. MySQL插入操作

    说明:value的值可以为数据,DEFAULT,NULL,expr 含有ATUO_INCREMENT的列可以插入DEFAULT.NULL,或者不插入记录来实现自动增长. 插入记录的三种方法:①可以同时 ...

  7. extract函数的使用

    EXTRACT(field FROM source) extract函数从日期/时间数值里抽取子域,比如年.小时等. source必须是一个timestamp, time, interval类型的值表 ...

  8. 一个DNS数据包的惊险之旅

    踏上旅程 “小子,快去查一下www.paypal.com的IP地址,我急用,晚了我弄你!”,暴躁老哥一把关上了门,留我一个DNS数据包在冷冰冰的房间. 过了一会儿,一位大叔打开了门,带着我来到了一座叫 ...

  9. CentOS6.8 LAMP

    第一次配置LAMP运行环境,上网查询了很多资料,一边试命令一边学习.服务器重置了很多次. 虽然有OneinStack这个方便的网站一键命令部署,但知道这个网站却是我自己踩坑之后的事情了,故此记录. 1 ...

  10. C# html生成图片保存下载

    最近有个需求,需要把内容生成图片,我找到一些资料可以将html页面生成图片并保存下载 下面是简单的实现 1.html页面 @{ Layout = null; } <!DOCTYPE html&g ...