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wMTAxMTExMTExMDAxMTAxMTEwMDAwMTAxMTAwMTEwMA==
1
lingyi95 2019-11-18 01:47:16 +08:00 via iPhone 2
qrcode1111111010110110000000111111110000010100100011000101000001101110101111001010100010111011011101001100000111010101110110111010010100010101001011101100000101001010001000010000011111111010101010101010111111100000000101110011111000000000001110101000000100000111001111010110101101100011010101110100100011101100001001000110010100111011111110111111010100010101111010111000010111010011101010000010010101001011010011111001100111110010000101001100100000100110010011101011001010100011000001000000010101100100011010011011100000010100001010001000110110100010101000010111000011110010000110010000100011100010010111111111111000000000011100101000110001100111111110000010011011101011110100000100100110110101000100011011101011110100100011111111010111010101010000110010100000101110101101011101000110101101000001000110111010101001001011111110011011100001011001100
|
3
liuxingbaoyu 2019-11-18 01:54:05 +08:00 5
一共是 841 个字符,开方一下,是 29,也就是 29*29 的二维码,这样应该就 OK 了吧
|
4
si 2019-11-18 01:56:56 +08:00 9
███████ █ ██ ██ ███████
█ █ █ █ ██ █ █ █ █ ███ █ ████ █ █ █ █ ███ █ █ ███ █ ██ ███ █ █ ███ █ █ ███ █ █ █ █ █ █ █ ███ █ █ █ █ █ █ █ █ █ ███████ █ █ █ █ █ █ █ ███████ █ ███ █████ ███ █ █ █ ███ ███ █ █ ██ █ ██ ██ ██ █ █ ███ █ █ ███ ██ █ █ ██ █ █ ███ ███████ ██████ █ █ █ █ ████ █ ███ █ ███ █ ███ █ █ █ █ █ █ █ ██ █ ██ ███ ██ █████ █ █ █ ██ █ █ ██ █ ███ █ ██ █ █ █ ██ █ █ █ ██ █ ██ █ ██ ███ █ █ █ █ █ ██ ██ █ █ █ █ █ ███ ████ █ ██ █ █ ███ █ █ ████████████ ███ █ █ ██ ██ █ ███████ █ ██ ███ █ ████ █ █ █ ██ ██ █ █ █ █ █ ███ █ ████ █ █ ████████ █ ███ █ █ █ █ ██ █ █ █ ███ █ ██ █ ███ █ ██ █ ██ █ █ ██ ███ █ █ █ █ █ ███████ ██ ███ █ ██ ██ 扫描结果是:[27877,22434,20102] 如果排版不对的话,复制到记事本里能扫。 |
5
wenjor OP @liuxingbaoyu 哦哦,有道理,那么有什么方便快捷的点阵转换方式吗,求教
|
6
liuxingbaoyu 2019-11-18 02:00:08 +08:00
@wenjor 楼上已经有大佬发出来了
|
8
wenjor OP ……等等,这不会就是单纯的字符串扫描替换吧……心累,那么,谁能告诉我下如何改行距
|
12
lovestudykid 2019-11-18 02:26:10 +08:00 34
一切看不懂的密码都当作表白处理
|
14
666VS2333 2019-11-18 02:33:12 +08:00 via Android
@lovestudykid 秀儿,是你吗
|
15
ljpCN 2019-11-18 02:36:32 +08:00 via Android 93
unicode 汉字内码
[27877,22434,20102] [泥,垢,了] 你够了 |
17
lovestudykid 2019-11-18 02:53:00 +08:00 1
@ljpCN 😄,我也想到是汉字编码,偷懒没去看。可惜不是表白,不过也许是这句话传达的意思也不好说。
print('\n'.join(list(map(''.join,zip(*[iter('1111111010110110000000111111110000010100100011000101000001101110101111001010100010111011011101001100000111010101110110111010010100010101001011101100000101001010001000010000011111111010101010101010111111100000000101110011111000000000001110101000000100000111001111010110101101100011010101110100100011101100001001000110010100111011111110111111010100010101111010111000010111010011101010000010010101001011010011111001100111110010000101001100100000100110010011101011001010100011000001000000010101100100011010011011100000010100001010001000110110100010101000010111000011110010000110010000100011100010010111111111111000000000011100101000110001100111111110000010011011101011110100000100100110110101000100011011101011110100100011111111010111010101010000110010100000101110101101011101000110101101000001000110111010101001001011111110011011100001011001100'.replace('1','██').replace('0',' '))]*58))))) |
18
AFuture 2019-11-18 02:53:58 +08:00 via iPhone
绝了,这帖子。我要收藏.
|
19
hanqian 2019-11-18 03:58:27 +08:00 via Android
哈哈哈 这帖无敌了
|
21
ningmengmao 2019-11-18 07:20:28 +08:00 via Android
大佬
|
22
liyuhang 2019-11-18 07:29:23 +08:00
@lovestudykid #12 泥垢了
|
23
ddup 2019-11-18 07:34:19 +08:00 via Android
还是 V 友有办法
|
24
mwftts 2019-11-18 08:49:18 +08:00 via Android 1
这是我一年多来收藏的第一个帖子…
|
25
quadrapop 2019-11-18 08:56:37 +08:00
这个有点意思哦
|
26
sunziren 2019-11-18 09:03:40 +08:00
收藏了
|
27
Uyuhz 2019-11-18 09:35:23 +08:00
草(中日双语)
|
28
amwyyyy 2019-11-18 09:38:33 +08:00
泥,垢,了
|
29
Chenamy2017 2019-11-18 09:44:49 +08:00
看不懂,好牛逼
|
30
misaka19000 2019-11-18 09:46:09 +08:00 1
哈哈哈 这是 unicode -> Array -> qrcode -> 01encode -> base64 啊,有点意思
|
31
huixia0010 2019-11-18 09:51:25 +08:00
@ljpCN 花擦?人才啊,666
|
32
HentaiOS 2019-11-18 10:07:07 +08:00
笑死 ww
|
33
PriestTomb 2019-11-18 10:12:28 +08:00
@ljpCN 大佬大佬
|
34
smilekung 2019-11-18 10:22:47 +08:00
太牛逼了 特意登上帐号收藏
|
35
LeeSeoung 2019-11-18 10:40:54 +08:00
有点意思
|
36
Doraemontree 2019-11-18 10:56:48 +08:00
最后到底啥意思
|
37
Bigglesworth 2019-11-18 10:59:41 +08:00
有点东西
|
38
ljspython 2019-11-18 11:07:43 +08:00
泥垢了
|
39
hwcj123 2019-11-18 11:32:20 +08:00
牛皮呀
|
40
kiracyan 2019-11-18 11:37:18 +08:00
笑死
|
41
fengjianxinghun 2019-11-18 11:44:17 +08:00
牛逼。。。笑死我了
|
42
iaoiand 2019-11-18 12:17:53 +08:00
绝了
|
43
ICU 2019-11-18 12:48:28 +08:00
现在年轻人 聊天都这么高端了吗 🐶
|
44
May725 2019-11-18 12:58:02 +08:00
泥垢了 😂
|
45
flyz 2019-11-18 13:01:13 +08:00 via Android 1
是被女程序员拒绝了吗?
|
46
Les1ie 2019-11-18 13:02:16 +08:00 4
先 pip install imageio
import base64 import numpy as np from imageio import imwrite s = """cXJjb2RlMTExMTExMTAxMDExMDExMDAwMDAwMDExMTExMTExMDAwMDAxMDEwMDEwMDAxMTAwMDEwMTAwMDAwMTEwMTExMDEwMTExMTAwMTAxMDEwMDAxMDExMTAxMTAxMTEwMTAwMTEwMDAwMDExMTAxMDEwMTExMDExMDExMTAxMDAxMDEwMDAxMDEwMTAwMTAxMTEwMTEwMDAwMDEwMTAwMTAxMDAwMTAwMDAxMDAwMDAxMTExMTExMTAxMDEwMTAxMDEwMTAxMDExMTExMTEwMDAwMDAwMDEwMTExMDAxMTExMTAwMDAwMDAwMDAwMTExMDEwMTAwMDAwMDEwMDAwMDExMTAwMTExMTAxMDExMDEwMTEwMTEwMDAxMTAxMDEwMTExMDEwMDEwMDAxMTEwMTEwMDAwMTAwMTAwMDExMDAxMDEwMDExMTAxMTExMTExMDExMTExMTAxMDEwMDAxMDEwMTExMTAxMDExMTAwMDAxMDExMTAxMDAxMTEwMTAxMDAwMDAxMDAxMDEwMTAwMTAxMTAxMDAxMTExMTAwMTEwMDExMTExMDAxMDAwMDEwMTAwMTEwMDEwMDAwMDEwMDExMDAxMDAxMTEwMTAxMTAwMTAxMDEwMDAxMTAwMDAwMTAwMDAwMDAxMDEwMTEwMDEwMDAxMTAxMDAxMTAxMTEwMDAwMDAxMDEwMDAwMTAxMDAwMTAwMDExMDExMDEwMDAxMDEwMTAwMDAxMDExMTAwMDAxMTExMDAxMDAwMDExMDAxMDAwMDEwMDAxMTEwMDAxMDAxMDExMTExMTExMTExMTAwMDAwMDAwMDAxMTEwMDEwMTAwMDExMDAwMTEwMDExMTExMTExMDAwMDAxMDAxMTAxMTEwMTAxMTExMDEwMDAwMDEwMDEwMDExMDExMDEwMTAwMDEwMDAxMTAxMTEwMTAxMTExMDEwMDEwMDAxMTExMTExMTAxMDExMTAxMDEwMTAxMDAwMDExMDAxMDEwMDAwMDEwMTExMDEwMTEwMTAxMTEwMTAwMDExMDEwMTEwMTAwMDAwMTAwMDExMDExMTAxMDEwMTAwMTAwMTAxMTExMTExMDAxMTAxMTEwMDAwMTAxMTAwMTEwMA== """ code = base64.b64decode(s).decode() code = code[6:] num = [int(i)*255 for i in code] n = np.array(num) n = n.reshape(29,29) imwrite('a.png', n) 打开扫描二维码图片 |
47
davie 2019-11-18 13:03:24 +08:00 via Android
太好玩了
|
48
Les1ie 2019-11-18 13:20:32 +08:00
二维码图片最外层的像素没了,可以放在 ppt 里面加个黑色的图片作为背景,然后扫码,也可以 np 数组四周加 255 然后出图片
|
49
ww940521 2019-11-18 14:14:27 +08:00
嗯,舒服了。
|
50
KeepingNow 2019-11-18 14:45:12 +08:00
很好玩。
|
51
hqweay 2019-11-18 14:55:24 +08:00
哈哈哈看标题以为水贴,没想到进来是技术贴。感谢前几楼大佬。
|
52
xkeyideal 2019-11-18 15:05:53 +08:00 2
楼主表白被拒,自己还破解不了,无情的打脸,这个小姐姐的拒绝方式我喜欢
|
53
gimp 2019-11-18 15:14:11 +08:00 2
一男子表白女程序员,收到的回复竟是这样
|
54
DrPikaduo 2019-11-18 15:24:45 +08:00
@lovestudykid 扫不出来,兄弟
|
55
kingslayer 2019-11-18 15:25:28 +08:00
笑死我了
|
56
Rekkles 2019-11-18 15:27:24 +08:00
卧槽牛逼🐂🍺
|
57
jimmy2010 2019-11-18 15:34:12 +08:00
CTF 普及推广贴😂
|
58
scukmh 2019-11-18 15:35:43 +08:00
ctf 基础题(跑
|
59
helloZwq 2019-11-18 15:41:09 +08:00
二维码: aHR0cHM6Ly93d3cuamF2YWVyMTAxLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxOS8xMS8yMDE5MTExODA3MzgxNzY1LnBuZw==
ASCII 码转汉字: aHR0cHM6Ly93d3cuamF2YWVyMTAxLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxOS8xMS9pbWFnZS0yMDE5MTExODE1MzkxOTEzNC5wbmc= |
60
JssDream 2019-11-18 15:52:16 +08:00
好牛掰啊
|
61
Les1ie 2019-11-18 15:57:08 +08:00
import base64
import numpy as np from PIL import Image s = """cXJjb2RlMTExMTExMTAxMDExMDExMDAwMDAwMDExMTExMTExMDAwMDAxMDEwMDEwMDAxMTAwMDEwMTAwMDAwMTEwMTExMDEwMTExMTAwMTAxMDEwMDAxMDExMTAxMTAxMTEwMTAwMTEwMDAwMDExMTAxMDEwMTExMDExMDExMTAxMDAxMDEwMDAxMDEwMTAwMTAxMTEwMTEwMDAwMDEwMTAwMTAxMDAwMTAwMDAxMDAwMDAxMTExMTExMTAxMDEwMTAxMDEwMTAxMDExMTExMTEwMDAwMDAwMDEwMTExMDAxMTExMTAwMDAwMDAwMDAwMTExMDEwMTAwMDAwMDEwMDAwMDExMTAwMTExMTAxMDExMDEwMTEwMTEwMDAxMTAxMDEwMTExMDEwMDEwMDAxMTEwMTEwMDAwMTAwMTAwMDExMDAxMDEwMDExMTAxMTExMTExMDExMTExMTAxMDEwMDAxMDEwMTExMTAxMDExMTAwMDAxMDExMTAxMDAxMTEwMTAxMDAwMDAxMDAxMDEwMTAwMTAxMTAxMDAxMTExMTAwMTEwMDExMTExMDAxMDAwMDEwMTAwMTEwMDEwMDAwMDEwMDExMDAxMDAxMTEwMTAxMTAwMTAxMDEwMDAxMTAwMDAwMTAwMDAwMDAxMDEwMTEwMDEwMDAxMTAxMDAxMTAxMTEwMDAwMDAxMDEwMDAwMTAxMDAwMTAwMDExMDExMDEwMDAxMDEwMTAwMDAxMDExMTAwMDAxMTExMDAxMDAwMDExMDAxMDAwMDEwMDAxMTEwMDAxMDAxMDExMTExMTExMTExMTAwMDAwMDAwMDAxMTEwMDEwMTAwMDExMDAwMTEwMDExMTExMTExMDAwMDAxMDAxMTAxMTEwMTAxMTExMDEwMDAwMDEwMDEwMDExMDExMDEwMTAwMDEwMDAxMTAxMTEwMTAxMTExMDEwMDEwMDAxMTExMTExMTAxMDExMTAxMDEwMTAxMDAwMDExMDAxMDEwMDAwMDEwMTExMDEwMTEwMTAxMTEwMTAwMDExMDEwMTEwMTAwMDAwMTAwMDExMDExMTAxMDEwMTAwMTAwMTAxMTExMTExMDAxMTAxMTEwMDAwMTAxMTAwMTEwMA== """ code = base64.b64decode(s).decode() code = code[6:] num = [int(i)*255 for i in code] n = np.array(num) n = n.reshape(29,29) n = np.concatenate((np.array([[0]*n.shape[1]]),n)) n = np.concatenate((n,np.array([[0]*n.shape[1]])), axis=0) n = np.concatenate((np.array([[0]]*n.shape[0]),n), axis=1) n = np.concatenate((n,np.array([[0]]*n.shape[0])), axis=1) im = Image.fromarray(np.uint8(n)) im = im.resize((100,100)) im.show() 修改了一下二维码,加了个边框,现在可以直接扫出来了 https://i.loli.net/2019/11/18/gouqwLmSpcRxnXA.png |
62
HuangLibo 2019-11-18 16:04:25 +08:00
感觉很有趣,收藏了(第一个收藏的帖子)
|
64
openbsd 2019-11-18 16:09:51 +08:00
技术贴
|
65
zdnyp 2019-11-18 16:27:25 +08:00
看 cnblogs 就图娱乐,学技术还得上 v2
|
66
cpdyj0 2019-11-18 16:54:07 +08:00 via Android
人才啊都是
|
67
djs 2019-11-18 16:58:37 +08:00
默默的用 js 写了个
|
69
bxb100 2019-11-18 17:23:06 +08:00
学习了
|
70
youxiachai 2019-11-18 17:25:42 +08:00
一个悲伤的故事...
|
71
sinu 2019-11-18 17:26:48 +08:00
默默收藏了~现场解密~
|
72
liut2016 2019-11-18 17:32:01 +08:00
真的叼!
|
73
auhah 2019-11-18 17:38:49 +08:00
泥垢了哈哈
|
74
lbyo 2019-11-18 17:51:59 +08:00
我就问一下,你俩什么关系
|
77
ck65 2019-11-18 18:13:15 +08:00
心疼楼主
|
78
u823tg 2019-11-18 18:22:24 +08:00 via Android
心疼
|
79
Coltnagisa 2019-11-18 18:27:44 +08:00 via iPhone
有点意思
|
80
myd 2019-11-18 18:39:15 +08:00
需求太少了
|
81
daquandiao2 2019-11-18 18:47:07 +08:00
楼主不说出你的故事?
|
82
fantastic 2019-11-18 19:11:08 +08:00
楼主经历了什么
|
83
leiuu 2019-11-18 19:14:52 +08:00
very funny
|
84
pengjl 2019-11-18 19:25:51 +08:00
收藏,请 lz 分享你的故事板凳我已经自备好了
|
85
iMusic 2019-11-18 19:27:03 +08:00
amazing
|
86
2oTp 2019-11-18 19:30:36 +08:00
<!DOCTYPE html>
<html> <body> <canvas id="myCanvas" width="290" height="290" style="border:1px solid #d3d3d3;" > Your browser does not support the HTML5 canvas tag.</canvas > <script> var lines = ` 11111110101101100000001111111 10000010100100011000101000001 10111010111100101010001011101 10111010011000001110101011101 10111010010100010101001011101 10000010100101000100001000001 11111110101010101010101111111 00000000101110011111000000000 00111010100000010000011100111 10101101011011000110101011101 00100011101100001001000110010 10011101111111011111101010001 01011110101110000101110100111 01010000010010101001011010011 11100110011111001000010100110 01000001001100100111010110010 10100011000001000000010101100 10001101001101110000001010000 10100010001101101000101010000 10111000011110010000110010000 10001110001001011111111111100 00000000111001010001100011001 11111110000010011011101011110 10000010010011011010100010001 10111010111101001000111111110 10111010101010000110010100000 10111010110101110100011010110 10000010001101110101010010010 11111110011011100001011001100` .split('\n') .filter(s => s) var c = document.getElementById('myCanvas') var ctx = c.getContext('2d') ctx.beginPath() lines.forEach((line, line_num) => line .split('') .forEach( (bit, column) => +bit && ctx.rect(line_num * 10, column * 10, 10, 10) ) ) ctx.fill() </script> </body> </html> |
87
farverfull 2019-11-18 19:35:26 +08:00 via Android
楼主知道真相后伤心过度,决定以后都不上 v2 了
|
88
FLX2312 2019-11-18 19:39:04 +08:00
登录账号,收藏膜拜一下。
|
89
Mohanson 2019-11-18 19:47:53 +08:00
看前几楼发现可能是 3 个 utf8 中文时, 以为是表白呢... 心疼
|
90
Yumwey 2019-11-18 19:49:08 +08:00 via Android
🐮🍺
|
91
justin2018 2019-11-18 20:13:30 +08:00
厉害~~~
|
92
Les1ie 2019-11-18 20:13:31 +08:00
我 zz 了,我的代码里面的 0 替换成 1 1 替换成 0 就是正常的二维码了 .... 并不是缺少边框 orz
|
93
wangyzj 2019-11-18 23:11:25 +08:00
有意思
|
94
zhuzhibin 2019-11-18 23:50:04 +08:00 via iPhone
笑死
|
95
way2create 2019-11-19 09:05:19 +08:00
你太难了
|
96
xhf1024 2019-11-19 09:14:10 +08:00
膜拜一下
|
97
asche910 2019-11-19 09:34:45 +08:00
v 友还是强啊
|
98
eastern 2019-11-19 09:54:08 +08:00
虽然可能是个悲伤的故事,不过还是要膜拜一下大佬
|
99
shmilypeter 2019-11-19 10:11:40 +08:00
膜拜大佬
|
100
tushile928 2019-11-19 10:51:15 +08:00
神铁刘明
|