FinalShell 離線激活工具


FinalShell 離線激活

1.使用FinalShell離線激活方式升級高級版本

image

2.獲取機器碼(如果沒有就隨意輸入用戶名或密碼執行登錄)

image

3.執行下面代碼,輸入機器碼獲取激活碼

image

4.成功激活

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();
	}
}


免責聲明!

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



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