![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-11-11 02:19 |
47,815 topics / 349,930 posts / today 0 new / 48,291 members |
| DOS批处理 & 脚本技术(批处理室) » [Help] Looking for a batch file that can automatically input QQ number and password |
| Printable Version 12,484 / 45 |
| Floor16 bw070 | Posted 2007-04-20 11:38 |
| 中级用户 Posts 137 Credits 292 | |
|
Han~ Just download two QQs, one from Tencent and one from Shanhuhong, isn't that done?? I'm just like this...
|
|
| Floor17 vsda2008 | Posted 2007-04-20 12:52 |
| 初级用户 Posts 15 Credits 34 | |
|
How to convert the password? How to convert the password?
|
|
| Floor18 my3439955 | Posted 2007-04-21 00:27 |
| 中级用户 Posts 99 Credits 272 | |
|
First, convert the password using MD5, then transform it using Base64. Maybe you can calculate Base64 mentally, but MD5 is impossible; you still need to use a tool to transform it. The tool is provided on the 10th floor.
|
|
| Floor19 vsda2008 | Posted 2007-04-21 06:45 |
| 初级用户 Posts 15 Credits 34 | |
|
How to generate the password after PWDHASH using MD5 + base64?
|
|
| Floor20 luowei144 | Posted 2007-04-21 11:17 |
| 初级用户 Posts 28 Credits 57 | |
|
...Hmm, study, study
|
|
| Floor21 vsda2008 | Posted 2007-04-21 11:18 |
| 初级用户 Posts 15 Credits 34 | |
|
md5 can be done, but base64 can't. The password I generated doesn't work. I downloaded that tool, but I just want to know how to change it! Could some friend give me some advice? My base64 tool seems to calculate incorrectly.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Base64 Encoding and Encryption</title> </head> <body> <table width="773" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <script language=javascript> var base64EncodeChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var base64DecodeChars = new Array( -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 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, -1, -1, -1, -1, -1, -1, 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, -1, -1, -1, -1, -1); function base64encode(str) { var out, i, len; var c1, c2, c3; len = str.length; i = 0; out = ""; while(i < len) { c1 = str.charCodeAt(i++) & 0xff; if(i == len) { out += base64EncodeChars.charAt(c1 >> 2); out += base64EncodeChars.charAt((c1 & 0x3) << 4); out += "=="; break; } c2 = str.charCodeAt(i++); if(i == len) { out += base64EncodeChars.charAt(c1 >> 2); out += base64EncodeChars.charAt(((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4)); out += base64EncodeChars.charAt((c2 & 0xF) << 2); out += "="; break; } c3 = str.charCodeAt(i++); out += base64EncodeChars.charAt(c1 >> 2); out += base64EncodeChars.charAt(((c1 & 0x3)<< 4) | ((c2 & 0xF0) >> 4)); out += base64EncodeChars.charAt(((c2 & 0xF) << 2) | ((c3 & 0xC0) >>6)); out += base64EncodeChars.charAt(c3 & 0x3F); } return out; } function base64decode(str) { var c1, c2, c3, c4; var i, len, out; len = str.length; i = 0; out = ""; while(i < len) { /* c1 */ do { c1 = base64DecodeChars[str.charCodeAt(i++) & 0xff]; } while(i < len && c1 == -1); if(c1 == -1) break; /* c2 */ do { c2 = base64DecodeChars[str.charCodeAt(i++) & 0xff]; } while(i < len && c2 == -1); if(c2 == -1) break; out += String.fromCharCode((c1 << 2) | ((c2 & 0x30) >> 4)); /* c3 */ do { c3 = str.charCodeAt(i++) & 0xff; if(c3 == 61) return out; c3 = base64DecodeChars[c3]; } while(i < len && c3 == -1); if(c3 == -1) break; out += String.fromCharCode(((c2 & 0XF) << 4) | ((c3 & 0x3C) >> 2)); /* c4 */ do { c4 = str.charCodeAt(i++) & 0xff; if(c4 == 61) return out; c4 = base64DecodeChars[c4]; } while(i < len && c4 == -1); if(c4 == -1) break; out += String.fromCharCode(((c3 & 0x03) << 6) | c4); } return out; } function utf16to8(str) { var out, i, len, c; out = ""; len = str.length; for(i = 0; i < len; i++) { c = str.charCodeAt(i); if ((c >= 0x0001) && (c <= 0x007F)) { out += str.charAt(i); } else if (c > 0x07FF) { out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F)); out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F)); out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F)); } else { out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F)); out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F)); } } return out; } function utf8to16(str) { var out, i, len, c; var char2, char3; out = ""; len = str.length; i = 0; while(i < len) { c = str.charCodeAt(i++); switch(c >> 4) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: // 0xxxxxxx out += str.charAt(i-1); break; case 12: case 13: // 110x xxxx 10xx xxxx char2 = str.charCodeAt(i++); out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F)); break; case 14: // 1110 xxxx 10xx xxxx 10xx xxxx char2 = str.charCodeAt(i++); char3 = str.charCodeAt(i++); out += String.fromCharCode(((c & 0x0F) << 12) | ((char2 & 0x3F) << 6) | ((char3 & 0x3F) << 0)); break; } } return out; } function doit() { var f = document.f f.output.value = base64encode(utf16to8(f.source.value)) f.decode.value = utf8to16(base64decode(f.output.value)) } </script> <H1 align="center">Base64 Encoding and Encryption </H1> <FORM NAME="f"> Original Code<BR> <TEXTAREA NAME="source" ROWS=4 COLS=60 WRAP="soft"></TEXTAREA><BR><BR> Base64 encode<BR> <TEXTAREA NAME="output" ROWS=4 COLS=60 WRAP="soft"></TEXTAREA><BR><BR> Base64 decode<BR> <TEXTAREA NAME="decode" ROWS=4 COLS=60 WRAP="soft"></TEXTAREA><BR><BR> <INPUT TYPE=BUTTON VALUE="Convert" ONCLICK="doit()"> </FORM> </td> </tr> </table> </body> </html> |
|
| Floor22 my3439955 | Posted 2007-04-21 21:57 |
| 中级用户 Posts 99 Credits 272 | |
|
I don't understand JavaScript very well, but it should be okay to use it to do Base64 and md5. I found some information online and can implement md5+base64 transformation. The following is a complete web page
Some changes have been made, and now it can generate correct and usable md5+base64 values [ Last edited by my3439955 on 2007-4-28 at 11:21 AM ] |
|
| Floor23 qieagle | Posted 2007-04-22 08:52 |
| 初级用户 Posts 8 Credits 20 | |
|
Hehe! Everyone is still having quite a lively discussion!
|
|
| Floor24 tbs198400 | Posted 2007-04-22 13:58 |
| 初级用户 Posts 22 Credits 46 From 郑州 | |
|
Hehe, I will use the search function of this forum more in the future
|
|
| Floor25 my3439955 | Posted 2007-04-23 00:58 |
| 中级用户 Posts 99 Credits 272 | |
Originally posted by tbs198400 at 2007-4-22 13:58: There is no denying that this post also has its value |
|
| Floor26 vsda2008 | Posted 2007-04-23 07:04 |
| 初级用户 Posts 15 Credits 34 | |
|
My password after MD5 encryption: the 16-bit MD5 is 1abc93846cb5d329; the 32-bit is d997bd5e1abc93846cb5d3295c18b71a. Then I used base64 conversion: the 16-bit is MWFiYzkzODQ2Y2I1ZDMyOQ==; the 32-bit is ZDk5N2JkNWUxYWJjOTM4NDZjYjVkMzI5NWMxOGI3MWE=. But my real password text is 2Ze9Xhq8k4RstdMpXBi3Gg==. Where did I go wrong? help me
|
|
| Floor27 zgren1979 | Posted 2007-04-23 07:43 |
| 初级用户 Posts 24 Credits 52 | |
|
Learning... really posts for learning technology... Thanks to all the predecessors
|
|
| Floor28 my3439955 | Posted 2007-04-23 12:36 |
| 中级用户 Posts 99 Credits 272 | |
Originally posted by vsda2008 at 2007-4-23 07:04: Your MD5 has undergone hexadecimal transformation, so that MD5 can be displayed intuitively, but it is not the real MD5. The MD5 of the upper layer may not all be displayable characters |
|
| Floor29 vsda2008 | Posted 2007-04-28 09:19 |
| 初级用户 Posts 15 Credits 34 | |
Originally posted by my3439955 at 2007-4-22 11:36 PM: After reading your post, I'm very confused What should I do then |
|
| Floor30 my3439955 | Posted 2007-04-28 11:16 |
| 中级用户 Posts 99 Credits 272 | |
|
It's that I didn't make it clear. The MD5 you got is not incorrect. It's just that there's an extra step. You got a 32-bit d997bd5e1abc93846cb5d3295c18b71a. This is not the true face of MD5. It's transformed into hexadecimal for people to represent it conveniently. For example, there's a character like (10) which can't be displayed as a character. Then how to represent it? For convenience, the result is represented in hexadecimal form. As long as 0-9 A-F- can represent all. After talking so much, it seems that I didn't explain it very clearly.
|
|
| Prev 1 2 3 4 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |