linjianhuang 发表于 2022-8-28 21:57

像这种罗技鼠标宏lua的加密方式是什么呀大佬们,怎么解密?

研究了半天没找到方法,罗技的LUA鼠标宏,链接:https://share.weiyun.com/fg6XXj9c 密码:fakz5t

linjianhuang 发表于 2022-8-28 21:59

-- Lua simple XOR encrypt by Ganlv
key="把这里替换成密码"local a=loadstring((function(b,c)function bxor(d,e)local f={{0,1},{1,0}}local g=1;local h=0;while d>0 or e>0 do h=h+f*g;d=math.floor(d/2)e=math.floor(e/2)g=g*2 end;return h end;local i=function(b)local j={}local k=1;local l=bwhile l>=0 do j=bk=k+1;l=bend;return j end;local m=function(b,c)if#c<=0 then return{}end;local k=1;local n=1;for k=1,#b do b=bxor(b,string.byte(c,n))n=n+1;if n>#c then n=1 end end;return b end;local o=function(b)local j=""for k=1,#b do j=j..string.char(b)end;return j end;return o(m(i(b),c))end)({1016,1009,1112,1302,1402,1148,846,1198,1219,1369,979,1164,1205,1525,1320,1429,1367,1331,1502,1555,1000,1540,1539,1452,1224,956,1621,1578,1366,1105,1096,1293,813,1396,934,855,1606,854,1364,1240,1113,1505,1003,1398,1315,1327,769,1089,1318,1594,805,1183,1058,1557,1106,1450,848,1522,1325,1097,1030,828,1351,944,1427,1568,1046,759,1090,1239,748,1598,1018,1136,1157,1465,1344,867,958,1232,856,1403,978,1195,1307,1562,1088,889,809,1613,1204,753,1253,1230,879,1185,895,1241,758,1227,755,1561,1155,1034,1296,1619,1616,1328,1354,781,1304,902,1066,763,926,796,1154,1184,1200,999,1192,1098,835,955,1342,1569,1622,1444,774,1463,1078,1167,1341,1499,1346,1306,1337,1104,1126,1277,1412,1163,1070,1303,1478,910,1523,878,939,1416,1085,799,1135,1252,1437,794,1123,981,903,1468,1541,971,1254,1199,1546,1045,1151,987,1268,1553,1482,1072,995,1246,1332,1081,1152,1547,1524,1414,1179,1473,1021,1495,1052,960,749,1194,1560,1041,901,1487,1266,1036,933,1566,1159,1258,887,1161,1191,861,1075,885,826,930,904,765,1094,1401,802,1527,1384,1488,1001,1061,1292,1139,1419,1387,808,1261,974,1476,1467,1056,1420,1218,1127,1464,1297,1149,1424,1439,935,1222,1409,1413,1270,898,1039,1019,756,1552,1175,1536,1501,1466,1295,1118,1600,1284,940,1508,1017,1453,1589,990,1343,1074,1470,913,1352,1597,1516,1392,1593,1584,920,824,1008,1323,1010,811,1216,1550,1289,1027,779,1099,1237,918,1322,1053,1438,893,1406,1595,1065,1231,804,957,1314,1378,1570,897,936,1172,1615,1605,845,1459,1248,757,1233,1062,1358,1411,1326,875,1055,1274,1572,1286,1586,1441,1497,858,807,830,1028,820,1514,859,1208,1447,1430,912,1456,943,1385,1215,785,1336,767,1404,777,890,1507,997,792,1324,991,1617,1243,838,1300,1095,1140,823,1530,761,1455,1116,1345,1610,1150,791,1512,1031,1279,1518,1356,1397,1481,1032,1223,843,1312,1390,1014,907,1221,1082,1545,1210,1349,1361,1558,1484,988,1256,810,873,821,966,1166,1529,1067,1091,1590,1117,1563,1257,922,1503,837,1380,1329,751,1023,839,762,1269,1565,829,1130,1305,847,1559,1399,1064,1365,1519,1011,1207,1579,953,1294,1611,1311,1137,766,1077,1520,1203,1092,1609,959,1247,1533,851,1250,1298,872,1483,863,778,793,888,1220,764,983,1350,1486,1281,865,1368,1132,1577,1202,1509,938,1103,1134,900,891,1178,1121,1471,1276,1556,1319,1122,1171,1235,840,1037,1335,1290,1602,795,947,1107,1040,831,800,1069,1423,1362,1339,1173,1407,1120,892,1102,817,1492,1313,1360,1363,1299,1177,1434,1111,1480,1426,1213,786,1060,1160,1554,1190,1548,945,819,1059,1214,911,1068,1357,844,954,1196,1359,1189,1448,1316,998,1440,1317,862,1474,760,917,951,1517,787,1614,1504,937,770,772,1176,1026,1002,1393,1238,964,1147,1087,1574,909,984,1618,1267,968,816,832,1131,1604,876,1334,1462,1209,884,864,818,967,1537,1564,906,1007,1180,977,1521,1528,1212,1280,894,1025,1291,1371,822,1080,1125,1567,860,949,1391,1128,1585,1076,1549,1469,1084,1330,1051,1005,1425,1063,1446,1263,946,1408,1375,1013,1133,992,1287,1535,1601,996,1022,1421,874,850,1083,1620,1431,752,815,1057,941,1309,1004,877,1236,1288,952,1490,834,1071,812,1498,1282,1044,1156,976,1511,899,1515,806,827,914,1012,1050,994,915,975,1265,1612,1494,1187,1162,1259,1020,1395,1531,921,1244,1461,1054,1389,1596,1405,836,1433,1086,1181,950,773,1272,1340,1217,985,961,1532,1394,1477,1229,1576,1115,932,790,1193,776,803,972,870,1141,881,1033,1374,1110,1377,1165,1143,986,1443,1542,1347,1145,1435,942,1285,1188,1158,788,798,1607,784,916,1592,1382,1415,1472,1308,1283,1144,1544,1049,1271,1174,1445,882,1551,1226,1079,1534,849,1278,1109,980,1543,1186,919,754,857,896,931,1015,1043,842,1383,1418,1575,1587,1400,1146,1035,1273,1436,1073,908,1197,1029,-1,17,22,121,89,50,14,59,21,19,10,21,8,11,6,91,29,91,32,82,87,73,55,22,32,7,29,6,71,69,83,30,67,240,87,208,171,71,71,19,23,32,181,5,19,30,0,15,7,31,103,48,86,22,243,63,79,104,4,21,3,3,1,1,10,55,0,37,48,109,22,6,34,28,72,23,58,30,196,59,69,25,101,95,22,122,145,32,82,88,91,33,92,23,235,89,110,14,24,35,0,0,2,38,17,56,96,2,72,104,21,27,29,1,39,28,43,23,108,127,23,115,236,85,228,120,7,46,27,17,39,72,14,63,60,89,54,2,60,27,58,18,0,16,22,36,9,5,28,25,30,83,13,18,77,28,93,53,83,62,0,16,1,30,5,28,7,74,90,82,23,108,30,0,26,24,222,83,246,22,222,53,175,47,17,10,62,18,24,6,19,63,68,19,48,50,77,2,16,91,72,145,23,101,10,50,20,23,69,6,122,17,21,23,26,146,86,59,70,29,69,121,138,185,36,69,130,23,85,0,6,11,17,108,74,85,86,0,104,48,92,7,107,82,123,16,82,86,74,82,16,5,123,21,87,21,27,34,111,191,11,27,22,17,12,92,0,121,2,41,81,82,88,113,20,71,65,157,3,3,89,5,1,76,24,83,49,109,5,41,20,207,69,19,72,199,82,4,76,122,165,4,78,83,22,18,1,8,4,3,38,16,0,18,0,15,8,5,111,19,12,5,23,33,33,20,122,94,48,120,88,60,12,18,44,0,55,9,66,85,10,69,28,28,95,28,159,33,4,68,93,88,127,40,169,13,10,19,2,16,28,50,123,48,120,19,19,137,23,22,25,42,94,108,22,18,7,74,18,2,42,65,120,113,0,41,28,2,23,11,12,109,0,0,44,226,39,16,45,25,30,4,81,9,90,11,75,16,120,28,23,37,43,44,53,123,81,23,39,4,10,172,84,99,20,29,113,83,19,28,120,54,101,6,123,146,29,28,62,8,10,54,4,17,52,76,76,10,16,77,30,22,3,16,59,26,76,3,11,132,47,22,81,101,172,7,29,30,73,2,125,25,26,17,28,28,90,48,230,6,6,132,21,23,126,125,0,63,68,34,121,11,22,27,2,231,120,62,30,93,6,22,18,120,160,19,23,0,34,0,1,55,101,247,46,244,68,115,4,80,72,75,110,15,89,28,121,78,60,17,18,114,26,16,121,80,23,9,45,110,81,55,7,4,22,29,12,2,30,29,73,109,76,23,19,7,5,5,0,31,20,19,62,67,9,122,3,0,31,11,2,32,27,30,140,0,22,111,16,6,76,19,74,22,23,87,39,27,3,85,11,191,102,1,21,56,84,11,39,20,54,240,113,90,0,12,12,9,75,90,5,16,5,93,123,88,66,6,1,16,11,123,24,147,34,154,223,32,6,4,47,28,254,85,6,31,81,54,81,112,60,176,18,124,93,122,23,83,19,16,85,11,14,0,34,27,31,72,80,25,123,16,10,58,11,73,17,123,8,83,190,92,83,27,58,87,16,10,126,53,94,113,25,16,42,88,82,109,55,109,18,1,6,16,101,21,37,20,71,21,31,16,178,6,137,29,81,233,23,16,166,229,69,71,21,8,1,25,10,13,61,87,120,65,25,88,17,45,57,29,93,16,33,101,91,19,101,17,206,127,69,71,118,50,97,1,168,23,77,49,113,87,41,214,18,39,12,91,17,71,27,3,29,182,81,16,78,19,10,27,11,29,1,87,21,28,17,77,41,60,61,39,6,14,12,2,21,20,81,65,62,192,11,7,80,35,22,65,123,75,80,0,109,15,69,11,22,28,2,17,91,10,20,7,17,28,28,18,120,57,0,107,20,2,20,67,194,30,114,19,30,28,10,49,249,170,225,123,76,120,123,62,69,30,39,5,108,1,6,18,22,9,134,22,69,4,23,30,31,121,52,221,2,21,2,13,18,17,17,27,109,3,3,54,0,7},key))if a then a()else print("密码错误")end

linjianhuang 发表于 2022-8-28 23:32

应该是异或加密

罗萨 发表于 2022-9-4 20:25

printf翻翻论坛帖子

Ax王者 发表于 2022-10-2 09:24

需要密码。
页: [1]
查看完整版本: 像这种罗技鼠标宏lua的加密方式是什么呀大佬们,怎么解密?