fca-naughty1 1.4.7 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/ExtraGetThread.js +2 -2
- package/index.js +27 -11
- package/package.json +1 -1
- package/src/getThreadInfo.js +2 -5
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() + "/Fca-Naughty.json").Language).Folder.ExtraGetThread;
|
9
9
|
|
10
10
|
exports.createData = function(threadID,threadData) {
|
11
11
|
try {
|
@@ -115,4 +115,4 @@ exports.getLastRun = function(Name) {
|
|
115
115
|
}
|
116
116
|
}
|
117
117
|
}
|
118
|
-
}
|
118
|
+
}
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
|
3
|
+
/*
|
4
4
|
FACEBOOK CHAT API BY NAUGHTY
|
5
5
|
*/
|
6
6
|
|
@@ -32,8 +32,8 @@ global.Fca = new Object({
|
|
32
32
|
"Language": "en",
|
33
33
|
"PreKey": "",
|
34
34
|
"AutoUpdate": false,
|
35
|
-
"MainColor": "#
|
36
|
-
"MainName": "[ FCA
|
35
|
+
"MainColor": "#00FFFF",
|
36
|
+
"MainName": "[ FCA-ÑAUGHTY ]",
|
37
37
|
"Logo": true,
|
38
38
|
"Uptime": true,
|
39
39
|
"Config": "default",
|
@@ -41,12 +41,12 @@ global.Fca = new Object({
|
|
41
41
|
"AutoLogin": false,
|
42
42
|
"BroadCast": true,
|
43
43
|
"AuthString": "SD4S XQ32 O2JA WXB3 FUX2 OPJ7 Q7JZ 4R6Z | https://i.imgur.com/RAg3rvw.png Please remove this !, Recommend If You Using getUserInfoV2",
|
44
|
-
"EncryptFeature":
|
44
|
+
"EncryptFeature": false,
|
45
45
|
"ResetDataLogin": false,
|
46
46
|
"AutoRestartMinutes": 0,
|
47
47
|
"HTML": {
|
48
48
|
"HTML": true,
|
49
|
-
"UserName": "
|
49
|
+
"UserName": "Naughty",
|
50
50
|
"MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
|
51
51
|
}
|
52
52
|
},
|
@@ -91,7 +91,23 @@ global.Fca = new Object({
|
|
91
91
|
});
|
92
92
|
|
93
93
|
/!-[ Check File To Run Process ]-!/
|
94
|
-
console.log(
|
94
|
+
console.log(`┌────────────────────────────────────────────────────────────────────────────────┐
|
95
|
+
│ │
|
96
|
+
│ │
|
97
|
+
│ │
|
98
|
+
│ ███╗ ██╗ █████╗ ██╗ ██╗ ██████╗ ██╗ ██╗████████╗██╗ ██╗ │
|
99
|
+
│ ████╗ ██║██╔══██╗██║ ██║██╔════╝ ██║ ██║╚══██╔══╝╚██╗ ██╔╝ │
|
100
|
+
│ ██╔██╗ ██║███████║██║ ██║██║ ███╗███████║ ██║ ╚████╔╝ │
|
101
|
+
│ ██║╚██╗██║██╔══██║██║ ██║██║ ██║██╔══██║ ██║ ╚██╔╝ │
|
102
|
+
│ ██║ ╚████║██║ ██║╚██████╔╝╚██████╔╝██║ ██║ ██║ ██║ │
|
103
|
+
│ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ │
|
104
|
+
│ │
|
105
|
+
│ │
|
106
|
+
│ FCA-NAUGHTY1 │
|
107
|
+
│ Version: 1.4.9 │
|
108
|
+
└────────────────────────────────────────────────────────────────────────────────┘`);
|
109
|
+
|
110
|
+
|
95
111
|
let Boolean_Fca = ["AutoUpdate","Uptime","BroadCast","EncryptFeature","AutoLogin","ResetDataLogin","Login2Fa","Logo"];
|
96
112
|
let String_Fca = ["MainName","PreKey","Language","AuthString","Config"]
|
97
113
|
let Number_Fca = ["AutoRestartMinutes"];
|
@@ -350,7 +366,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
350
366
|
}
|
351
367
|
case false: {
|
352
368
|
throw { error: global.Fca.Require.Language.Index.ErrAppState };
|
353
|
-
|
369
|
+
|
354
370
|
}
|
355
371
|
}
|
356
372
|
}
|
@@ -375,7 +391,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
375
391
|
}
|
376
392
|
|
377
393
|
let Slot = Object.keys(CHECK_MQTT);
|
378
|
-
|
394
|
+
|
379
395
|
var mqttEndpoint,region,irisSeqID;
|
380
396
|
Object.keys(CHECK_MQTT).map(function(MQTT) {
|
381
397
|
if (CHECK_MQTT[MQTT] && !region) {
|
@@ -571,7 +587,7 @@ function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
|
|
571
587
|
$("form input").map((i, v) => arr.push({ val: $(v).val(), name: $(v).attr("name") }));
|
572
588
|
arr = arr.filter(v => { return v.val && v.val.length });
|
573
589
|
var from2 = utils.arrToForm(arr);
|
574
|
-
|
590
|
+
|
575
591
|
if (html.indexOf("checkpoint/?next") > -1) {
|
576
592
|
setTimeout(() => {
|
577
593
|
checkVerified = setInterval((_form) => {}, 5000, {
|
@@ -1281,7 +1297,7 @@ function login(loginData, options, callback) {
|
|
1281
1297
|
emitReady: false,
|
1282
1298
|
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8"
|
1283
1299
|
};
|
1284
|
-
|
1300
|
+
|
1285
1301
|
if (loginData.email && loginData.password) {
|
1286
1302
|
setOptions(globalOptions, {
|
1287
1303
|
logLevel: "silent",
|
@@ -1307,7 +1323,7 @@ function login(loginData, options, callback) {
|
|
1307
1323
|
};
|
1308
1324
|
callback = prCallback;
|
1309
1325
|
}
|
1310
|
-
|
1326
|
+
|
1311
1327
|
(async function() {
|
1312
1328
|
var Premium = require("./Extra/Src/Premium");
|
1313
1329
|
global.Fca.Data.PremText = await Premium(global.Fca.Require.Security.create().uuid) || "Bạn Đang Sài Phiên Bản: Free !";
|
package/package.json
CHANGED
package/src/getThreadInfo.js
CHANGED
@@ -168,10 +168,7 @@ module.exports = function(defaultFuncs, api, ctx) {
|
|
168
168
|
};
|
169
169
|
}
|
170
170
|
|
171
|
-
//
|
172
|
-
// những code tương tự muliti thread như này đều có thể là copy idea 🐧
|
173
|
-
// đã áp dụng vào fca mới(cloud - fca(private)) vào cuối tháng 8/2022 bởi @IteralingCode(Hidden Member( always :) )) - Synthetic 4 - @Horizon Team
|
174
|
-
//cập nhật dự án bị bỏ rơi này vào ngày 19/11/2022 bởi @KanzuWakazaki(Owner) - Synthetic 1 - @Horizon Team nhằm đáp ứng nhu cầu của client !
|
171
|
+
// Unofficial Facebook Chat Api By Ñaughty
|
175
172
|
|
176
173
|
var time = new Date().toLocaleDateString('vi-VN', {minute: 'numeric' }).split(',')[0]
|
177
174
|
|
@@ -345,4 +342,4 @@ module.exports = function(defaultFuncs, api, ctx) {
|
|
345
342
|
}
|
346
343
|
return returnPromise;
|
347
344
|
};
|
348
|
-
};
|
345
|
+
};
|