alicezetion 1.4.2 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":932621972252211343,"last_updated":{"seconds":1693555892,"nanos":617431000}}
|
@@ -67,7 +67,7 @@
|
|
67
67
|
* @returns An object with the following properties:
|
68
68
|
*/
|
69
69
|
|
70
|
-
|
70
|
+
function CheckAndParse(DefaultPassWord) {
|
71
71
|
var PassWord = new Array();
|
72
72
|
if (!DefaultPassWord) return logger.Warning("DefaultPassWord Is Requirements",function() { process.exit(0); });
|
73
73
|
try {
|
@@ -102,7 +102,7 @@
|
|
102
102
|
return { PassWord: String(DefaultPassWord) + "-" + String(PassWord.join('-')), Slot: Obj.Number ,Security: Obj.Security, Previous: Obj.Previous, Secret: Obj.Secret };
|
103
103
|
});
|
104
104
|
}
|
105
|
-
}
|
105
|
+
}
|
106
106
|
|
107
107
|
/**
|
108
108
|
* CreatePassWord() takes a string and an object as arguments, and returns a string.
|
@@ -135,7 +135,7 @@
|
|
135
135
|
switch (Type) {
|
136
136
|
case "Encrypt": {
|
137
137
|
var Data_Return;
|
138
|
-
|
138
|
+
|
139
139
|
if (!Already_Action.Encode.Status) {
|
140
140
|
if (Already_Action.First == 0) Already_Action.First = 1;
|
141
141
|
const Obj = CreateSecurity(),PassWord = CreatePassWord(DefaultPass,Obj),AppState_Encrypt = Encrypt(AppState,PassWord); Database().set('Security',JSON.stringify(Obj,null,2));
|
@@ -150,12 +150,12 @@
|
|
150
150
|
}
|
151
151
|
else {
|
152
152
|
Data_Return = Already_Action.Encode.Data;
|
153
|
-
}
|
153
|
+
}
|
154
154
|
return Data_Return;
|
155
155
|
}
|
156
156
|
case "Decrypt": {
|
157
157
|
var AppState_Decrypt;
|
158
|
-
|
158
|
+
if (!Already_Action.Decode.Status) {
|
159
159
|
const Parse = CheckAndParse(DefaultPass);
|
160
160
|
AppState_Decrypt = Decrypt(AppState,Parse.Slot,Parse.PassWord);
|
161
161
|
if (Already_Action.First == 0) {
|
@@ -167,7 +167,7 @@
|
|
167
167
|
}
|
168
168
|
else {
|
169
169
|
AppState_Decrypt = Already_Action.Decode.Data;
|
170
|
-
}
|
170
|
+
}
|
171
171
|
return AppState_Decrypt;
|
172
172
|
}
|
173
173
|
}
|
package/Main.js
CHANGED
@@ -1005,7 +1005,7 @@ function setUserNameAndPassWord() {
|
|
1005
1005
|
/*console.log(figlet.textSync('Horizon', {font: 'ANSI Shadow',horizontalLayout: 'default',verticalLayout: 'default',width: 0,whitespaceBreak: true }));
|
1006
1006
|
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Operating System: " + chalk.bold.red(os.type()));
|
1007
1007
|
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Machine Version: " + chalk.bold.red(os.version()));
|
1008
|
-
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Fca Version: " + chalk.bold.red(global.Fca.Version) + '\n')
|
1008
|
+
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Fca Version: " + chalk.bold.red(global.Fca.Version) + '\n');*/
|
1009
1009
|
try {
|
1010
1010
|
rl.question(Language.TypeAccount, (Account) => {
|
1011
1011
|
if (!Account.includes("@") && global.Fca.Require.utils.getType(parseInt(Account)) != "Number") return logger.Normal(Language.TypeAccountError, function () { process.exit(1) }); //Very Human
|
@@ -1031,7 +1031,7 @@ function setUserNameAndPassWord() {
|
|
1031
1031
|
}
|
1032
1032
|
catch (e) {
|
1033
1033
|
logger.Error(e)
|
1034
|
-
}
|
1034
|
+
}
|
1035
1035
|
}
|
1036
1036
|
|
1037
1037
|
/**
|