当前位置:   article > 正文

FinallShell 离线激活步骤,适用MAC/WIN_finalshell激活账号

finalshell激活账号
  • 第一步,点击finalshell客户端的激活,如图

  • 第二步,随意输入一个用户名和密码,选择离线激活,如图

  • 第三步,复制以下代码到idea活eclipse中,运行代码, 

  1. import java.io.IOException;
  2. import java.security.MessageDigest;
  3. import java.security.NoSuchAlgorithmException;
  4. import java.util.Scanner;
  5. public class FinalShell {
  6. public static void main(String[] args) throws NoSuchAlgorithmException, IOException {
  7. System.out.print("请输入FinalShell的离线机器码:");
  8. Scanner reader = new Scanner(System.in);
  9. String machineCode = reader.nextLine();
  10. generateKey(machineCode);
  11. }
  12. public static void generateKey(String hardwareId) throws NoSuchAlgorithmException {
  13. String proKey = transform(61305 + hardwareId + 8552);
  14. String pfKey = transform(2356 + hardwareId + 13593);
  15. System.out.println("高级版激活码:请将此行复制到离线激活中:" + proKey);
  16. System.out.println("专业版激活码:"+pfKey);
  17. }
  18. public static String transform(String str) throws NoSuchAlgorithmException {
  19. String md5 = hashMD5(str);
  20. return hashMD5(str).substring(8, 24);
  21. }
  22. public static String hashMD5(String str) throws NoSuchAlgorithmException {
  23. MessageDigest digest = MessageDigest.getInstance("MD5");
  24. byte[] hashed = digest.digest(str.getBytes());
  25. StringBuilder sb = new StringBuilder();
  26. for (byte b : hashed) {
  27. int len = b & 0xFF;
  28. if (len < 16) {
  29. sb.append("0");
  30. }
  31. sb.append(Integer.toHexString(len));
  32. }
  33. return sb.toString();
  34. }
  35. }

 
  • 第四步,复制第三步的机器码到idea控制台,输入,回车,如图把红框内字符串复制到激活器中,

  • 第五步,点击激活,激活成功!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/793880
推荐阅读
  

闽ICP备14008679号