FinallShell離線激活步驟


FinallShell離線激活步驟,適用MAC/WIN

  • 第一步,點擊finalshell客戶端的激活,如圖
    image

  • 第二步,隨意輸入一個用戶名和密碼,選擇離線激活,如圖
    image

  • 第三步,復制以下代碼到idea活eclipse中,運行代碼,
    image

點擊查看代碼
import java.io.IOException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Scanner;


public class FinalShell {
	public static void main(String[] args) throws NoSuchAlgorithmException, IOException {
		System.out.print("請輸入FinalShell的離線機器碼:");
		Scanner reader = new Scanner(System.in);
		String machineCode = reader.nextLine();
		generateKey(machineCode);
	}

	public static void generateKey(String hardwareId) throws NoSuchAlgorithmException {
		String proKey = transform(61305 + hardwareId + 8552);
		String pfKey = transform(2356 + hardwareId + 13593);
		System.out.println("請將此行復制到離線激活中:"+proKey);
		System.out.println(pfKey);
	}

	public static String transform(String str) throws NoSuchAlgorithmException {

		String md5 = hashMD5(str);

		return hashMD5(str).substring(8, 24);
	}

	public static String hashMD5(String str) throws NoSuchAlgorithmException {
		MessageDigest digest = MessageDigest.getInstance("MD5");
		byte[] hashed = digest.digest(str.getBytes());
		StringBuilder sb = new StringBuilder();
		for (byte b : hashed) {
			int len = b & 0xFF;
			if (len < 16) {
				sb.append("0");
			}
			sb.append(Integer.toHexString(len));
		}
		return sb.toString();
	}
}

  • 第四步,復制第三步的機器碼到idea控制台,輸入,回車,如圖把紅框內字符串復制到激活器中,
    image

  • 第五步,點擊激活,激活成功!
    image


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM