In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Decryption reference:
/ / http://blog.csdn.net/njweiyukun/article/details/54024442//imei number: press * # 06pcfg 354169060462426 c4cc03c / / sqlite jdbc: https://bitbucket.org/xerial/sqlite-jdbc/downloads/import java.io.UnsupportedEncodingException;import java.text.SimpleDateFormat;import java.util.Date;import java.security.MessageDigest;class Ex02_3_3 {/ / md5 encrypted 3public static String md5 (String content) {MessageDigest md5 = null; try {md5 = MessageDigest.getInstance ("MD5") Md5.update (content.getBytes ("UTF-8")); byte [] encryption = md5.digest (); / / encryption StringBuffer sb = new StringBuffer (); for (int I = 0; I
< encryption.length; i++) { if (Integer.toHexString(0xff & encryption[i]).length() == 1) { sb.append("0").append(Integer.toHexString(0xff & encryption[i])); } else { sb.append(Integer.toHexString(0xff & encryption[i])); } } return sb.toString(); } catch (Exception e) { e.printStackTrace(); return null; } }//日期打印到毫秒public static void display() {System.out.println(new SimpleDateFormat("yyyy/MM/dd KK:mm:ss:SSS").format(new Date()));}//注册数据库public Connection getConnection() throws ClassNotFoundException,IOException, SQLException { Class.forName("org.sqlite.JDBC"); return DriverManager.getConnection("jdbc:sqlite:enmicromsg.db"); }public static void main(String args[]) { // String imei="354169060462426";Connection conn = null;String imei=args[0]; //String uin="1297173361";String uin=args[1]; Mynumber a= new Mynumber(); // a.number= 5; System.out.println(imei+uin);String md5 = md5(imei + uin); String password = md5.substring(0, 7).toLowerCase(); String sql="select count(*) from message';display();Statement stmt = conn.createStatement;ResultSet rs = stmt.executeQuery(sql);System.out.println(password); }} 运行 D:\javasource>Java Ex02_3_3 354169060462426 129717336135416906046242612971733612017/08/13 08:02:02:640c4cc03c
Message query:
Select datetime (createTime/1000, 'unixepoch','localtime'), createtime,content from message where talker='ha**ong00'
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.