FinalShell 专业版&高级版激活
2024-11-21 06:39:36 # Tricks

Python

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from Crypto.Hash import keccak
from Crypto.Hash import MD5
def md5(msg):
hash_obj = MD5.new(msg)
return hash_obj.hexdigest()
def keccak384(msg):
hash_obj = keccak.new(data=msg, digest_bits=384)
return hash_obj.hexdigest()
if __name__ == '__main__':
code = input('输入机器码: ')
print('版本号 < 3.9.6 (旧版)')
print('高级版:', md5(f'61305{code}8552'.encode())[8:24])
print('专业版:', md5(f'2356{code}13593'.encode())[8:24])
print('版本号 >= 3.9.6 (新版)')
print('高级版:', keccak384(f'{code}hSf(78cvVlS5E'.encode())[12:28])
print('专业版:', keccak384(f'{code}FF3Go(*Xvbb5s2'.encode())[12:28])

Java

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
public class FinalShell {

// Java中的MD5实现
public static String md5(String msg) throws Exception {
MessageDigest md = MessageDigest.getInstance("MD5");
byte[] messageBytes = msg.getBytes("UTF-8");
md.update(messageBytes);
byte[] digestBytes = md.digest();
StringBuilder sb = new StringBuilder();
for (byte b : digestBytes) {
sb.append(String.format("%02x", b));
}
return sb.substring(8, 24); // 取特定子串
}

// 使用Bouncy Castle库实现Keccak-384
public static String keccak384(String msg) throws UnsupportedEncodingException {
KeccakDigest keccak = new KeccakDigest(384);
byte[] messageBytes = msg.getBytes("UTF-8");
keccak.update(messageBytes, 0, messageBytes.length);
byte[] digestBytes = new byte[keccak.getDigestSize()];
keccak.doFinal(digestBytes, 0);

StringBuilder sb = new StringBuilder();
for (byte b : digestBytes) {
sb.append(String.format("%02x", b));
}
return sb.substring(12, 28); // 取特定子串
}

public static void main(String[] args) throws Exception {
String code = "venom@bedcacc896bade1b";

System.out.println("版本号 < 3.9.6 (旧版)");
System.out.println("高级版: " + md5("61305" + code + "8552"));
System.out.println("专业版: " + md5("2356" + code + "13593"));

System.out.println("版本号 >= 3.9.6 (新版)");
System.out.println("高级版: " + keccak384(code + "hSf(78cvVlS5E"));
System.out.println("专业版: " + keccak384(code + "FF3Go(*Xvbb5s2"));
}
}

finalshell host

1
2
3
4
5
6
7
8
9
10
11
12
127.0.0.1 www.youtusoft.com
127.0.0.1 youtusoft.com
127.0.0.1 hostbuf.com
127.0.0.1 www.hostbuf.com
127.0.0.1 dkys.org
127.0.0.1 tcpspeed.com
127.0.0.1 www.wn1998.com
127.0.0.1 wn1998.com
127.0.0.1 pwlt.wn1998.com
127.0.0.1 backup.www.hostbuf.com
127.0.0.1 www.finalshell.org
127.0.0.1 finalshell.org

Thanks

FinalShell 4.3.10(新版)专业版&高级版激活