fca-naughty1 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/ExtraGetThread.js +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
- package/utils.js +4 -4
package/Extra/ExtraGetThread.js
CHANGED
@@ -5,7 +5,7 @@ var { lastRun,capture } = require('./Src/Last-Run');
|
|
5
5
|
var logger = require("../logger");
|
6
6
|
var getText = global.Fca.getText;
|
7
7
|
var language = require("../Language/index.json");
|
8
|
-
language = language.find(i => i.Language == require(process.cwd() + "/
|
8
|
+
language = language.find(i => i.Language == require(process.cwd() + "/FastConfigFca.json").Language).Folder.ExtraGetThread;
|
9
9
|
|
10
10
|
exports.createData = function(threadID,threadData) {
|
11
11
|
try {
|
package/index.js
CHANGED
@@ -104,7 +104,7 @@ global.Fca = new Object({
|
|
104
104
|
│ │
|
105
105
|
│ │
|
106
106
|
│ FCA-NAUGHTY1 │
|
107
|
-
│ Version: 1.5.
|
107
|
+
│ Version: 1.5.1 │
|
108
108
|
└────────────────────────────────────────────────────────────────────────────────┘`);
|
109
109
|
|
110
110
|
|
@@ -114,24 +114,24 @@ let Number_Fca = ["AutoRestartMinutes"];
|
|
114
114
|
let All_Variable = Boolean_Fca.concat(String_Fca,Number_Fca);
|
115
115
|
|
116
116
|
try {
|
117
|
-
if (!global.Fca.Require.fs.existsSync(process.cwd() + '/
|
118
|
-
global.Fca.Require.fs.writeFileSync(process.cwd() + "/
|
117
|
+
if (!global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) {
|
118
|
+
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
|
119
119
|
process.exit(1);
|
120
120
|
}
|
121
121
|
|
122
122
|
try {
|
123
|
-
var DataLanguageSetting = require(process.cwd() + "/
|
123
|
+
var DataLanguageSetting = require(process.cwd() + "/FastConfigFca.json");
|
124
124
|
}
|
125
125
|
catch (e) {
|
126
126
|
global.Fca.Require.logger.Error('Detect Your FastConfigFca Settings Invalid!, Carry out default restoration');
|
127
|
-
global.Fca.Require.fs.writeFileSync(process.cwd() + "/
|
127
|
+
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
|
128
128
|
process.exit(1)
|
129
129
|
}
|
130
|
-
if (global.Fca.Require.fs.existsSync(process.cwd() + '/
|
130
|
+
if (global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) {
|
131
131
|
try {
|
132
132
|
if (DataLanguageSetting.Logo != undefined) {
|
133
133
|
delete DataLanguageSetting.Logo
|
134
|
-
global.Fca.Require.fs.writeFileSync(process.cwd() + "/
|
134
|
+
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(DataLanguageSetting, null, "\t"));
|
135
135
|
}
|
136
136
|
}
|
137
137
|
catch (e) {
|
@@ -161,7 +161,7 @@ catch (e) {
|
|
161
161
|
for (let i of All_Variable) {
|
162
162
|
if (!DataLanguageSetting[All_Variable[i]] == undefined) {
|
163
163
|
DataLanguageSetting[All_Variable[i]] = global.Fca.Data.ObjFastConfig[All_Variable[i]];
|
164
|
-
global.Fca.Require.fs.writeFileSync(process.cwd() + "/
|
164
|
+
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(DataLanguageSetting, null, "\t"));
|
165
165
|
}
|
166
166
|
else continue;
|
167
167
|
}
|
@@ -1243,7 +1243,7 @@ function setUserNameAndPassWord() {
|
|
1243
1243
|
}
|
1244
1244
|
if (global.Fca.Require.FastConfig.ResetDataLogin) {
|
1245
1245
|
global.Fca.Require.FastConfig.ResetDataLogin = false;
|
1246
|
-
global.Fca.Require.fs.writeFileSync(process.cwd() + '/
|
1246
|
+
global.Fca.Require.fs.writeFileSync(process.cwd() + '/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
|
1247
1247
|
}
|
1248
1248
|
logger.Success(Language.SuccessSetData);
|
1249
1249
|
process.exit(1);
|
package/package.json
CHANGED
package/utils.js
CHANGED
@@ -869,9 +869,9 @@ function getAdminTextMessageType(m) {
|
|
869
869
|
*/
|
870
870
|
|
871
871
|
function getGenderByPhysicalMethod(name) {
|
872
|
-
var GirlName = ["
|
872
|
+
var GirlName = ["PRIYANSHI", "VANSHI", "TANIYA", "KAVYA", "AASHIKA", "AKSHITA", "ANSHIKA", "ANUSHKA", "ANKITA", "NEHA", "PARI", "PRIYA", "PRITI", "SANIA", "SONA", "SONIA", "MARRIYAM", "MAMTA", "ANU", "LOVELY", "VISHAKA", "DIYA", "DEEPIKA", "KIRAN", "POONAM", "SANA", "NAUGHTY", "ZARA", "AARTI", "QUEEN", "ANEE", "SAFIYA", "MAHI", "JOYA", "ALIKA", "ZOYA", "JASMINE", "BABY", "ZAIFA", "RANI", "BACHI", "SHALU", "LY", "HÒA", "OANH", "HƯƠNG", "HẰNG", "QUỲNH", "HẠNH", "NHIÊN", "NHẠN"];
|
873
873
|
|
874
|
-
var BoyName = ["
|
874
|
+
var BoyName = ["PRIYANSHU", "PRIYANSH", "PRINCE", "AAKASH", "CHINMAY", "MANISH", "AWAIS", "PINTU", "ABHISHEK", "KUSHAL", "VIKAS", "SHIVANSH", "ARYAN", "ARUN", "AADI", "PANDA", "AJAY", "USMAN", "TERA", "FAISAL", "KHAN", "RAJPUT", "AAKASH", "AHMAD", "RAMESH", "THỊNH", "TÒA", "TRIẾT", "TRUNG", "TRƯỜNG", "TUẤN", "NHÂN", "VŨ", "VINH", "PHONG", "PHÚC", "QUÂN", "QUANG", "SƠN", "TÀI", "THẮNG", "ĐĂNG", "VĂN", "VĨ", "QUANG", "YASH"];
|
875
875
|
|
876
876
|
var OtherName = ["ANH", "THANH", "TÂM", "DƯƠNG", "AN", "LÂM", "MIÊN", "TÚ", "LÂM", "BẰNG", "KHÁNH", "NHẬT", "VỸ", ".",",","/","%", "&","*","-","+"];
|
877
877
|
|
@@ -1361,7 +1361,7 @@ function parseAndCheckLogin(ctx, defaultFuncs, retryCount) {
|
|
1361
1361
|
}
|
1362
1362
|
|
1363
1363
|
if (res.error === 1357001) {
|
1364
|
-
switch (globalThis.Fca.Require.
|
1364
|
+
switch (globalThis.Fca.Require.Priyansh.AutoLogin) {
|
1365
1365
|
case true: {
|
1366
1366
|
globalThis.Fca.Require.logger.Warning(globalThis.Fca.Require.Language.Index.AutoLogin, function() {
|
1367
1367
|
return globalThis.Fca.AutoLogin();
|
@@ -1572,7 +1572,7 @@ function getAppState(jar, Encode) {
|
|
1572
1572
|
var Security = require('./Extra/Security/Index');
|
1573
1573
|
var appstate = jar.getCookies("https://www.facebook.com").concat(jar.getCookies("https://facebook.com")).concat(jar.getCookies("https://www.messenger.com"))
|
1574
1574
|
var logger = require('./logger'),languageFile = require('./Language/index.json');
|
1575
|
-
var Language = languageFile.find(i => i.Language == globalThis.Fca.Require.
|
1575
|
+
var Language = languageFile.find(i => i.Language == globalThis.Fca.Require.Priyansh.Language).Folder.Index;
|
1576
1576
|
var data;
|
1577
1577
|
switch (require(process.cwd() + "/FastConfigFca.json").EncryptFeature) {
|
1578
1578
|
case true: {
|