批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程
[批处理文件精品]批处理版照片整理器[批处理文件精品]纯批处理备份&还原驱动在线第三方下载
返回列表 发帖

BASE64编解码工具bse.exe

本帖最后由 happy886rr 于 2016-10-26 16:23 编辑

引言:替代certutil编解码功能的强悍工具bse.exe,比certutil快3倍的编码速度。支持9种编码格式,支持6种解码格式。base64编码速率高达每秒600M到1300M,因此瓶颈在硬盘,完全写不过来。采用以内存换时间的程序设计方式,逻辑严密,注重细节。

BASE64编码器核心:
  1. while(i<fsize){
  2. buf[j++]=BASE64_CODE[ (RAMread[i  ]>>2  )                      ];
  3. buf[j++]=BASE64_CODE[ (RAMread[i  ]&0x03)<<4|(RAMread[++i]>>4) ];
  4. buf[j++]=BASE64_CODE[ (RAMread[i  ]&0x0F)<<2|(RAMread[++i]>>6) ];
  5. buf[j++]=BASE64_CODE[ (RAMread[i++]&0x3F)                      ];
  6. }
  7. if(i==fsize+2){buf[j-2]='=', buf[j-1]='=';}
  8. if(i==fsize+1){              buf[j-1]='=';}
复制代码
采取将if判断完全移出while循环,循环内部只有移位、与操作,产生的错误在while循环外重新纠错,因此编码速率达到硬盘读写速度的10倍以上。支持多种自定义,文件大小限制、特殊敏感词过滤。数种隐藏功能,请自行发掘。支持一键转为批处理脚本。完全不用担心“gc d”等特殊词被discuz吃掉。支持base64#、base64+、base64加权压缩,更携带base92节省空间。

