{"id":349,"date":"2011-10-11T09:29:46","date_gmt":"2011-10-11T01:29:46","guid":{"rendered":"http:\/\/inbreak.net\/?p=349"},"modified":"2011-10-11T09:31:55","modified_gmt":"2011-10-11T01:31:55","slug":"%e5%88%a9%e7%94%a8%e7%b3%bb%e7%bb%9f%e6%97%b6%e9%97%b4%e5%8f%af%e9%a2%84%e6%b5%8b%e7%a0%b4%e8%a7%a3java%e9%9a%8f%e6%9c%ba%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.inbreak.net\/archives\/349.html","title":{"rendered":"\u5229\u7528\u7cfb\u7edf\u65f6\u95f4\u53ef\u9884\u6d4b\u7834\u89e3java\u968f\u673a\u6570"},"content":{"rendered":"

By kxlzx http:\/\/inbreak.net\/
\n\u6458\u8981\uff1a<\/strong>
\n\u8fd9\u662f\u4e00\u4e2a\u968f\u673a\u51fd\u6570\u7834\u89e3\u7684\u7ecf\u5178\u4f8b\u5b50\u3002\u5728java\u7a0b\u5e8f\u4e2d\uff0c\u83b7\u53d6\u968f\u673a\u6570\u7684\u505a\u6cd5\u6709\u591a\u79cd\u3002\u4f46\u662f\u6211\u4eec\u5b9e\u73b0\u4e00\u4e2a\u968f\u673atoken\uff0c\u5e76\u7528\u4e8e\u8ba4\u8bc1\u65f6\uff0c\u901a\u5e38\u7b2c\u4e00\u65f6\u95f4\uff0c\u60f3\u8d77\u6765\u4f7f\u7528\u201cSystem.currentTimeMillis\u201d\uff0c\u672c\u6587\u4f1a\u8be6\u7ec6\u8bb2\u89e3\u4e00\u6b21\u7834\u89e3\u968f\u673a\u6570\u7684\u7ecf\u8fc7\u3002<\/p>\n

\u6b63\u6587\uff1a<\/strong><\/p>\n

\u201cSystem.currentTimeMillis\u201d\u8fd9\u4e2a\u65b9\u6cd5\uff0c\u8fd4\u56de\u4eceUTC 1970\u5e741\u67081\u65e5\u5348\u591c\u5f00\u59cb\u7ecf\u8fc7\u7684\u6beb\u79d2\u6570\u3002\u6267\u884c\u7ed3\u679c\uff0c\u53ef\u80fd\u662f\u7c7b\u4f3c\u201c1315395175327\u201d\u8fd9\u6837\u7684\u6570\u5b57\uff0c\u56e0\u4e3a\u540e\u9762\u7684\u51e0\u4f4d\uff0c\u662f\u6beb\u79d2\uff0c\u6240\u4ee5\u6267\u884c\u7ed3\u679c\u5c31\u597d\u50cf\u201c\u968f\u673a\u201d\u4e00\u6837\u3002
\n\u4eca\u5929\u9047\u5230\u7684\u4e00\u4e2a\u7cfb\u7edf\uff0c\u76f8\u5173\u4e1a\u52a1\u903b\u8f91\u573a\u666f\uff0c\u662f\u7528\u4e8e\u627e\u56de\u5bc6\u7801\u3002\u9996\u5148\u8981\u6c42\u7528\u6237\u8f93\u5165\u81ea\u5df1\u7684\u90ae\u7bb1\uff0c\u7cfb\u7edf\u7b97\u51fa\u6765\u4e00\u4e2atoken\uff0c\u53d1\u7ed9\u7528\u6237\u90ae\u7bb1\uff0c\u8ba9\u7528\u6237\u4f7f\u7528token\uff0c\u6267\u884c\u4fee\u6539\u5bc6\u7801\u7684\u8fd9\u4e00\u6b65\u3002
\n1\u3001\u8f93\u5165\u90ae\u7bb1\u3002
\n2\u3001\u53d1\u9001\u90ae\u4ef6\u7ed9\u7528\u6237\u90ae\u7bb1\u3002
\n3\u3001\u6839\u636e\u90ae\u7bb1\u4e2d\u7684\u94fe\u63a5\uff0c\u4fee\u6539\u5bc6\u7801
\n\u5c31\u662f\u8bf4\uff0c\u53ea\u8981\u80fd\u7834\u89e3\u4e86\u670d\u52a1\u5668\u7ed9\u7528\u6237\u751f\u6210\u7684token\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u4fee\u6539\u7528\u6237\u5bc6\u7801\u3002
\n\u5728\u751f\u6210token\u65f6\uff0c\u91c7\u7528\u4e86\u8fd9\u6837\u4e00\u6bb5\u4ee3\u7801\uff1a<\/p>\n

public String genToken(String email) {\r\nString token = email.hashCode() * 21 + System.currentTimeMillis() + \"\";\r\nreturn token;\r\n}<\/pre>\n

\u4ece\u4ee3\u7801\u4e0a\u53ef\u4ee5\u770b\u5230\uff0cEmail\u7684hashcode\uff0c\u5728\u7528\u6237\u7684email\u56fa\u5b9a\u7684\u60c5\u51b5\u4e0b\uff0c\u662f\u4e0d\u53d8\u7684\uff0c\u90a3\u4e48\u8fd9\u4e2a\u4e0d\u53d8\u7684\u6570\u5b57\uff0c\u5373\u4f7f\u4e58\u4ee521\uff0c\u4f9d\u7136\u662f\u4e0d\u53d8\u7684\u3002\u53ea\u8981\u77e5\u9053\u4e86\u7528\u6237\u7684email\uff0c\u5c31\u53ef\u4ee5\u77e5\u9053\u8fd9\u4e2a\u6570\u5b57\u3002
\n\u771f\u6b63\u968f\u673a\u7684\u53ea\u6709System.currentTimeMillis()
\n\u8fd9\u4e2a\u65b9\u6cd5\u8c8c\u4f3c\u968f\u673a\uff0c\u6761\u4ef6\u5141\u8bb8\u7684\u60c5\u51b5\u4e0b\uff0c\u5176\u5b9e\u662f\u53ef\u4ee5\u7834\u89e3\u7684\u3002<\/p>\n

\u5229\u7528\u7cfb\u7edf\u65f6\u95f4\u53ef\u9884\u6d4b\u7834\u89e3java\u968f\u673a\u6570\uff1a<\/strong><\/p>\n

\u6839\u636e\u4ee5\u4e0a\u6d41\u7a0b\uff0c\u53ea\u8981\u653b\u51fb\u8005\u63d0\u4ea4<\/p>\n

http:\/\/inbreak.net\/user\/findpassword.action?email=4700012@qq.com<\/pre>\n

\u5c31\u53ef\u4ee5\u7ed9\u653b\u51fb\u8005\u7684\u90ae\u7bb1\uff0c\u53d1\u4e00\u5c01EMAIL\u3002
\n================
\n\u4f60\u597d\uff0c\u7a7a\u865a\u6d6a\u5b50\u5fc3:
\n\u8bf7\u70b9\u51fb\u94fe\u63a5\u91cd\u7f6e\u5bc6\u7801\u3002\u8be5\u94fe\u63a524\u5c0f\u65f6\u5185\u6709\u6548\u3002
\n\u6216\u5c06\u4ee5\u4e0b\u94fe\u63a5\u62f7\u8d1d\u5230\u6d4f\u89c8\u5668\u5730\u5740\u680f\u4e2d:<\/p>\n

http:\/\/inbreak.net\/user\/resetpassword.action?token=1315336352414<\/pre>\n

\u8be5\u90ae\u4ef6\u7531\u7cfb\u7edf\u81ea\u52a8\u53d1\u9001\uff0c\u8bf7\u52ff\u76f4\u63a5\u56de\u590d\u6b64\u90ae\u4ef6\u3002
\n==============
\n\u968f\u540e\u7684\u90a3\u4e2atoken\uff0c\u5c31\u662f\u968f\u673a\u751f\u6210\u7684\u6570\u5b57\u3002\u540c\u7406\uff0c\u8f93\u5165\u53e6\u4e00\u4e2a\u7528\u6237\uff08\u88ab\u653b\u51fb\u8005\uff09\u7684\u90ae\u7bb1\uff0c\u4e5f\u53ef\u4ee5\u53d1\u9001\u4e00\u5c01email\u3002\u5982\u679c\u670d\u52a1\u5668\u4e0a\u7684\u65f6\u95f4\uff0c\u548c\u653b\u51fb\u8005\u673a\u5668\u4e0a\u6267\u884c\u7684\u65f6\u95f4\u4e00\u81f4\uff0c\u5728\u4e0d\u8003\u8651\u7f51\u7edc\u4f20\u8f93\u6210\u672c\u7684\u524d\u63d0\u4e0b\uff0c\u662f\u53ef\u4ee5\u76f4\u63a5\u5f97\u5230token\u7684\u3002
\n\u5f53\u7136\uff0c\u8fd9\u4e0d\u53ef\u80fd\u3002
\n\u4f46\u662f\u597d\u5728\u6211\u4eec\u7684\u65f6\u95f4\u901f\u5ea6\uff0c\u548c\u670d\u52a1\u5668\u7684\u65f6\u95f4\u901f\u5ea6\uff0c\u57fa\u672c\u4e00\u81f4\u3002\u6ce8\u610f\uff0c\u8fd9\u91cc\u8bb2\u7684\u4e0d\u662f\u65f6\u95f4\u4e00\u81f4\uff0c\u662f\u65f6\u95f4\u7684\u901f\u5ea6\u4e00\u81f4\uff0c\u53ef\u80fd\u672c\u5730\u7684\u65f6\u95f4\u662f10\u70b9\uff0c\u670d\u52a1\u5668\u662f11\u70b9\uff0c\u90a3\u4e48\u5f53\u672c\u5730\u7684\u65f6\u95f4\u4e3a11\u70b9\u65f6\uff0c\u670d\u52a1\u5668\u5fc5\u7136\u5df2\u7ecf12\u70b9\u4e86\u3002
\n\u6211\u4eec\u7684\u65f6\u95f4\uff0c\u548c\u670d\u52a1\u5668\u65f6\u95f4\uff0c\u603b\u662f\u4f1a\u76f8\u5dee\u4e00\u4e2a\u6570\u5b57\u3002
\n\u7f51\u7edc\u901f\u5ea6\uff0c\u6bcf\u6b21\u4f20\u8f93\u90fd\u4e0d\u4e00\u81f4\uff0c\u7b2c\u4e00\u6b21\u53d1\u51fa\u8bf7\u6c42\uff0c\u53ef\u80fd\u75281.020\u79d2\uff0c\u7b2c\u4e8c\u6b21\uff0c\u75280.921\u79d2\u3002
\n\u6ca1\u5173\u7cfb\uff0c\u6211\u4eec\u5c3d\u91cf\u8ba9\u5b83\u53d8\u5f97\u53ef\u9884\u6d4b\u4e9b\u3002
\n\u5728\u672c\u5730\uff0c\u5199\u8fd9\u6837\u4e00\u6bb5\u4ee3\u7801\uff1a
\n=================<\/p>\n

\r\n    public static void main(String[] args) throws IOException {\r\n       System.out.println(i + 1);\r\n       i++;\r\n       System.out.println(\"------mystart\");\r\n       System.out.println(\"4700012@qq.com \".hashCode() * 21\r\n              + System.currentTimeMillis());\r\n       sendPost(\"http:\/\/inbreak.net\/user\/findpassword.action?email=4700012@qq.com\");\r\n       System.out.println(\"4700012@qq.com\".hashCode() * 21\r\n              + System.currentTimeMillis());\r\n       System.out.println(\"------myend\");\r\n       System.out.println(\"------user start\");\r\n       Long x = \"10000@qq.com\".hashCode() * 21\r\n              + System.currentTimeMillis();\r\n       System.out.println(x);\r\n      sendPost(\"http:\/\/inbreak.net\/user\/findpassword.action?email=10000@qq.com\");\r\n       Long y = \"10000@qq.com \".hashCode() * 21\r\n              + System.currentTimeMillis();\r\n       System.out.println(y);\r\n       System.out.println(y - x);\r\n       System.out.println(\"------user end\");\r\n    }\r\n<\/pre>\n

=================<\/p>\n

\u4ee3\u7801\u6d41\u7a0b\uff0c\u4f7f\u7528\u6587\u5b57\u63cf\u8ff0\uff1a<\/p>\n

1\u3001 \u6253\u5370\u653b\u51fb\u8005\u7684\u5f00\u59cb\u65f6\u95f4\u3002<\/p>\n

2\u3001 \u53d1\u90ae\u4ef6\u7ed9\u653b\u51fb\u8005\u3002<\/p>\n

3\u3001 \u6253\u5370\u653b\u51fb\u8005\u7684\u7ed3\u675f\u65f6\u95f4\u3002<\/p>\n

4\u3001 \u6253\u5370\u8981\u7834\u89e3\u7684\u7528\u6237\u5f00\u59cb\u65f6\u95f4<\/p>\n

5\u3001 \u53d1\u90ae\u4ef6\u7ed9\u8981\u7834\u89e3\u7684\u7528\u6237\u3002<\/p>\n

6\u3001 \u6253\u5370\u8981\u7834\u89e3\u7684\u7528\u6237\u7ed3\u675f\u65f6\u95f4<\/p>\n

7\u3001 \u6253\u5370\u8bf7\u6c42\u670d\u52a1\u5668\u7ed9\u7528\u6237\u53d1\u90ae\u4ef6\u7684\u7528\u65f6<\/p>\n

\u7a0b\u5e8f\u6267\u884c\u7684\u7ed3\u679c\u5982\u4e0b\uff1a
\n======================<\/p>\n

\r\n------mystart\r\n1315395175327\r\n1315395175437           \/\/\u653b\u51fb\u8005\u7684\u7ed3\u675f\u65f6\u95f4\r\n------myend\r\n------user start\r\n1316945857268\r\n1316945857305            \/\/\u7528\u6237\u7ed3\u675f\u65f6\u95f4\r\n37                        \/\/\u7528\u6237\u7ed3\u675f\u65f6\u95f4\u51cf\u53bb\u7528\u6237\u5f00\u59cb\u65f6\u95f4 = \u7f51\u7edc\u5ef6\u8fdf\u3002\r\n------user end\r\n<\/pre>\n

======================
\n\u4e8e\u6b64\u540c\u65f6\uff0c\u6536\u5230\u4e86\u4e00\u5c01\u90ae\u4ef6\uff0ctoken\u4e3a\u201c1315395156493\u201d\u3002
\n\u7136\u540e\u6839\u636e\u4ee5\u4e0b\u7684\u8ba1\u7b97\u516c\u5f0f\uff1a
\n\u653b\u51fb\u8005\u7684\u7ed3\u675f\u65f6\u95f4\uff08\u5df2\u77e5\uff09 – \u670d\u52a1\u5668\u7ed9\u653b\u51fb\u8005\u53d1\u90ae\u4ef6\u7684\u65f6\u95f4\uff08\u5df2\u77e5\uff09 = \u65f6\u95f4\u5dee\uff08\u53ef\u4ee5\u7b97\u51fa\u6765\uff09
\n\u7528\u6237\u7ed3\u675f\u65f6\u95f4\uff08\u5df2\u77e5\uff09 – \u670d\u52a1\u5668\u53d1\u7ed9\u7528\u6237\u90ae\u4ef6\u65f6\u95f4(\u5c31\u662f\u672a\u77e5\u6570x) = \u65f6\u95f4\u5dee\uff08\u524d\u9762\u7b97\u51fa\u6765\u7684\uff09
\n\u53ef\u4ee5\u7b97\u51fa\u7ed9\u7528\u6237\u53d1\u90ae\u4ef6\u7684\u65f6\u95f4\uff0c\u8fd9\u4e2a\u65f6\u95f4\u662f\u6a21\u7cca\u7684\uff0c\u8fd8\u9700\u8981\u52a0\u51cf\u5f53\u65f6\u7684\u7f51\u7edc\u5ef6\u8fdf\uff08\u521a\u624d\u7a0b\u5e8f\u6253\u5370\u51fa\u6765\u4e86\uff09\uff0c\u624d\u80fd\u5f97\u5230\u4e00\u4e2a\u6700\u7ec8\u533a\u95f4\u3002
\n\u518d\u5199\u6bb5\u4ee3\u7801\uff1a
\n=============================<\/p>\n

\r\nLong myendtime =  Long.valueOf(\"1315395175437\"); \/\/\u5728\u6211\u672c\u5730\u6267\u884c\u5b8c\u7ed9\u6211\u90ae\u4ef6\u53d1\u9001\u7684\u65f6\u95f4\r\nLong userendtime =   Long.valueOf(\"1316945857305\"); \/\/\u5728\u6211\u672c\u5730\u6267\u884c\u5b8c\u7ed9\u7528\u6237\u53d1\u90ae\u4ef6\u7684\u65f6\u95f4\r\nLong myservertime =  Long.valueOf(\"1315395156493\"); \/\/\u670d\u52a1\u5668\u7ed9\u6211\u53d1\u90ae\u4ef6\u7684\u65f6\u95f4\r\nLong userservertime = userendtime - (myendtime-myservertime);\r\nSystem.out.println(userservertime);\r\n<\/pre>\n

===================================
\n\u8fd9\u6bb5\u4ee3\u7801\u6253\u5370\u51fa\u4e86\u7ed3\u679c\uff1a<\/p>\n

1316945838361<\/pre>\n

\u8fd9\u662f\u6211\u4eec\u9884\u6d4b\u7684\uff0c\u670d\u52a1\u5668\u7ed9\u7528\u6237\u7684\u53d1\u90ae\u4ef6\u65f6\u95f4\u8303\u56f4\u57fa\u6570\u3002
\n\u6700\u7ec8\u6570\u5b57\uff0c\u5e94\u8be5\u662f\u8fd9\u4e2a\u503c\u52a0\u51cf37\uff08\u5f53\u65f6\u7684\u7f51\u7edc\u5ef6\u8fdf\uff09\uff0c\u4e5f\u5c31\u662f1316945838324\u5230131694583832474\u7684\u8303\u56f4\u5185\u3002
\n\u4e0b\u9762\u4ea4\u7ed9WVS\u5904\u7406<\/p>\n

\"\"<\/a><\/p>\n

\u5f88\u5feb\u7684\uff0c\u5f97\u51fa\u7ed3\u679c\uff0c\u7b2c\u4e00\u5217\u7684response\u5185\u5bb9\u5927\u5c0f\uff0c\u548c\u5176\u4ed6\u7684\u4e0d\u540c\uff0c\u5927\u5bb6\u90fd\u662f1153B\uff0c\u53ea\u6709\u8fd9\u4e00\u6761\u662f2685B\uff0c\u8bf4\u660e\u5185\u5bb9\u4e0d\u4e00\u6837\uff0c\u8fd9\u5c31\u662f\u7b54\u6848\u4e86\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u5f97\u5230\u7b54\u6848\uff0c\u6211\u4eec\u8bbf\u95ee\u9875\u9762\u770b\u770b\u3002<\/p>\n

<\/a><\/a>\"\"<\/a><\/p>\n

\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u5df2\u7ecf\u7834\u89e3\u4e86token\uff0c\u53ef\u4ee5\u76f4\u63a5\u4fee\u6539\u5bc6\u7801\u3002
\n\u5728\u505a\u7f51\u7edc\u653b\u51fb\u65f6\uff0c\u5f53\u7136\u60c5\u51b5\u53ef\u80fd\u4e0d\u4e00\u81f4\uff0c\u7f51\u7edc\u5ef6\u8fdf\u5982\u679c\u5f88\u4e45\uff0c\u53ef\u4ee5\u6362\u7f51\u901f\u597d\uff0c\u5ef6\u8fdf\u5c11\u7684\u673a\u5668\u3002\u6700\u597d\u5728\u534a\u591c\u4e09\u66f4\u7684\u65f6\u5019\u8fdb\u884c\uff0c\u6210\u529f\u51e0\u7387\u5927\u5f88\u591a\u3002<\/p>\n

\u8fdb\u9636\u653b\u51fb\uff1a<\/strong><\/p>\n

\u5f53\u7136\uff0c\u4f1a\u6709\u5f00\u53d1\u81ea\u4f5c\u806a\u660e\uff0c\u7ed9\u6700\u7ec8\u6570\u5b57\uff0c\u4e5f\u5c31\u662ftoken\uff0c\u52a0\u4e0aMD5\u3002\u8fd9\u7684\u786e\u53ef\u4ee5\u589e\u52a0\u653b\u51fb\u6210\u672c\uff0c\u4f46\u662f\u5b9e\u8d28\u4e0a\u8fd8\u662f\u81ea\u6b3a\u6b3a\u4eba\u3002\u5bf9\u4e8e\u653b\u51fb\u8005\uff0c\u53ea\u9700\u8981\u5728\u56fa\u5b9a\u7684\u65f6\u95f4\u8303\u56f4\uff0c\u5c31\u53ef\u4ee5\u653e\u4e00\u4e2a\u5b57\u5178\u3002<\/p>\n

1316945838361 -- 7bfe0596e68cb9c43bfd0749d835c62d<\/pre>\n

\u4e00\u4e00\u5bf9\u5e94\uff0c\u5728\u6700\u7ec8\u505a\u7b97\u672f\u9898\u4e2d\uff0c\u591a\u51e0\u6b21\u67e5\u8be2\u5373\u53ef\u3002
\n\u6211\u4eec\u53ef\u4ee5\u5c31\u62ff\u4ee5\u4e0a\u793a\u4f8b\uff0c\u7ed9\u5927\u5bb6\u8fdb\u9636\u4e00\u4e0b\u3002
\n\u4ee3\u7801\u4e3a<\/p>\n

\r\n    public String genToken(String email) {\r\n        String token = email.hashCode() * 21 + System.currentTimeMillis() + \"\";\r\n        return md5(token);\r\n    }\r\n<\/pre>\n

\u548c\u524d\u6587\u4ee3\u7801\u57fa\u672c\u4e00\u81f4\uff0c\u53ea\u662f\u8fd4\u56de\u65f6\uff0c\u6700\u7ec8\u8c03\u7528\u4e86md5\u3002
\n\u5047\u8bbe\u8fd8\u662f\u4e0a\u6b21\u7684\u7ed3\u679c\uff0c\u670d\u52a1\u5668\u4f1a\u8fd4\u56de\uff1a<\/p>\n

Token=8b4a258acdff3bf44ed88d174ed0be20<\/pre>\n

\u8fd9\u4e2atoken\u5176\u5b9e\u5c31\u662f\u65f6\u95f4\u7684\u52a0\u5bc6\uff0c\u4ed6\u7684\u89e3\u5bc6\u80af\u5b9a\u5728\u4e00\u5b9a\u7684\u65f6\u95f4\u6bb5\u8303\u56f4\u5185\u3002\u6211\u4eec\u9996\u5148\u8981\u627e\u5230\u7279\u5f81\u3002
\n\u6267\u884c\u4e00\u4e0b\u5f53\u524d\u65f6\u95f4\uff0c\u5148\u770b\u770b\u6211\u7684\u65f6\u95f4\uff0c1315395175437\uff0c\u8fd9\u662f\u4e00\u4e2along\u7c7b\u578b\u3002
\n\u901a\u8fc7<\/p>\n

System.out.println(new SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new Date(1315395175437)));<\/pre>\n

\u5f97\u51fa\u7ed3\u679c\uff1a<\/p>\n

2011-08-29 20:39<\/pre>\n

\u7ecf\u8fc7\u4e0d\u65ad\u7684\u4fee\u6539\u6570\u5b57\uff0c\u53ef\u4ee5\u770b\u51fa
\n13153951\uff0c\u4e5f\u5c31\u662f\u524d8\u4f4d\uff0c\u4ee3\u8868\u51e0\u6708\u51e0\u53f7\u51e0\u70b9\u3002
\n75437\uff0c\u4e5f\u5c31\u662f\u540e\u97625\u4f4d\uff0c\u4ee3\u8868\u51e0\u5206\u51e0\u79d2\u3002
\n\u670d\u52a1\u5668\u65f6\u95f4\u5c31\u7b97\u518d\u50bb\uff0c\u4e5f\u4e0d\u80fd\u628a\u4eca\u5929\uff0c\u7b97\u6210\u660e\u5929\uff0c\u6700\u591a\u548c\u6211\u4eec\u672c\u5730\uff0c\u76f8\u5dee\u4e2a\u591a\u5c11\u5206\u949f\u3002
\n\u6240\u4ee5\u6211\u4eec\u505a\u5b57\u5178\uff0c\u5728\u6570\u636e\u5e93\u5f55\u5165\uff1a<\/p>\n

\u4ee5\u201c13153951\u201d\u4e3a\u56fa\u5b9a\u524d\u7f00+5\u4f4d\u6570\u5b57 (00001\u523099999)<\/pre>\n

\u4e4b\u540e\u5728\u8fd9\u4e2a\u8868\uff0c\u589e\u52a0\u4e00\u4e2a\u5b57\u6bb5\uff0c\u662f\u524d\u9762\u90a3\u4e2a\u5b57\u6bb5\u7684MD5\u503c\uff0c\u5f53\u7136\uff0c\u5982\u679c\u4e0d\u653e\u5fc3\uff0c\u53ef\u4ee5\u518d\u5f80\u524d\u52a0\u51e0\u4f4d\uff0c\u5c31\u662f\u56fa\u5b9a\u524d\u7f00\u201c1315395\u201d+ 6\u4f4d\u6570\u5b57\uff0c\u4ee5\u6b64\u7c7b\u63a8\uff0c\u6570\u636e\u5e93\u4e0d\u4f1a\u5f88\u5927\u3002
\n\u8fd9\u4e2a\u5b57\u5178\uff0c\u6709\u4ec0\u4e48\u7528\u5462\uff1f
\n\u524d\u6587\u8bf4\u5230\u670d\u52a1\u5668\u4f1a\u7ed9\u6211\u53d1\u90ae\u4ef6\uff0c\u544a\u8bc9\u6211Token=8b4a258acdff3bf44ed88d174ed0be20\uff0c\u8fd9\u4e2amd5\u5bf9\u5e94\u7684\u6570\u5b57\uff0c\u5fc5\u7136\u4f1a\u5728\u8fd9\u4e2a\u5b57\u5178\u91cc\uff0c\u6240\u4ee5\u53ef\u4ee5\u76f4\u63a5\u4ece\u5b57\u5178\u4e2d\u67e5\u51fa\u6765\u8fd9\u4e2amd5\u3002
\n\u5176\u540e\u7684\u6d41\u7a0b\uff0c\u5c31\u548c\u524d\u6587\u7834\u89e3\u4e00\u81f4\u3002
\n\u518d\u6b21\u8d34\u4e00\u904d\u7ed3\u679c\uff1a
\n======================<\/p>\n

------mystart\r\n1315395175327\r\n1315395175437           \/\/\u653b\u51fb\u8005\u7684\u7ed3\u675f\u65f6\u95f4\r\n------myend\r\n------user start\r\n1316945857268\r\n1316945857305            \/\/\u7528\u6237\u7ed3\u675f\u65f6\u95f4\r\n37                        \/\/\u7528\u6237\u7ed3\u675f\u65f6\u95f4\u51cf\u53bb\u7528\u6237\u5f00\u59cb\u65f6\u95f4 =\u6253\u5370\u8bf7\u6c42\u670d\u52a1\u5668\u7ed9\u7528\u6237\u53d1\u90ae\u4ef6\u7684\u7528\u65f6\uff0c\u4e5f\u5c31\u662f\u7f51\u7edc\u5ef6\u8fdf\u3002\r\n------user end<\/pre>\n

======================
\n\u4e4b\u540e\u6309\u7167\u516c\u5f0f\uff0c\u5f53\u7136\u4f1a\u7b97\u51fa1316945838361\uff0c\u662f\u6211\u9884\u6d4b\u7684\uff0c\u670d\u52a1\u5668\u7ed9\u7528\u6237\u7684\u53d1\u90ae\u4ef6\u65f6\u95f4\u8303\u56f4\u57fa\u6570\u3002
\n\u6700\u7ec8\u6570\u5b57\uff0c\u5e94\u8be5\u662f\u8fd9\u4e2a\u503c\u52a0\u51cf37\uff08\u5f53\u65f6\u7684\u7f51\u7edc\u5ef6\u8fdf\uff09\uff0c\u4e5f\u5c31\u662f1316945838324\u5230131694583832474\u7684\u8303\u56f4\u5185\u3002
\n\u5c06\u4ee5\u4e0a\u8303\u56f4\u6240\u6709\u6570\u5b57\uff0cmd5\u52a0\u5bc6\u4e00\u4e0b\uff0c\u505a\u6210\u5b57\u5178\uff0c\u653e\u5728wvs\u4e2d\u8dd1\u4e00\u904d\uff0c\u4e00\u5b9a\u4e5f\u80fd\u5f97\u51fa\u7ed3\u679c\u3002
\n\u4ee5\u4e0a\u7eaf\u5c5e\u63a8\u6d4b\uff0c\u5e76\u6ca1\u6709\u793a\u4f8b\u6d4b\u8bd5\uff0c\u4f46\u662f\u601d\u8def\u662f\u6b63\u786e\u7684\u3002<\/p>\n

\u518d\u6b21\u8fdb\u9636<\/strong><\/p>\n

\u4ece\u4e0a\u9762\u7684\u5185\u5bb9\u4e2d\uff0c\u5927\u5bb6\u77e5\u9053\u5e76\u4e0d\u662f\u770b\u5230token\uff0c\u5c31\u60f3\u5f53\u7136\u7684\u4ee5\u4e3a\u6ca1\u529e\u6cd5\uff0c\u6211\u4eec\u4ece\u9ed1\u76d2\u6d4b\u8bd5\u7684\u89d2\u5ea6\uff0c\u751a\u81f3\u53ef\u4ee5\u505a\u8fd9\u6837\u4e00\u4ef6\u81ea\u52a8\u5316\u7684\u4e8b\u60c5\uff0c\u4ee5\u4fbf\u76f4\u63a5\u5feb\u901f\u7684\u7834\u89e3\u3002
\n\u5f53\u6211\u4eec\u770b\u5230\u6709\u5b58\u5728md5\u7684token\u540e\uff0c\u76f4\u63a5\u6267\u884c\u4ee5\u4e0b\u51e0\u6b65\u3002
\n\u5199\u5c0f\u7a0b\u5e8f\uff0c\u5c06\u4ee5\u4e0b\u6d41\u7a0b\u5c3d\u91cf\u81ea\u52a8\u5316\uff1a
\n1\u3001\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\uff0c\u5176\u4e2d\u53ef\u4ee5\u52a0\u5165\u7528\u6237\u540d\u524d\u7f00\u7684hash\uff0c\u4e5f\u53ef\u4ee5\u52a0\u5165email\u7b49hash\uff0c\u603b\u4e4b\uff0ctoken\u7684\u5185\u5bb9\uff0c\u662f\u548c\u7528\u6237\u76f8\u5173\uff0c\u5e76\u4e14\u662f\u56fa\u5b9a\u7684\uff0c\u8054\u60f3\u5230\u6211\u4eec\u6ce8\u518c\u65f6\uff0c\u4e5f\u5c31\u586b\u5199\u4e86\u7528\u6237\u540d\u3001email\uff0c\u80af\u5b9a\u662f\u76f8\u5173\u7684\u3002\u7528\u6237\u540d\u6216email+\u968f\u673a\u6570\uff0c\u6392\u5217\u7ec4\u5408\u4e00\u4e0b\uff0c\u5206\u522b\u8d70\u4e00\u904d\u524d\u4e09\u6b65\u3002
\n2\u3001\u65f6\u95f4\u8303\u56f4\u5b9a\u57281\u5c0f\u65f6\u5185\uff08\u524d\u9762\u51e0\u4f4d\u6570\u5b57\u56fa\u5b9a\u524d\u7f00\u5373\u53ef\uff09\uff0c\u751f\u6210md5\u5b57\u5178\u3002
\n3\u3001\u83b7\u53d6\u81ea\u5df1\u8d26\u53f7\u7684token\uff0c\u7136\u540e\u5728\u5b57\u5178\u4e2d\uff0c\u5f97\u51fa\u7ed3\u679c\u3002
\n4\u3001\u5982\u679c\u7b2c\u4e09\u6b65\u6210\u529f\uff0c\u57fa\u672c\u5c31\u53ef\u4ee5\u786e\u5b9a\u6f0f\u6d1e\u5b58\u5728\u3002\u540e\u9762\u5229\u7528\u516c\u5f0f\uff0c\u8ba1\u7b97\u51fa\u670d\u52a1\u5668\u7ed9\u7528\u6237token\u7684\u65f6\u95f4\u57fa\u6570\uff0c\u6b63\u8d1f\u65f6\u95f4\u5dee\uff0c\u505a\u6210md5\u5b57\u5178\u3002
\n5\u3001WVS\u8dd1\u4e00\u904d\u5b57\u5178\uff0c\u67e5\u770b\u670d\u52a1\u5668\u8fd4\u56de\u6570\u636e\u5927\u5c0f\uff0c\u4ece\u800c\u5f97\u51fa\u7528\u6237\u7684token\u3002
\n\u5982\u679c\u6211\u4eec\u5df2\u7ecf\u6709\u751f\u6210token\u7684\u4ee3\u7801\uff0c\u5c31\u50cf\u6587\u7ae0\u4e2d\u7684\u793a\u4f8b\uff0c\u5c31\u53ef\u4ee5\u7701\u7565\u731c\u6d4b\u7b97\u6cd5\u7684\u6b65\u9aa4\u4e86\u3002\u5728\u751f\u6210token\u7684\u65f6\u5019\uff0c\u80af\u5b9a\u6709\u4e0d\u5c11\u4eba\u72af\u4e86\u8fd9\u6837\u7684\u9519\u8bef\uff0c\u672c\u6587\u4e3b\u8981\u8c08\u653b\u51fb\u601d\u8def\uff0c\u81f3\u4e8e\u4fee\u8865\u65b9\u6848\u5c31\u4e0d\u7ba1\u4e86\uff0c\u5927\u5bb6\u61c2\u5f97\u3002
\nBy kxlzx http:\/\/inbreak.net\/<\/p>\n","protected":false},"excerpt":{"rendered":"

\u8fd9\u662f\u4e00\u4e2a\u968f\u673a\u51fd\u6570\u7834\u89e3\u7684\u7ecf\u5178\u4f8b\u5b50\u3002\u5728java\u7a0b\u5e8f\u4e2d\uff0c\u83b7\u53d6\u968f\u673a\u6570\u7684\u505a\u6cd5\u6709\u591a\u79cd\u3002\u4f46\u662f\u6211\u4eec\u5b9e\u73b0\u4e00\u4e2a\u968f\u673atoken\uff0c\u5e76\u7528\u4e8e\u8ba4\u8bc1\u65f6\uff0c\u901a\u5e38\u7b2c\u4e00\u65f6\u95f4\uff0c\u60f3\u8d77\u6765\u4f7f\u7528\u201cSystem.currentTimeMillis\u201d\uff0c\u672c\u6587\u4f1a\u8be6\u7ec6\u8bb2\u89e3\u4e00\u6b21\u7834\u89e3\u968f\u673a\u6570\u7684\u7ecf\u8fc7\u3002<\/p>\n

\u7ee7\u7eed\u9605\u8bfb »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84,86,5,1],"tags":[],"views":22304,"_links":{"self":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/349"}],"collection":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/comments?post=349"}],"version-history":[{"count":8,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/349\/revisions\/361"}],"wp:attachment":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/media?parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/categories?post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/tags?post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}