Loading... # 1. 前言 通过一张照片能够获得多少信息?可以通过本篇文章的一个例子来学习,同时也能提高保护的个人隐私的意识。 <div class="tip inlineBlock warning"> 免责声明:本文旨在记录生活经历,且文章内出现的相关人物信息已经过处理。如因模仿本文章内容⽽触犯中华⼈民共和国法律,使⽤者应⾃⾏承担全部责任。 </div> --- # 2. 原始信息 <div style="text-align:center;margin:5px 0"><img src="http://cloud.nailoy.com/typecho/uploads/2022/06/4190324657.jpg" width="50%" alt="图片来源于网络,侵删" style=""></br></div> **通过这张图片我们可以得到这些信息:** * 此人是2018级上海美术学院设计学专业的研究生 * 照片发布者为了保护隐私用马赛克挡住了名字、学号和照片 * 注意,图片上有一个非常关键的地方——条形码,而且这个条形码是在学号的上方,它大概率表示的也是学号。虽然它也被马赛克遮挡住了,但是大部分的条形码都具备有纠错功能,我们此时就可以从这里入手 --- # 3. 条形码分析 通过对格式分析得出此条形码采用Code128格式。 ### 3.1. code128详解 <div style="margin:auto 0"><img src="http://cloud.nailoy.com/typecho/uploads/2022/06/509058767.jpg"></div> <a href="#excursus">**code128的字符设置参见文章底部的附录**</a> code128码符号包括一个静止区、一个开始字符、编码数据、一个检测字符、停止字符和一个尾部的静止区。**而这里的检测字符就是关键**,它可以帮助还原出条形码的数据。 #### 开始字符 code128通过三个不同的开始字符来进行标识,START CodeA允许所有的键盘字符+控制字符和特殊字符进行编码,START CodeB包括所有标准字母数字键盘字符+小写字母和特殊字符,START CodeC包括一个100位数字(00-99),用于编码数字数据的密度压缩。 #### 编码数据 Code 128条码指定相互间隔的3个条形和3个空白(共六个单元)代表一个字符,每个字符由一个条开始,以一个空结束。 在条形码字体中,最后一个条形通常与终止符一起组合成一个更宽的终止符。 附录部分详细说明了每个字符条码的宽度与间隙的关系,每个条的宽度可以为1,2,3,4个单位。 例如字母“A”可以被表示为图案10100011000,或者表示为宽度111323。 #### 检测字符 code128的每个字符都有一个值,范围从0到105,这个值被用来计算条形码的校验字符。校验字符通过MOD103算法,下面举例说明: 例子:BarCode 1 信息:StartB B a r C o d e 1 值:104 34 65 82 35 79 68 69 0 17 位置:- 1 2 3 4 5 6 7 8 9 计算:104 + (34×1) + (65×2) + (82×3) + (35×4) + (79×5) + (68×6) + (69×7) + (0×8) + (17×9) = 2093 2093 / 103 = 20......33 33 = A <div class="tip inlineBlock info"> 注意:当你打印校验字符“A”时,你需打印ASCII字符数65(而不是33),你必须增加32到校验数上,然后找出打印的ASCII字符。比如说,你使用START A打印codeA条码,计算出的校验数字是64,你可能会认为打印一个NULL字符,那你就错了,你必须增加32得到一个96,你能够打印出ASCII字符96( `字符)。 </div> ### 3.2. 案例条形码分析 看过上述内容想必你对Code128条形码有了一定的了解,现在进入实战部分,一边对照Code128条形码字符表一边按照条形码的分区解码。 <div style="margin:auto 0"><img src="http://cloud.nailoy.com/typecho/uploads/2022/07/3517443659.png" width=70% alt="此图详细标注了条形码所代表的内容" style=""></div> #### 开始字符 开头的6个条纹宽度为211232,可以得出条形码开始字符为start code C。 #### 编码数据区 分别由条纹宽度223211,122411,算出18和72,这两个数字和下面的学号相吻合,也就证明之前得出的结论是正确的。但是后面的数字模糊不清,只能看出部分,其中被挡住部分的条纹宽度的可能是2、3或者4,其余的部分完全看不清,这里把所有可能性罗列一遍。 左边的「 ?」可能是 213212(21),212123(30),212321(31),213113(51),213311(52),213131(53),212141(89),214121(90) 右边的「 ?」可能是 232121(32),133121(47),313121(48),214121(90),412121(91) #### 纠错码 除去最后7位停止字符,往前6个条纹宽度为411131,可以得出纠错码为102。 根据纠错码写几行代码简单验证一下被遮住的条形码的数据。 ``` #include <stdio.h> int main() { int a[] = {21, 30, 31, 51, 52, 53, 89, 90}, b[] = {32, 47, 48, 90, 91}; int i, j; for (i = 0; i < 8; i++) { for (j = 0; j < 5; j++) { if ((3 * a[i] + 4 * b[j] + 267) % 103 == 102) printf("学号是:1872%d%d", a[i], b[j]); } } return 0; } ``` 运行代码我们得到此人的学号是18723190 --- # 4. 利用Google进行社工 ### 4.1. 常见Google搜索语法 #### 搜索逻辑 * 逻辑与:and * 逻辑或:or * 逻辑非:- * 完整匹配:"关键词" * 通配符:* ? #### 文件类型 `filetype:文件类型` 例如我想找一篇论文的格式模板 `论文格式 filetype:doc` #### 指定站点 `site:指定站点` 例如我想在微博内寻找匹配美国这个关键词的页面 `"美国" site:weibo.com` ### 4.2. 实战 根据我们所得到的学号信息,把18723190作为关键字,文件类型指定为pdf查找人员的名单,我们最终得出这张证书所对应人的姓名。 `"18723190" filetype:pdf` ![搜索结果如图所示](http://cloud.nailoy.com/typecho/uploads/2022/07/4213944434.png) <div id="excursus"></div> <div class="panel panel-default collapse-panel box-shadow-wrap-lg"><div class="panel-heading panel-collapse" data-toggle="collapse" data-target="#collapse-d1657ced5bc728c8856217ba3d256df389" aria-expanded="true"><div class="accordion-toggle"><span style="id:excursus;">附录:Code128条形码字符表(点击以展开)</span> <i class="pull-right fontello icon-fw fontello-angle-right"></i> </div> </div> <div class="panel-body collapse-panel-body"> <div id="collapse-d1657ced5bc728c8856217ba3d256df389" class="collapse collapse-content"><p></p> <table width="800" border="1" style="border-collapse:collapse"> <tr> <th rowspan="2" scope="col">值</th> <th rowspan="2" scope="col">Code A</th> <th rowspan="2" scope="col">Code B</th> <th rowspan="2" scope="col">Code C</th> <th colspan="6" scope="col">图案</th> <th rowspan="2" scope="col">想要打印的ASCII字符</th> </tr> <tr> <td>条</td> <td>空</td> <td>条</td> <td>空</td> <td>条</td> <td>空</td> </tr> <tr> <td>0</td> <td>SP</td> <td>SP</td> <td>00</td> <td>2</td> <td>1</td> <td>2</td> <td>2</td> <td>2</td> <td>2</td> <td>SP(ASCII 32)</td> </tr> <tr> <td>1</td> <td>!</td> <td>!</td> <td>01</td> <td>2</td> <td>2</td> <td>2</td> <td>1</td> <td>2</td> <td>2</td> <td>!(ASCII 33)</td> </tr> <tr> <td>2</td> <td>"</td> <td>"</td> <td>02</td> <td>2</td> <td>2</td> <td>2</td> <td>2</td> <td>2</td> <td>1</td> <td>"(ASCII 34)</td> </tr> <tr> <td>3</td> <td>#</td> <td>#</td> <td>03</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>2</td> <td>3</td> <td>#(ASCII 35)</td> </tr> <tr> <td>4</td> <td>$</td> <td>$</td> <td>04</td> <td>1</td> <td>2</td> <td>1</td> <td>3</td> <td>2</td> <td>2</td> <td>$ (ASCII 36) </td> </tr> <tr> <td>5</td> <td>%</td> <td>%</td> <td>05</td> <td>1</td> <td>3</td> <td>1</td> <td>2</td> <td>2</td> <td>2</td> <td>% (ASCII 37)</td> </tr> <tr> <td>6</td> <td>&</td> <td>&</td> <td>06</td> <td>1</td> <td>2</td> <td>2</td> <td>2</td> <td>1</td> <td>3</td> <td>& (ASCII 38)</td> </tr> <tr> <td>7</td> <td>'</td> <td>'</td> <td>07</td> <td>1</td> <td>2</td> <td>2</td> <td>3</td> <td>1</td> <td>2</td> <td>' (ASCII 39)</td> </tr> <tr> <td>8</td> <td>(</td> <td>(</td> <td>08</td> <td>1</td> <td>3</td> <td>2</td> <td>2</td> <td>1</td> <td>2</td> <td>( (ASCII 40)</td> </tr> <tr> <td>9</td> <td>)</td> <td>)</td> <td>09</td> <td>2</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>3</td> <td>) (ASCII 41)</td> </tr> <tr> <td>10</td> <td>*</td> <td>*</td> <td>10</td> <td>2</td> <td>2</td> <td>1</td> <td>3</td> <td>1</td> <td>2</td> <td>* (ASCII 42)</td> </tr> <tr> <td>11</td> <td>+</td> <td>+</td> <td>11</td> <td>2</td> <td>3</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>+ (ASCII 43)</td> </tr> <tr> <td>12</td> <td>,</td> <td>,</td> <td>12</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>3</td> <td>2</td> <td>, (ASCII 44)</td> </tr> <tr> <td>13</td> <td>-</td> <td>-</td> <td>13</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>3</td> <td>2</td> <td>- (ASCII 45)</td> </tr> <tr> <td>14</td> <td>.</td> <td>.</td> <td>14</td> <td>1</td> <td>2</td> <td>2</td> <td>2</td> <td>3</td> <td>1</td> <td>. (ASCII 46)</td> </tr> <tr> <td>15</td> <td>/</td> <td>/</td> <td>15</td> <td>1</td> <td>1</td> <td>3</td> <td>2</td> <td>2</td> <td>2</td> <td>/ (ASCII 47)</td> </tr> <tr> <td>16</td> <td>0</td> <td>0</td> <td>16</td> <td>1</td> <td>2</td> <td>3</td> <td>1</td> <td>2</td> <td>2</td> <td>0 (ASCII 48)</td> </tr> <tr> <td>17</td> <td>1</td> <td>1</td> <td>17</td> <td>1</td> <td>2</td> <td>3</td> <td>2</td> <td>2</td> <td>1</td> <td>1(ASCII 49)</td> </tr> <tr> <td>18</td> <td>2</td> <td>2</td> <td>18</td> <td>2</td> <td>2</td> <td>3</td> <td>2</td> <td>1</td> <td>1</td> <td>2 (ASCII 50)</td> </tr> <tr> <td>19</td> <td>3</td> <td>3</td> <td>19</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>3</td> <td>2</td> <td>3 (ASCII 51)</td> </tr> <tr> <td>20</td> <td>4</td> <td>4</td> <td>20</td> <td>2</td> <td>2</td> <td>1</td> <td>2</td> <td>3</td> <td>1</td> <td>4 (ASCII 52)</td> </tr> <tr> <td>21</td> <td>5</td> <td>5</td> <td>21</td> <td>2</td> <td>1</td> <td>3</td> <td>2</td> <td>1</td> <td>2</td> <td>5 (ASCII 53)</td> </tr> <tr> <td>22</td> <td>6</td> <td>6</td> <td>22</td> <td>2</td> <td>2</td> <td>3</td> <td>1</td> <td>1</td> <td>2</td> <td>6 (ASCII 54)</td> </tr> <tr> <td>23</td> <td>7</td> <td>7</td> <td>23</td> <td>3</td> <td>1</td> <td>2</td> <td>1</td> <td>3</td> <td>1</td> <td>7 (ASCII 55)</td> </tr> <tr> <td>24</td> <td>8</td> <td>8</td> <td>24</td> <td>3</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>2</td> <td>8 (ASCII 56)</td> </tr> <tr> <td>25</td> <td>9</td> <td>9</td> <td>25</td> <td>3</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>9 (ASCII 57)</td> </tr> <tr> <td>26</td> <td>:</td> <td>:</td> <td>26</td> <td>3</td> <td>2</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>: (ASCII 57)</td> </tr> <tr> <td>27</td> <td>;</td> <td>;</td> <td>27</td> <td>3</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>2</td> <td>; (ASCII 59)</td> </tr> <tr> <td>28</td> <td><</td> <td><</td> <td>28</td> <td>3</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>< (ASCII 60)</td> </tr> <tr> <td>29</td> <td>=</td> <td>=</td> <td>29</td> <td>3</td> <td>2</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>= (ASCII 61)</td> </tr> <tr> <td>30</td> <td>></td> <td>></td> <td>30</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>3</td> <td>> (ASCII 62)</td> </tr> <tr> <td>31</td> <td>?</td> <td>?</td> <td>31</td> <td>2</td> <td>1</td> <td>2</td> <td>3</td> <td>2</td> <td>1</td> <td>? (ASCII 63)</td> </tr> <tr> <td>32</td> <td>@</td> <td>@</td> <td>32</td> <td>2</td> <td>3</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>@ (ASCII 64)</td> </tr> <tr> <td>33</td> <td>A</td> <td>A</td> <td>33</td> <td>1</td> <td>1</td> <td>1</td> <td>3</td> <td>2</td> <td>3</td> <td>A (ASCII 65)</td> </tr> <tr> <td>34</td> <td>B</td> <td>B</td> <td>34</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>2</td> <td>3</td> <td>B (ASCII 66)</td> </tr> <tr> <td>35</td> <td>C</td> <td>C</td> <td>35</td> <td>1</td> <td>3</td> <td>1</td> <td>3</td> <td>2</td> <td>1</td> <td>C (ASCII 67)</td> </tr> <tr> <td>36</td> <td>D</td> <td>D</td> <td>36</td> <td>1</td> <td>1</td> <td>2</td> <td>3</td> <td>1</td> <td>3</td> <td>D (ASCII 68)</td> </tr> <tr> <td>37</td> <td>E</td> <td>E</td> <td>37</td> <td>1</td> <td>3</td> <td>2</td> <td>1</td> <td>1</td> <td>3</td> <td>E (ASCII 69)</td> </tr> <tr> <td>38</td> <td>F</td> <td>F</td> <td>38</td> <td>1</td> <td>3</td> <td>2</td> <td>3</td> <td>1</td> <td>1</td> <td>F (ASCII 70)</td> </tr> <tr> <td>39</td> <td>G</td> <td>G</td> <td>39</td> <td>2</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>3</td> <td>G (ASCII 71)</td> </tr> <tr> <td>40</td> <td>H</td> <td>H</td> <td>40</td> <td>2</td> <td>3</td> <td>1</td> <td>1</td> <td>1</td> <td>3</td> <td>H (ASCII 72)</td> </tr> <tr> <td>41</td> <td>I</td> <td>I</td> <td>41</td> <td>2</td> <td>3</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>I (ASCII 73)</td> </tr> <tr> <td>42</td> <td>J</td> <td>J</td> <td>42</td> <td>1</td> <td>1</td> <td>2</td> <td>1</td> <td>3</td> <td>3</td> <td>J (ASCII 74)</td> </tr> <tr> <td>43</td> <td>K</td> <td>K</td> <td>43</td> <td>1</td> <td>1</td> <td>2</td> <td>3</td> <td>3</td> <td>1</td> <td>K (ASCII 75)</td> </tr> <tr> <td>44</td> <td>L</td> <td>L</td> <td>44</td> <td>1</td> <td>3</td> <td>2</td> <td>1</td> <td>3</td> <td>1</td> <td>L (ASCII 76)</td> </tr> <tr> <td>45</td> <td>M</td> <td>M</td> <td>45</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>2</td> <td>3</td> <td>M (ASCII 77) </td> </tr> <tr> <td>46</td> <td>N</td> <td>N</td> <td>46</td> <td>1</td> <td>1</td> <td>3</td> <td>3</td> <td>2</td> <td>1</td> <td>N (ASCII 78)</td> </tr> <tr> <td>47</td> <td>O</td> <td>O</td> <td>47</td> <td>1</td> <td>3</td> <td>3</td> <td>1</td> <td>2</td> <td>1</td> <td>O (ASCII 79)</td> </tr> <tr> <td>48</td> <td>P</td> <td>P</td> <td>48</td> <td>3</td> <td>1</td> <td>3</td> <td>1</td> <td>2</td> <td>1</td> <td>P (ASCII 80)</td> </tr> <tr> <td>49</td> <td>Q</td> <td>Q</td> <td>49</td> <td>2</td> <td>1</td> <td>1</td> <td>3</td> <td>3</td> <td>1</td> <td>Q (ASCII 81)</td> </tr> <tr> <td>50</td> <td>R</td> <td>R</td> <td>50</td> <td>2</td> <td>3</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>R (ASCII 82) </td> </tr> <tr> <td>51</td> <td>S</td> <td>S</td> <td>51</td> <td>2</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>3</td> <td>S (ASCII 83)</td> </tr> <tr> <td>52</td> <td>T</td> <td>T</td> <td>52</td> <td>2</td> <td>1</td> <td>3</td> <td>3</td> <td>1</td> <td>1</td> <td>T (ASCII 84)</td> </tr> <tr> <td>53</td> <td>U</td> <td>U</td> <td>53</td> <td>2</td> <td>1</td> <td>3</td> <td>1</td> <td>3</td> <td>1</td> <td>U (ASCII 85)</td> </tr> <tr> <td>54</td> <td>V</td> <td>V</td> <td>54</td> <td>3</td> <td>1</td> <td>1</td> <td>1</td> <td>2</td> <td>3</td> <td>V (ASCII 86)</td> </tr> <tr> <td>55</td> <td>W</td> <td>W</td> <td>55</td> <td>3</td> <td>1</td> <td>1</td> <td>3</td> <td>2</td> <td>1</td> <td>W (ASCII 87)</td> </tr> <tr> <td>56</td> <td>X</td> <td>X</td> <td>56</td> <td>3</td> <td>3</td> <td>1</td> <td>1</td> <td>2</td> <td>1</td> <td>X (ASCII 88) </td> </tr> <tr> <td>57</td> <td>Y</td> <td>Y</td> <td>57</td> <td>3</td> <td>1</td> <td>2</td> <td>1</td> <td>1</td> <td>3</td> <td>Y (ASCII 89)</td> </tr> <tr> <td>58</td> <td>Z</td> <td>Z</td> <td>58</td> <td>3</td> <td>1</td> <td>2</td> <td>3</td> <td>1</td> <td>1</td> <td>Z (ASCII 90)</td> </tr> <tr> <td>59</td> <td>[</td> <td>[</td> <td>59</td> <td>3</td> <td>3</td> <td>2</td> <td>1</td> <td>1</td> <td>1</td> <td>[ (ASCII 91) </td> </tr> <tr> <td>60</td> <td>\</td> <td>\</td> <td>60</td> <td>3</td> <td>1</td> <td>4</td> <td>1</td> <td>1</td> <td>1</td> <td>\ (ASCII 92)</td> </tr> <tr> <td>61</td> <td>]</td> <td>]</td> <td>61</td> <td>2</td> <td>2</td> <td>1</td> <td>4</td> <td>1</td> <td>1</td> <td>] (ASCII 93)</td> </tr> <tr> <td>62</td> <td>^</td> <td>^</td> <td>62</td> <td>4</td> <td>3</td> <td>1</td> <td>1</td> <td>1</td> <td>1</td> <td>^ (ASCII 94) </td> </tr> <tr> <td>63</td> <td>_</td> <td>_</td> <td>63</td> <td>1</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>4</td> <td>_ (ASCII 95)</td> </tr> <tr> <td>64</td> <td>NUL</td> <td>`</td> <td>64</td> <td>1</td> <td>1</td> <td>1</td> <td>4</td> <td>2</td> <td>2</td> <td>` (ASCII 96)</td> </tr> <tr> <td>65</td> <td>SOH</td> <td>a</td> <td>65</td> <td>1</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>4</td> <td>a (ASCII 97) </td> </tr> <tr> <td>66</td> <td>STX</td> <td>b</td> <td>66</td> <td>1</td> <td>2</td> <td>1</td> <td>4</td> <td>2</td> <td>1</td> <td>b (ASCII 98)</td> </tr> <tr> <td>67</td> <td>ETX</td> <td>c</td> <td>67</td> <td>1</td> <td>4</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>c (ASCII 99) </td> </tr> <tr> <td>68</td> <td>EOT</td> <td>d</td> <td>68</td> <td>1</td> <td>4</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>d (ASCII 100) </td> </tr> <tr> <td>69</td> <td>ENQ</td> <td>e</td> <td>69</td> <td>1</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>4</td> <td>e (ASCII 101) </td> </tr> <tr> <td>70</td> <td>ACK</td> <td>f</td> <td>70</td> <td>1</td> <td>1</td> <td>2</td> <td>4</td> <td>1</td> <td>2</td> <td>f (ASCII 102)</td> </tr> <tr> <td>71</td> <td>BEL</td> <td>g</td> <td>71</td> <td>1</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>4</td> <td>g (ASCII 103)</td> </tr> <tr> <td>72</td> <td>BS</td> <td>h</td> <td>72</td> <td>1</td> <td>2</td> <td>2</td> <td>4</td> <td>1</td> <td>1</td> <td>h (ASCII 104)</td> </tr> <tr> <td>73</td> <td>HT</td> <td>i</td> <td>73</td> <td>1</td> <td>4</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>i (ASCII 105)</td> </tr> <tr> <td>74</td> <td>LF</td> <td>j</td> <td>74</td> <td>1</td> <td>4</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>j (ASCII 106)</td> </tr> <tr> <td>75</td> <td>VT</td> <td>k</td> <td>75</td> <td>2</td> <td>4</td> <td>1</td> <td>2</td> <td>1</td> <td>1</td> <td>k (ASCII 107)</td> </tr> <tr> <td>76</td> <td>FF</td> <td>l</td> <td>76</td> <td>2</td> <td>2</td> <td>1</td> <td>1</td> <td>1</td> <td>4</td> <td>l (ASCII 108)</td> </tr> <tr> <td>77</td> <td>CR</td> <td>m</td> <td>77</td> <td>4</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>1</td> <td>m (ASCII 109)</td> </tr> <tr> <td>78</td> <td>SO</td> <td>n</td> <td>78</td> <td>2</td> <td>4</td> <td>1</td> <td>1</td> <td>1</td> <td>2</td> <td>n (ASCII 110)</td> </tr> <tr> <td>79</td> <td>SI</td> <td>o</td> <td>79</td> <td>1</td> <td>3</td> <td>4</td> <td>1</td> <td>1</td> <td>1</td> <td>o (ASCII 111)</td> </tr> <tr> <td>80</td> <td>DLE</td> <td>p</td> <td>80</td> <td>1</td> <td>1</td> <td>1</td> <td>2</td> <td>4</td> <td>2</td> <td>p (ASCII 112)</td> </tr> <tr> <td>81</td> <td>DC1</td> <td>q</td> <td>81</td> <td>1</td> <td>2</td> <td>1</td> <td>1</td> <td>4</td> <td>2</td> <td>q (ASCII 113)</td> </tr> <tr> <td>82</td> <td>DC2</td> <td>r</td> <td>82</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>4</td> <td>1</td> <td>r (ASCII 114)</td> </tr> <tr> <td>83</td> <td>DC3</td> <td>s</td> <td>83</td> <td>1</td> <td>1</td> <td>4</td> <td>2</td> <td>1</td> <td>2</td> <td>s (ASCII 115)</td> </tr> <tr> <td>84</td> <td>DC4</td> <td>t</td> <td>84</td> <td>1</td> <td>2</td> <td>4</td> <td>1</td> <td>1</td> <td>2</td> <td>t (ASCII 116)</td> </tr> <tr> <td>85</td> <td>NAK</td> <td>u</td> <td>85</td> <td>1</td> <td>2</td> <td>4</td> <td>2</td> <td>1</td> <td>1</td> <td>u (ASCII 117)</td> </tr> <tr> <td>86</td> <td>SYN</td> <td>v</td> <td>86</td> <td>4</td> <td>1</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>v (ASCII 118)</td> </tr> <tr> <td>87</td> <td>ETB</td> <td>w</td> <td>87</td> <td>4</td> <td>2</td> <td>1</td> <td>1</td> <td>1</td> <td>2</td> <td>w (ASCII 119)</td> </tr> <tr> <td>88</td> <td>CAN</td> <td>x</td> <td>88</td> <td>4</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>1</td> <td>x (ASCII 120)</td> </tr> <tr> <td>89</td> <td>EM</td> <td>y</td> <td>89</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>4</td> <td>1</td> <td>y (ASCII 121)</td> </tr> <tr> <td>90</td> <td>SUB</td> <td>z</td> <td>90</td> <td>2</td> <td>1</td> <td>4</td> <td>1</td> <td>2</td> <td>1</td> <td>z (ASCII 122)</td> </tr> <tr> <td>91</td> <td>ESC</td> <td>{</td> <td>91</td> <td>4</td> <td>1</td> <td>2</td> <td>1</td> <td>2</td> <td>1</td> <td>{ (ASCII 123) </td> </tr> <tr> <td>92</td> <td>FS</td> <td>|</td> <td>92</td> <td>1</td> <td>1</td> <td>1</td> <td>1</td> <td>4</td> <td>3</td> <td>| (ASCII 124)</td> </tr> <tr> <td>93</td> <td>GS</td> <td>}</td> <td>93</td> <td>1</td> <td>1</td> <td>1</td> <td>3</td> <td>4</td> <td>1</td> <td>} (ASCII 125) </td> </tr> <tr> <td>94</td> <td>RS</td> <td>~</td> <td>94</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>4</td> <td>1</td> <td>~ (ASCII 126)</td> </tr> <tr> <td>95 (Hex 7F)</td> <td>US</td> <td>DEL</td> <td>95</td> <td>1</td> <td>1</td> <td>4</td> <td>1</td> <td>1</td> <td>3</td> <td>DEL (ASCII 127)</td> </tr> <tr> <td>96 (Hex 80)</td> <td>FNC 3</td> <td>FNC 3</td> <td>96</td> <td>1</td> <td>1</td> <td>4</td> <td>3</td> <td>1</td> <td>1</td> <td>? (ASCII 128)</td> </tr> <tr> <td>97 (Hex 81)</td> <td>FNC 2 </td> <td>FNC 2 </td> <td>97</td> <td>4</td> <td>1</td> <td>1</td> <td>1</td> <td>1</td> <td>3</td> <td>ü (ASCII 129)</td> </tr> <tr> <td>98 (Hex 82)</td> <td>SHIFT</td> <td>SHIFT</td> <td>98</td> <td>4</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>1</td> <td>é (ASCII 130) </td> </tr> <tr> <td>99 (Hex 83)</td> <td>CODE C</td> <td>CODE C</td> <td>99</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>4</td> <td>1</td> <td>a (ASCII 131)</td> </tr> <tr> <td>100 (Hex 84)</td> <td>CODE B</td> <td>FNC 4</td> <td>CODE B</td> <td>1</td> <td>1</td> <td>4</td> <td>1</td> <td>3</td> <td>1</td> <td>? (ASCII 132) </td> </tr> <tr> <td>101 (Hex 85)</td> <td>FNC 4</td> <td>CODE A</td> <td>CODE A</td> <td>3</td> <td>1</td> <td>1</td> <td>1</td> <td>4</td> <td>1</td> <td>à (ASCII 133)</td> </tr> <tr> <td>102 (Hex 86)</td> <td>FNC 1 </td> <td>FNC 1 </td> <td>FNC 1 </td> <td>4</td> <td>1</td> <td>1</td> <td>1</td> <td>3</td> <td>1</td> <td>? (ASCII 134) </td> </tr> </table> <table width="800" border="1"> <tr> <th rowspan="2" scope="col">值</th> <th rowspan="2" scope="col">开始符号</th> <th colspan="6" scope="col">图案</th> <th rowspan="2" scope="col">想要打印的ASCII字符</th> </tr> <tr> <td>条</td> <td>空</td> <td>条</td> <td>空</td> <td>条</td> <td>空</td> </tr> <tr> <td>103 (Hex 87)</td> <td>START (Code A)</td> <td>2</td> <td>1</td> <td>1</td> <td>4</td> <td>1</td> <td>2</td> <td>? (ASCII 135) </td> </tr> <tr> <td>104 (Hex 88)</td> <td>START (Code B)</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>1</td> <td>4</td> <td>? (ASCII 136)</td> </tr> <tr> <td>105 (Hex 89)</td> <td>START (Code C)</td> <td>2</td> <td>1</td> <td>1</td> <td>2</td> <td>3</td> <td>2</td> <td>‰ (ASCII 137) </td> </tr> <tr> <td>106 (Hex 6A)</td> <td>STOP (All Codes)</td> <td>2</td> <td>3</td> <td>3</td> <td>1</td> <td>1,1</td> <td>2</td> <td>? (ASCII 138) </td> </tr> </table> <p></p></div></div></div> 最后修改:2024 年 12 月 28 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 你的支持是我最大的动力
1 条评论
6