使用说明:
  1. ___________________________________________________________________________________
  2. BSE编码、解码工具, 版本 1.1
  3. COPYRIGHT@2016~2018 BY HAPPY
  4. 使用:
  5.      bse [-e|-e#|-e+|-eb|-ex|...-d|-d#|-d+|-db|-dx|...] [输入文件] [输出文件]
  6. __________________________________________________________________________________
  7. 选项:
  8.     -h    帮助信息
  9.     -e    编码为 BASE64
  10.     -e#   编码为 BASE64#
  11.     -e+   编码为 BASE64+
  12.     -eb   编码为 BIN码
  13.     -ex   编码为 HEX码
  14.     -e92  编码为 BASE92
  15.     -d    BASE64 解码
  16.     -d#   BASE64#解码
  17.     -d+   BASE64+解码
  18.     -db   BIN码  解码
  19.     -dx   HEX码  解码
  20.     -d92  BASE92 解码
  21.     -m    制作标准 BASE64 批处理脚本
  22.     -mp   制作压缩 BASE64 加权批处理脚本
  23.     -md   制作兼容 BASE64 过滤论坛特殊词脚本
  24. __________________________________________________________________________________
  25. 示例:
  26.      bse -e a.jpg a.base64         //将图片a.jpg编码为 BASE64
  27.      bse -e# a.jpg a.base64#       //将图片a.jpg编码为 BASE64#
  28.      bse -e92 a.jpg a.base92       //将图片a.jpg编码为 BASE92
  29.      bse -d a.base64 a.jpg         //将a.base64 解编码为 a.jpg
  30.      bse -d# a.base64# a.jpg       //将a.base64#解编码为 a.jpg
  31.      bse -d92 a.base92 a.jpg       //将a.base92 解编码为 a.jpg
  32.      bse -m a.jpg a.bat            //将图片编码为“标准BASE64编码”批处理
  33.      bse -mp a.jpg a.bat           //将图片编码为“压缩BASE64加权”批处理
  34.      bse -md a.jpg a.bat           //将图片编码为“过滤论坛特殊词”批处理
  35.     ...
  36. __________________________________________________________________________________
  37. 英译:
  38. BSE.EXE
  39. >>>-------------------------------------------------------------------------------
  40. COPYRIGHT@2016~2018 BY HAPPY,VERSION 1.1
  41. bse [-e|-e#|-e+|-eb|-ex|-e92|
  42.      -d|-d#|-d+|-dx|-db|-d92|
  43.      -m|-mp|-md             ] [infile] [outfile]
  44. ----------------------------------------------------------------------------------
  45.     -h    Show help information
  46.     -e    Encode file to BASE64 code
  47.     -e#   Encode file to BASE64# code
  48.     -e+   Encode file to BASE64+ code
  49.     -eb   Encode file to BIN code
  50.     -ex   Encode file to HEX code
  51.     -e92  Encode file to BASE92 code
  52.     -d    Decode a file from BASE64 code
  53.     -d#   Decode a file from BASE64# code
  54.     -d+   Decode a file from BASE64+ code
  55.     -db   Decode a file from BIN code
  56.     -dx   Decode a file from HEX code
  57.     -d92  Decode a file from BASE92 code
  58.     -m    Make a ordinary BASE64 batch
  59.     -mp   Make a press BASE64 batch
  60.     -md   Make a discuz BASE64 batch
  61. ----------------------------------------------------------------------------------
  62.                                                                    10/26/2016
复制代码
核心源码:
  1. /*
  2. COPYRIGHT@2016~2018 BY HAPPY
  3. BSE.EXE
  4. VERSION 1.1
  5. */
  6. #include   <stdio.h>
  7. #include  <stdlib.h>
  8. #include  <string.h>
  9. //编码限制(单位:M)
  10. #define FILE_MAX_SIZE 128
  11. //BASE64加权压缩行长(单位:字节)
  12. #define PRESS_LINE_SIZE 1000
  13. //设置过滤敏感词数目
  14. #define SENSITIVE_NUM 3
  15. //添加敏感词条目(请用小写定义),过滤时不区分大小写。
  16. static const char* SENSITIVE_WORDS[]={"**", "**", "taidu", "zangdu", "qingzhen", "fenlie", "dfj", "hsd", "xjzz"};
  17. //BSE编码表
  18. static const unsigned char BASE64_CODE[64]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
  19. static const unsigned char BASE92_CODE[256]={33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
  20. static const char  HEX_CODE[16]="0123456789ABCDEF";
  21. static const char* BIN_CODE[16]={"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111", "1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111"};
  22. static const char  BASE64_PRESS_CODE[10]="@-#$_}{][A";
  23. //BSE解码表
  24. static const unsigned char BASE64_DECO[80]={0x3E,0x40,0x40,0x40,0x3F,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x40,0x40,0x40,0x40,0x40,0x40,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31,0x32,0x33};
  25. static const unsigned char BASE92_DECO[256]={255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,255,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,255,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255};
  26. static const unsigned char HEX_DECO[23]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F};
  27. //全局变量
  28. int i=0, j=0, FLAG=0, fsize=0;
  29. //敏感词过滤
  30. int Check_SensitiveWords(unsigned char* Str, int position)
  31. {
  32. int  n, SN, MARK, L;
  33. for(SN=0; SN<32; SN++){
  34. if(SN>=SENSITIVE_NUM){return 0;}
  35. L=strlen(SENSITIVE_WORDS[SN]), MARK=1;
  36. for(n=0; n<L; n++){
  37. if(Str[position+n]!=SENSITIVE_WORDS[SN][n] && Str[position+n]+32!=SENSITIVE_WORDS[SN][n]){
  38. MARK=0;break;
  39. }
  40. }
  41. if(MARK==1){return 1;}
  42. }
  43. return 0;
  44. }
  45. /***************编码函数群***************/
  46. //BASE64加权压缩
  47. int Press_Base64(unsigned char* Str, int L, FILE* stream, char* file)
  48. {
  49. int k, N, M, MARK;
  50. char* fname;
  51. char* extension_name;
  52. char* press=(char*)calloc(strlen(Str)+3, sizeof(char));
  53. for(k=0,i=0,j=0; j<L ;j++){
  54. if(Str[j]=='A' && j<L-1 && FLAG!=22){
  55. i++;
  56. }else{
  57. if(i!=0){
  58. while(i>512){
  59. i-=512;
  60. press[k++]=BASE64_PRESS_CODE[0];
  61. }
  62. M=512;
  63. for(N=0; N<10; N++){
  64. if(i>=M){
  65. press[k++]=BASE64_PRESS_CODE[N];
  66. i-=M;
  67. }
  68. M>>=1;
  69. }
  70. }
  71. if(Str[j]=='\0'){break;}else{press[k++]=Str[j];}
  72. if(Check_SensitiveWords(Str, j)){
  73. if(FLAG==22){press[k++]=' ';}else{press[k++]='.';}
  74. }
  75. }
  76. }
  77. fname=strtok(file, ".");
  78. extension_name=strtok(NULL, ".");
  79. if(FLAG==22){
  80. //生成论坛专用码
  81. int N, MARK=j/64+1;
  82. fprintf(stream
  83. , "@echo off\r\n"
  84. "::*********BASE64 过滤解码器*********\r\n"
  85. "certutil -decode \"%%~f0\" %s.%s&pause&exit /b\r\n"
  86. "::***********************************\r\n"
  87. ,
  88. fname,
  89. extension_name
  90. );
  91. fprintf(stream, "\r\n-----BEGIN BASE64-----\r\n");
  92. fwrite(press, k, 1, stream);
  93. fprintf(stream, "\r\n-----END BASE64-----\r\n");
  94. return 0;
  95. }
  96. //生成加权压缩码
  97. MARK=(int)(k/PRESS_LINE_SIZE+1);
  98. fprintf(stream
  99. , "@echo off\r\n"
  100. "setlocal enabledelayedexpansion\r\n\r\n"
  101. "::*********BASE64 加权解码器*********\r\n"
  102. "set $=set [#]&CALL :BASE64_PRESS&set [$]=A&((for %%%%Z in ([,],{,},_,$,#,-,@) do (set [$]=![$]!![$]!&for %%%%S in (![$]!) do (for /l %%%%i in (1,1,%d) do (!$!%%%%i=![#]%%%%i:%%%%Z=%%%%S!))))&for /l %%%%i in (1,1,%d) do (set/p=![#]%%%%i:.=!<NUL))>%s.BSEP&certutil -decode %s.BSEP %s.%s&pause&exit /b\r\n"
  103. "::***********************************\r\n\r\n"
  104. ":BASE64_PRESS\r\n"
  105. ,
  106. MARK,
  107. MARK,
  108. fname,
  109. fname,
  110. fname,
  111. extension_name
  112. );
  113. for(N=1; N<=MARK; N++){
  114. fprintf(stream, "\r\n!$!%d=", N);
  115. if(N!=MARK){
  116. fwrite(press,   PRESS_LINE_SIZE, 1, stream);
  117. press+=PRESS_LINE_SIZE;
  118. }else{
  119. fwrite(press, k%PRESS_LINE_SIZE, 1, stream);
  120. }
  121. }
  122. fprintf(stream, "\r\ngoto :EOF");
  123. return 0;
  124. }
  125. //BASE64编码
  126. int EncodeBase64(FILE* fp, FILE* stream, char* file)
  127. {
  128. unsigned char* RAMread=(unsigned char*)calloc(    fsize+3, sizeof(unsigned char));
  129. unsigned char*     buf=(unsigned char*)calloc(fsize*4/3+2, sizeof(unsigned char));
  130. fread(RAMread, fsize, 1, fp);fclose(fp);
  131. while(i<fsize){
  132. buf[j++]=BASE64_CODE[ (RAMread[i  ]>>2  )                      ];
  133. buf[j++]=BASE64_CODE[ (RAMread[i  ]&0x03)<<4|(RAMread[++i]>>4) ];
  134. buf[j++]=BASE64_CODE[ (RAMread[i  ]&0x0F)<<2|(RAMread[++i]>>6) ];
  135. buf[j++]=BASE64_CODE[ (RAMread[i++]&0x3F)                      ];
  136. }
  137. if(i==fsize+2){buf[j-2]='=', buf[j-1]='=';}
  138. if(i==fsize+1){              buf[j-1]='=';}
  139. free(RAMread);
  140. if(FLAG==20){
  141. //生成兼容性BASE64解码脚本
  142. int N, MARK=j/64+1;
  143. char* fname=strtok(file, ".");
  144. char* extension_name=strtok(NULL, ".");
  145. fprintf(stream
  146. , "@echo off\r\n"
  147. "::*********BASE64 标准解码器*********\r\n"
  148. "certutil -decode \"%%~f0\" %s.%s&pause&exit /b\r\n"
  149. "::***********************************\r\n"
  150. ,
  151. fname,
  152. extension_name
  153. );
  154. fprintf(stream, "\r\n-----BEGIN BASE64-----");
  155. for(N=1; N<=MARK; N++){
  156. fprintf(stream, "\r\n");
  157. if(N!=MARK){
  158. fwrite(buf,   64, 1, stream);
  159. buf+=64;
  160. }else{
  161. fwrite(buf, j%64, 1, stream);
  162. }
  163. }
  164. fprintf(stream, "\r\n-----END BASE64-----");
  165. return 0;
  166. }else if(FLAG==21){
  167. //制作加权压缩BASE64解码脚本
  168. Press_Base64(buf, j, stream, file);
  169. }else if(FLAG==22){
  170. //制作DISCUZ论坛专用解码脚本
  171. Press_Base64(buf, j, stream, file);
  172. }else {
  173. fwrite(buf, j, 1, stream);
  174. }
  175. free(buf);
  176. return 0;
  177. }
  178. //BASE64#编码
  179. int EncodeBase64_Tight(FILE* fp, FILE* stream)
  180. {
  181. unsigned char* RAMread=(unsigned char*)calloc(    fsize+3, sizeof(unsigned char));
  182. unsigned char*     buf=(unsigned char*)calloc(fsize*4/3+2, sizeof(unsigned char));
  183. fread(RAMread, fsize, 1, fp);fclose(fp);
  184. while(i<fsize){
  185. buf[j++]=BASE64_CODE[(RAMread[i  ]&0xC0)>>2|(RAMread[i+1]&0xC0)>>4|(RAMread[i+2]&0xC0)>>6];
  186. buf[j++]=BASE64_CODE[ RAMread[i++]&0x3F ];
  187. buf[j++]=BASE64_CODE[ RAMread[i++]&0x3F ];
  188. buf[j++]=BASE64_CODE[ RAMread[i++]&0x3F ];
  189. }
  190. if(i==fsize+2){buf[j-2]='=', buf[j-1]='=';}
  191. if(i==fsize+1){              buf[j-1]='=';}
  192. free(RAMread);
  193. fwrite(buf, j, 1, stream);
  194. free(buf);
  195. return 0;
  196. }
  197. //BASE64+编码
  198. int EncodeBase64_Plus(FILE* fp, FILE* stream)
  199. {
  200. unsigned char* RAMread=(unsigned char*)calloc(    fsize+3, sizeof(unsigned char));
  201. unsigned char*  quotes=(unsigned char*)calloc(  fsize/3+2, sizeof(unsigned char));
  202. unsigned char*     buf=(unsigned char*)calloc(fsize*4/3+2, sizeof(unsigned char));
  203. fread(RAMread, fsize, 1, fp);fclose(fp);
  204. while(i<fsize){
  205. quotes[i/3]=BASE64_CODE[(RAMread[i]&0xC0)>>2|(RAMread[i+1]&0xC0)>>4|(RAMread[i+2]&0xC0)>>6];
  206. buf[i]=BASE64_CODE[ RAMread[i++]&0x3F ];
  207. buf[i]=BASE64_CODE[ RAMread[i++]&0x3F ];
  208. buf[i]=BASE64_CODE[ RAMread[i++]&0x3F ];
  209. }
  210. if(i==fsize+2){buf[i-2]='=', buf[i-1]='=';}
  211. if(i==fsize+1){              buf[i-1]='=';}
  212. free(RAMread);
  213. fwrite(buf, i, 1, stream);
  214. fputs("#", stream);
  215. fwrite(quotes, i/3+1, 1, stream);
  216. free(buf);free(quotes);
  217. return 0;
  218. }
  219. //BASEBIN编码
  220. int EncodeBin(FILE* fp, FILE* stream)
  221. {
  222. unsigned char* RAMread=(unsigned char*)calloc(  fsize+1, sizeof(unsigned char));
  223. char* buf[2];
  224. fread(RAMread, fsize, 1, fp);fclose(fp);
  225. while(i!=fsize){
  226. buf[0]=(char*)BIN_CODE[ RAMread[i  ]>>4   ];
  227. buf[1]=(char*)BIN_CODE[ RAMread[i++]&0x0F ];
  228. fprintf(stream, "%s%s", buf[0], buf[1]);
  229. }
  230. free(RAMread);
  231. return 0;
  232. }
  233. //BASEHEX编码
  234. int EncodeHex(FILE* fp, FILE* stream)
  235. {
  236. unsigned char* RAMread=(unsigned char*)calloc(  fsize+1, sizeof(unsigned char));
  237. unsigned char*     buf=(unsigned char*)calloc(fsize*2+1, sizeof(unsigned char));
  238. fread(RAMread, fsize, 1, fp);fclose(fp);
  239. while(i!=fsize){
  240. buf[j++]=HEX_CODE[ RAMread[i  ]>>4   ];
  241. buf[j++]=HEX_CODE[ RAMread[i++]&0x0F ];
  242. }
  243. free(RAMread);
  244. fwrite(buf, j, 1, stream);
  245. free(buf);
  246. return 0;
  247. }
  248. //BASE92编码
  249. int Str_Encode(unsigned char* str, FILE* stream)
  250. {
  251. unsigned int sizes;
  252. unsigned long workspace;
  253. unsigned short wssize;
  254. int tmp, len=fsize;
  255. unsigned char c;
  256. unsigned char *res;
  257. sizes=(len*8)%13;
  258. if(sizes==0){
  259. sizes=2*((len*8)/13);
  260. } else if(sizes<7){
  261. sizes=2*((len*8)/13)+1;
  262. } else {
  263. sizes=2*((len*8)/13)+2;
  264. }
  265. res=(unsigned char*)malloc(sizeof(char)*(sizes+1));
  266. workspace=0;
  267. wssize=0;
  268. j=0;
  269. for(i=0; i<len; i++){
  270. workspace=workspace<<8 | str[i];
  271. wssize+=8;
  272. if(wssize>=13){
  273. tmp=(workspace>>(wssize-13))&8191;
  274. c=BASE92_CODE[tmp/91];
  275. if(c==0){
  276. free(res);
  277. return 1;
  278. }
  279. res[j++]=c;
  280. c=BASE92_CODE[tmp%91];
  281. if(c==0){
  282. free(res);
  283. return 1;
  284. }
  285. res[j++]=c;
  286. wssize -=13;
  287. }
  288. }
  289. if(0<wssize && wssize<7){
  290. tmp=(workspace<<(6-wssize))&63;
  291. c=BASE92_CODE[tmp];
  292. if(c==0){
  293. free(res);
  294. return 1;
  295. }
  296. res[j]=c;
  297. } else if(7<=wssize){
  298. tmp=(workspace<<(13-wssize))&8191;
  299. c=BASE92_CODE[tmp/91];
  300. if(c==0){
  301. free(res);
  302. return 1;
  303. }
  304. res[j++]=c;
  305. c=BASE92_CODE[tmp%91];
  306. if(c==0){
  307. free(res);
  308. return 1;
  309. }
  310. res[j]=c;
  311. }
  312. res[sizes]=0;
  313. fwrite(res, sizes, 1, stream);
  314. return 0;
  315. }
  316. int EncodeBase92(FILE* fp, FILE* stream)
  317. {
  318. unsigned char* RAMread=(unsigned char*)calloc(fsize, sizeof(unsigned char));
  319. fread(RAMread, fsize, 1, fp);fclose(fp);
  320. Str_Encode(RAMread, stream);
  321. free(RAMread);
  322. return 0;
  323. }
  324. /***************解码函数群***************/
  325. //BASE64解码
  326. int DecodeBase64(FILE* fp, FILE* stream)
  327. {
  328. unsigned char* RAMread=(unsigned char*)calloc(    fsize+2, sizeof(unsigned char));
  329. unsigned char*     buf=(unsigned char*)calloc(fsize*3/4+3, sizeof(unsigned char));
  330. fread(RAMread, fsize, 1, fp);fclose(fp);
  331. for(; i<fsize; i++){
  332. buf[j++]=BASE64_DECO[RAMread[i]-43]<<2 | BASE64_DECO[RAMread[++i]-43]>>4;
  333. buf[j++]=BASE64_DECO[RAMread[i]-43]<<4 | BASE64_DECO[RAMread[++i]-43]>>2;
  334. buf[j++]=BASE64_DECO[RAMread[i]-43]<<6 | BASE64_DECO[RAMread[++i]-43]   ;
  335. }
  336. if(RAMread[--i]=='='){j--;}
  337. if(RAMread[--i]=='='){j--;}
  338. free(RAMread);
  339. fwrite(buf, j, 1, stream);
  340. free(buf);
  341. return 0;
  342. }
  343. //BASE64#解码
  344. int DecodeBase64_Tight(FILE* fp, FILE* stream)
  345. {
  346. unsigned char* RAMread=(unsigned char*)calloc(    fsize+2, sizeof(unsigned char));
  347. unsigned char*     buf=(unsigned char*)calloc(fsize*3/4+3, sizeof(unsigned char));
  348. unsigned char      pre;
  349. fread(RAMread, fsize, 1, fp);fclose(fp);
  350. while(i<fsize){
  351. pre=BASE64_DECO[RAMread[i++]-43];
  352. buf[j++]=(pre&0x30)<<2 | BASE64_DECO[RAMread[i++]-43];
  353. buf[j++]=(pre&0x0C)<<4 | BASE64_DECO[RAMread[i++]-43];
  354. buf[j++]=(pre&0x03)<<6 | BASE64_DECO[RAMread[i++]-43];
  355. }
  356. if(RAMread[--i]=='='){j--;}
  357. if(RAMread[--i]=='='){j--;}
  358. free(RAMread);
  359. fwrite(buf, j, 1, stream);
  360. free(buf);
  361. return 0;
  362. }
  363. //BASE64+解码
  364. int DecodeBase64_Plus(FILE* fp, FILE* stream)
  365. {
  366. unsigned char* RAMread=(unsigned char*)calloc(    fsize+3, sizeof(unsigned char));
  367. unsigned char*     buf=(unsigned char*)calloc(fsize*3/4+3, sizeof(unsigned char));
  368. unsigned char      pre;
  369. fread(RAMread, fsize, 1, fp);fclose(fp);
  370. int p=(int)strchr(RAMread, '#')-(int)RAMread;
  371. while(i<p){
  372. pre=BASE64_DECO[RAMread[i/3+p+1]-43];
  373. buf[i]=(pre&0x30)<<2 | BASE64_DECO[RAMread[i++]-43];if(i==p){break;}
  374. buf[i]=(pre&0x0C)<<4 | BASE64_DECO[RAMread[i++]-43];if(i==p){break;}
  375. buf[i]=(pre&0x03)<<6 | BASE64_DECO[RAMread[i++]-43];
  376. }
  377. if(RAMread[i-1]=='='){i--;}
  378. if(RAMread[i-1]=='='){i--;}
  379. free(RAMread);
  380. fwrite(buf, i, 1, stream);
  381. free(buf);
  382. return 0;
  383. }
  384. //BASEBIN解码
  385. int DecodeBin(FILE* fp, FILE* stream)
  386. {
  387. int M;
  388. unsigned char* RAMread=(unsigned char*)calloc(fsize+2,sizeof(unsigned char));
  389. unsigned char S;
  390. fread(RAMread, fsize, 1, fp);fclose(fp);
  391. while(i<fsize){
  392. S=0,M=128;
  393. for(j=0; j<8; j++){
  394. if(RAMread[i++]==49){
  395. S+=M;
  396. }
  397. M>>=1;
  398. }
  399. fprintf(stream, "%c", S);
  400. }
  401. free(RAMread);
  402. return 0;
  403. }
  404. //BASEHEX解码
  405. int DecodeHex(FILE* fp, FILE* stream)
  406. {
  407. unsigned char* RAMread=(unsigned char*)calloc(fsize+2  , sizeof(unsigned char));
  408. unsigned char*     buf=(unsigned char*)calloc(fsize/2+1, sizeof(unsigned char));
  409. fread(RAMread, fsize, 1, fp);fclose(fp);
  410. for(; i!=fsize; i++){
  411. buf[j++]=HEX_DECO[RAMread[i]-48]<<4|HEX_DECO[RAMread[++i]-48];
  412. }
  413. free(RAMread);
  414. fwrite(buf, j, 1, stream);
  415. free(buf);
  416. return 0;
  417. }
  418. //BASE92解码
  419. int Str_Decode(unsigned char* str, FILE* stream)
  420. {
  421. int b1, b2, len;
  422. int sizes;
  423. unsigned char* res;
  424. unsigned long workspace;
  425. unsigned short wssize;
  426. sizes=strlen(str);
  427. if(strcmp(str, "~")==0 || sizes==0){
  428. res=(unsigned char*)malloc(sizeof(char)*1);
  429. res[0]=0;
  430. return 1;
  431. }
  432. if(sizes<2){
  433. res=(unsigned char*)1;
  434. }
  435. len=((sizes/2*13)+(sizes%2*6))/8;
  436. res=(unsigned char *)malloc(sizeof(char)*(len));
  437. workspace=0;
  438. wssize=0;
  439. j=0;
  440. for(i=0; i+1<sizes; i+=2){
  441. b1=BASE92_DECO[str[i]];
  442. b2=BASE92_DECO[str[i+1]];
  443. workspace=(workspace<<13)|(b1*91+b2);
  444. wssize+=13;
  445. while(wssize>=8){
  446. res[j++]=(workspace>>(wssize-8))&255;
  447. wssize -=8;
  448. }
  449. }
  450. if(sizes%2==1){
  451. workspace=(workspace<<6)| BASE92_DECO[str[sizes-1]];
  452. wssize+=6;
  453. while(wssize>=8){
  454. res[j++]=(workspace>>(wssize-8))&255;
  455. wssize -=8;
  456. }
  457. }
  458. fwrite(res, len, 1, stream);
  459. return 0;
  460. }
  461. int DecodeBase92(FILE* fp, FILE* stream)
  462. {
  463. unsigned char* RAMread=(unsigned char*)calloc(fsize, sizeof(unsigned char));
  464. fread(RAMread, fsize, 1, fp);fclose(fp);
  465. Str_Decode(RAMread, stream);
  466. free(RAMread);
  467. return 0;
  468. }
  469. /***************功能函数群***************/
  470. //帮助信息
  471. void Help_Information(FILE* stream, int Exit_Code)
  472. {
  473. fprintf(stream,
  474. "COPYRIGHT@2016~2018 BY HAPPY, VERSION 1.1\n"
  475. "--------------------------------------------------------------\n"
  476. "bse [-e|-e#|-e+|-eb|-ex|-e92|\n"
  477. "     -d|-d#|-d+|-dx|-db|-d92|\n"
  478. "     -m|-mp|-md             ] [infile] [outfile]\n"
  479. "--------------------------------------------------------------\n"
  480. "    -h    Show help information\n"
  481. "    -e    Encode file to BASE64 code\n"
  482. "    -e#   Encode file to BASE64# code\n"
  483. "    -e+   Encode file to BASE64+ code\n"
  484. "    -eb   Encode file to BIN code\n"
  485. "    -ex   Encode file to HEX code\n"
  486. "    -e92  Encode file to BASE92 code\n"
  487. "    -d    Decode a file from BASE64 code\n"
  488. "    -d#   Decode a file from BASE64# code\n"
  489. "    -d+   Decode a file from BASE64+ code\n"
  490. "    -db   Decode a file from BIN code\n"
  491. "    -dx   Decode a file from HEX code\n"
  492. "    -d92  Decode a file from BASE92 code\n"
  493. "    -m    Make a ordinary BASE64 batch\n"
  494. "    -mp   Make a press BASE64 batch\n"
  495. "    -md   Make a discuz BASE64 batch\n"
  496. "--------------------------------------------------------------\n"
  497. );
  498. exit(Exit_Code);
  499. }
  500. /*************MAIN主函数入口*************/
  501. int main(int argc, char** argv)
  502. {
  503. FILE* fp;FILE* op; char* delims;
  504. if((argc==4) && (argv[1][0]=='-')){
  505. switch(argv[1][1]){
  506. case 'E':
  507. case 'e':
  508. delims=(argv[1]+2);
  509. if     (delims[0]=='\0'){FLAG= 1;}
  510. else if(delims[0]== '#'){FLAG= 2;}
  511. else if(delims[0]== '+'){FLAG= 3;}
  512. else if(delims[0]== 'b'){FLAG= 4;}
  513. else if(delims[0]== 'x'){FLAG= 5;}
  514. else if(delims[0]== '9'){FLAG= 9;}
  515. else{Help_Information(stderr, 1);}
  516. break;
  517. case 'D':
  518. case 'd':
  519. delims=(argv[1]+2);
  520. if     (delims[0]=='\0'){FLAG=11;}
  521. else if(delims[0]== '#'){FLAG=12;}
  522. else if(delims[0]== '+'){FLAG=13;}
  523. else if(delims[0]== 'b'){FLAG=14;}
  524. else if(delims[0]== 'x'){FLAG=15;}
  525. else if(delims[0]== '9'){FLAG=19;}
  526. else{Help_Information(stderr, 1);}
  527. break;
  528. case 'M':
  529. case 'm':
  530. delims=(argv[1]+2);
  531. if     (delims[0]=='\0'){FLAG=20;}
  532. else if(delims[0]== 'p'){FLAG=21;}
  533. else if(delims[0]== 'd'){FLAG=22;}
  534. break;
  535. default:
  536. Help_Information(stderr, 2);
  537. }
  538. }else{
  539. Help_Information(stderr, 3);
  540. }
  541. //读文件流
  542. if( (fp=fopen(argv[2], "rb"))==NULL ){
  543. fputs("Failed to read file.", stdout);
  544. return 2;
  545. }
  546. //测量尺寸
  547. fseek(fp, 0, SEEK_END);
  548. if( (fsize=ftell(fp))>FILE_MAX_SIZE*1024*1024 ){
  549. fputs("File size is too large, out of memory.", stdout);
  550. return 1;
  551. }
  552. //指针复原
  553. fseek(fp, 0, SEEK_SET);
  554. //打开输出文件流
  555. if( (op=fopen(argv[3], "wb"))==NULL ){
  556. fputs("Failed to read file.", stdout);
  557. return 1;
  558. }
  559. switch(FLAG){
  560. case 1:
  561. EncodeBase64(fp, op, NULL);
  562. break;
  563. case 2:
  564. EncodeBase64_Tight(fp, op);
  565. break;
  566. case 3:
  567. EncodeBase64_Plus(fp, op);
  568. break;
  569. case 4:
  570. EncodeBin(fp, op);
  571. break;
  572. case 5:
  573. EncodeHex(fp, op);
  574. break;
  575. case 9:
  576. EncodeBase92(fp, op);
  577. break;
  578. case 11:
  579. DecodeBase64(fp, op);
  580. break;
  581. case 12:
  582. DecodeBase64_Tight(fp, op);
  583. break;
  584. case 13:
  585. DecodeBase64_Plus(fp, op);
  586. break;
  587. case 14:
  588. DecodeBin(fp, op);
  589. break;
  590. case 15:
  591. DecodeHex(fp, op);
  592. break;
  593. case 19:
  594. DecodeBase92(fp, op);
  595. break;
  596. case 20:
  597. case 21:
  598. case 22:
  599. EncodeBase64(fp, op, argv[2]);
  600. break;
  601. }
  602. fclose(op);
  603. return 0;
  604. }
复制代码
程序下载:
  这次用bse.exe的-m选项自动编码自己生成批处理脚本,完全过滤论坛的gc d被吃掉的现象。
  1. @echo off
  2. ::*********BASE64 过滤解码器*********
  3. certutil -decode "%~f0" bse.7z&pause&exit /b
  4. ::***********************************
  5. -----BEGIN BASE64-----
  6. N3q8ryccAAT22uG8oC4AAAAAAAAjAAAAAAAAAFEyKN/gWXsTSV0AIRTEqwhKKETSeHQBcyCbLX+0ZDUdRCvymBWVXTJtQ8tjk3Zuq5uIcduvEEiXGt9Kna9EBtplETJvL0NYh4BBFdMCQ7bGo2zaX4ENkarz6A4gjhETZwfaSGENM6zin4SCJltsNH8q7WLhb2UOE/bvvfdNSt6DFXHNg9gwXgcT1UjgcR3042yNxPCYvi2aBKKSV5kI4myCx9bYD07EcIsAZktBbQ1MTxPQ/lji88E4yIEzdP8Q6/7scYwZvxe+fyCI6LPPxH4vzzS/TVgzfPlhO40VZwaDQ4kAVJJYAfi9koYNcvXB20ZQy5jn4ExcoAkcAPy2GzJ63FnvvnRdDlQvh+baurTWcJQ3VYWKvjIViyWNfiQWLu7/TlNz31qrcvyao5BgEWs/rm5S1n7rHvVdUMrD0a1ABMyyOXopR3HopFHw0ZXt+uz/Anssdlxkw+WDqQxapTRrNYvq3jrqyPSgBcHL3tXAP6r9VQ0Mbmek2PvFxTNDVCeFDkSuBU86Bjq9o6QsvRcW5u4j27TCa8/UGQ6oiZR4WEt/1lvXQM3228gZYUiuItTkc5tzL3Qh00zAtsywYaeMSm+tF15a3RCT474A9sf1OQXMPkutFgVaBqMP6URMYxw42596Xaz418e8k8EhNlEg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CP+Hx3pWdFy5y5odwmddfwigsdfRLuHzEj65BSvM4H33UOf8eBerKZLn3S3xda+h8Y2Noize0p+nbDPZDekM/+wH/4dWm2AGWd5yE/UPt9GjbwdYIwTXlop1Lz4FBcGrecBCYC5AAcLAQABIwMBAQVdABAAAAyA7goBtioakwAA
  7. -----END BASE64-----
复制代码
下面是base64加权压缩的bmp.exe
  1. @echo off
  2. setlocal enabledelayedexpansion
  3. ::*********BASE64 加权解码器*********
  4. set $=set [#]&CALL :BASE64_PRESS&set [$]=A&((for %%Z in ([,],{,},_,$,#,-,@) do (set [$]=![$]!![$]!&for %%S in (![$]!) do (for /l %%i in (1,1,5) do (!$!%%i=![#]%%i:%%Z=%%S!))))&for /l %%i in (1,1,5) do (set/p=![#]%%i:.=!<NUL))>bmp.BSEP&certutil -decode bmp.BSEP bmp.exe&pause&exit /b
  5. ::***********************************
  6. :BASE64_PRESS
  7. !$!1=TVqQ[M]E]//8[Lg{AQ_{][Ag]A4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJ{ABQRQ[TAEFAKZmEFg{[O[DwMLAQI4[o]S]Ag[gBI]Q]I]AB]Q]Ag[B]AE]E{[Bg]B[AI3c[AM][C[AB][E[AE{B}BQ[CIAw#}][AC50ZXh0]9Ak]Q]Cg]Q}[G[UGAuZGF0YQ[AF][I]AI]O}[B[DDALnJkYXRh[Dc]AD]AC]E}[AQ[wQC5ic3M]A8]AB}{][I[MMAuaWRhdGE[IgD]U]AQ]S}[B[DD@$}][FWJ5YPsGIld+ItFCDHbiXX8iwAx9osAPZE[MB3Qz2N[DAclu+AQ[AMcEJAg]x0olUJAToHAk[IP4AXR6hcB0DscEJAg[AD/0Lv/////idiLdfyLXfiJ7F3CB[9l[AwHTCd0o9kw[wHS0idiLdfyLXfiJ7F3CBACQPQU[MB0Wz0d[DAdcXHBCQE]MfaJdCQE6LgI[CD+AF0aoXAdKrHBCQE]/9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rLf
已更新版本为version1.1,修复了一些漏洞bug,请使用最新1.1版本。

TOP

没有看到下载地址  代码怎么使用

TOP

回复 4# aaaoooenenen
他有一个程序下载,是bat代码
https://pc.woozooo.com/mydisk.php

TOP

返回列表