fca-naughty1 1.4.6 β†’ 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1 +1 @@
1
- # try
1
+ # UNOFFICAL FACEBOOK CHAT API BY NAUGHTY πŸ˜‡
package/broadcast.js CHANGED
@@ -3,9 +3,9 @@ switch (global.Fca.Require.FastConfig.BroadCast) {
3
3
  try {
4
4
  var logger = global.Fca.Require.logger;
5
5
  var Fetch = global.Fca.Require.Fetch;
6
- Fetch.get("https://raw.githubusercontent.com/priyanshu192/fb-bot/blob/main/Fca_BroadCast.json").then(async (/** @type {{ body: { toString: () => string; }; }} */ res) => {
6
+ Fetch.get("https://raw.githubusercontent.com").then(async (/** @type {{ body: { toString: () => string; }; }} */ res) => {
7
7
  global.Fca.Data.BroadCast = JSON.parse(res.body.toString())
8
- var random = JSON.parse(res.body.toString())[Math.floor(Math.random() * JSON.parse(res.body.toString()).length)] || "Priyansh !";
8
+ var random = JSON.parse(res.body.toString())[Math.floor(Math.random() * JSON.parse(res.body.toString()).length)] || "Naughty !";
9
9
  logger.Normal(random);
10
10
  });
11
11
  }
@@ -16,7 +16,7 @@ switch (global.Fca.Require.FastConfig.BroadCast) {
16
16
  try {
17
17
  try {
18
18
  var logger = global.Fca.Require.logger;
19
- var random = global.Fca.Data.BroadCast[Math.floor(Math.random() * global.Fca.Data.BroadCast.length)] || "Priyansh !";
19
+ var random = global.Fca.Data.BroadCast[Math.floor(Math.random() * global.Fca.Data.BroadCast.length)] || "Naughty !";
20
20
  logger.Normal(random);
21
21
  }
22
22
  catch (e) {
package/index.js CHANGED
@@ -1,12 +1,7 @@
1
1
  'use strict';
2
2
 
3
- /**
4
- * Developers: @KanzuWakazaki - @HarryWakazaki
5
- ** A few words about developer appstate security.
6
- *! Statement renouncing responsibility for the security of appstate encryption of the following operating systems: windows, Android, Linux operating systems,.. (maybe repl.it?),
7
- *! because the above operating systems are private (except rep.it if the fraudster does not own your account or invite link to join).
8
- *! If the intruder owns the computer, these private operating systems,the security of this fca cannot guarantee 100% of the time.
9
- ** If the grammar is wrong, please understand because I'm just a kid 🍡.
3
+ /*
4
+ FACEBOOK CHAT API BY NAUGHTY
10
5
  */
11
6
 
12
7
  /!-[ Global Set ]-!/
@@ -37,8 +32,8 @@ global.Fca = new Object({
37
32
  "Language": "en",
38
33
  "PreKey": "",
39
34
  "AutoUpdate": false,
40
- "MainColor": "#9900FF",
41
- "MainName": "[ FCA-PRIYANSH ]",
35
+ "MainColor": "#00FFFF",
36
+ "MainName": "[ FCA-Γ‘AUGHTY ]",
42
37
  "Logo": true,
43
38
  "Uptime": true,
44
39
  "Config": "default",
@@ -46,12 +41,12 @@ global.Fca = new Object({
46
41
  "AutoLogin": false,
47
42
  "BroadCast": true,
48
43
  "AuthString": "SD4S XQ32 O2JA WXB3 FUX2 OPJ7 Q7JZ 4R6Z | https://i.imgur.com/RAg3rvw.png Please remove this !, Recommend If You Using getUserInfoV2",
49
- "EncryptFeature": true,
44
+ "EncryptFeature": false,
50
45
  "ResetDataLogin": false,
51
46
  "AutoRestartMinutes": 0,
52
47
  "HTML": {
53
48
  "HTML": true,
54
- "UserName": "Guest",
49
+ "UserName": "Naughty",
55
50
  "MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
56
51
  }
57
52
  },
@@ -96,6 +91,22 @@ global.Fca = new Object({
96
91
  });
97
92
 
98
93
  /!-[ Check File To Run Process ]-!/
94
+ console.log(`β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
95
+ β”‚ β”‚
96
+ β”‚ β”‚
97
+ β”‚ β”‚
98
+ β”‚ β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β”‚
99
+ β”‚ β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β• β”‚
100
+ β”‚ β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β”‚
101
+ β”‚ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ•”β• β”‚
102
+ β”‚ β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β”‚
103
+ β”‚ β•šβ•β• β•šβ•β•β•β•β•šβ•β• β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β• β•šβ•β• β•šβ•β• β•šβ•β• β”‚
104
+ β”‚ β”‚
105
+ β”‚ β”‚
106
+ β”‚ FCA-NAUGHTY1 β”‚
107
+ β”‚ Version: 1.4.8 β”‚
108
+ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜`);
109
+
99
110
 
100
111
  let Boolean_Fca = ["AutoUpdate","Uptime","BroadCast","EncryptFeature","AutoLogin","ResetDataLogin","Login2Fa","Logo"];
101
112
  let String_Fca = ["MainName","PreKey","Language","AuthString","Config"]
@@ -103,24 +114,24 @@ let Number_Fca = ["AutoRestartMinutes"];
103
114
  let All_Variable = Boolean_Fca.concat(String_Fca,Number_Fca);
104
115
 
105
116
  try {
106
- if (!global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) {
107
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
117
+ if (!global.Fca.Require.fs.existsSync(process.cwd() + '/Fca-Naughty.json')) {
118
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/Fca-Naughty.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
108
119
  process.exit(1);
109
120
  }
110
121
 
111
122
  try {
112
- var DataLanguageSetting = require(process.cwd() + "/FastConfigFca.json");
123
+ var DataLanguageSetting = require(process.cwd() + "/Fca-Naughty.json");
113
124
  }
114
125
  catch (e) {
115
126
  global.Fca.Require.logger.Error('Detect Your FastConfigFca Settings Invalid!, Carry out default restoration');
116
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
127
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/Fca-Naughty.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t"));
117
128
  process.exit(1)
118
129
  }
119
- if (global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) {
130
+ if (global.Fca.Require.fs.existsSync(process.cwd() + '/Fca-Naughty.json')) {
120
131
  try {
121
132
  if (DataLanguageSetting.Logo != undefined) {
122
133
  delete DataLanguageSetting.Logo
123
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(DataLanguageSetting, null, "\t"));
134
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/Fca-Naughty.json", JSON.stringify(DataLanguageSetting, null, "\t"));
124
135
  }
125
136
  }
126
137
  catch (e) {
@@ -150,7 +161,7 @@ catch (e) {
150
161
  for (let i of All_Variable) {
151
162
  if (!DataLanguageSetting[All_Variable[i]] == undefined) {
152
163
  DataLanguageSetting[All_Variable[i]] = global.Fca.Data.ObjFastConfig[All_Variable[i]];
153
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(DataLanguageSetting, null, "\t"));
164
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/Fca-Naughty.json", JSON.stringify(DataLanguageSetting, null, "\t"));
154
165
  }
155
166
  else continue;
156
167
  }
@@ -355,7 +366,7 @@ function buildAPI(globalOptions, html, jar) {
355
366
  }
356
367
  case false: {
357
368
  throw { error: global.Fca.Require.Language.Index.ErrAppState };
358
-
369
+
359
370
  }
360
371
  }
361
372
  }
@@ -380,7 +391,7 @@ function buildAPI(globalOptions, html, jar) {
380
391
  }
381
392
 
382
393
  let Slot = Object.keys(CHECK_MQTT);
383
-
394
+
384
395
  var mqttEndpoint,region,irisSeqID;
385
396
  Object.keys(CHECK_MQTT).map(function(MQTT) {
386
397
  if (CHECK_MQTT[MQTT] && !region) {
@@ -576,7 +587,7 @@ function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
576
587
  $("form input").map((i, v) => arr.push({ val: $(v).val(), name: $(v).attr("name") }));
577
588
  arr = arr.filter(v => { return v.val && v.val.length });
578
589
  var from2 = utils.arrToForm(arr);
579
-
590
+
580
591
  if (html.indexOf("checkpoint/?next") > -1) {
581
592
  setTimeout(() => {
582
593
  checkVerified = setInterval((_form) => {}, 5000, {
@@ -1136,9 +1147,9 @@ try {
1136
1147
  Fetch('https://raw.githubusercontent.com/corazoncary/fca/main/package.json').then(async (/** @type {{ body: { toString: () => string; }; }} */res) => {
1137
1148
  const localVersion = global.Fca.Version;
1138
1149
  if (Number(localVersion.replace(/\./g,"")) < Number(JSON.parse(res.body.toString()).version.replace(/\./g,"")) ) {
1139
- log.warn("[ FCA-PRIYANSH ] β€’",getText(Language.NewVersionFound,global.Fca.Version,JSON.parse(res.body.toString()).version));
1150
+ log.warn("[ FCA-NAUGHTY ] β€’",getText(Language.NewVersionFound,global.Fca.Version,JSON.parse(res.body.toString()).version));
1140
1151
  if (global.Fca.Require.FastConfig.AutoUpdate == true) {
1141
- log.warn("[ FCA-PRIYANSH ] β€’",Language.AutoUpdate);
1152
+ log.warn("[ FCA-NAUGHTY ] β€’",Language.AutoUpdate);
1142
1153
  try {
1143
1154
  execSync('npm install team.atf@latest', { stdio: 'inherit' });
1144
1155
  logger.Success(Language.UpdateSuccess)
@@ -1164,7 +1175,7 @@ try {
1164
1175
  }
1165
1176
  catch (e) {
1166
1177
  logger.Warning("Error Please Enter The Following Code In Console To Fix !");
1167
- logger.Warning("rmdir -rf ./node_modules/fca-priyansh && npm i fca-priyansh@latest && npm start");
1178
+ logger.Warning("rmdir -rf ./node_modules/fca-naughty1 && npm i fca-naughty1@latest && npm start");
1168
1179
  logger.Warning("Please Copy All The Above Words, Need To Do It 100% Correctly Otherwise Your File Will Be Discolored ✨")
1169
1180
  process.exit(0);
1170
1181
  }
@@ -1232,7 +1243,7 @@ function setUserNameAndPassWord() {
1232
1243
  }
1233
1244
  if (global.Fca.Require.FastConfig.ResetDataLogin) {
1234
1245
  global.Fca.Require.FastConfig.ResetDataLogin = false;
1235
- global.Fca.Require.fs.writeFileSync(process.cwd() + '/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1246
+ global.Fca.Require.fs.writeFileSync(process.cwd() + '/Fca-Naughty.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1236
1247
  }
1237
1248
  logger.Success(Language.SuccessSetData);
1238
1249
  process.exit(1);
@@ -1286,7 +1297,7 @@ function login(loginData, options, callback) {
1286
1297
  emitReady: false,
1287
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"
1288
1299
  };
1289
-
1300
+
1290
1301
  if (loginData.email && loginData.password) {
1291
1302
  setOptions(globalOptions, {
1292
1303
  logLevel: "silent",
@@ -1312,7 +1323,7 @@ function login(loginData, options, callback) {
1312
1323
  };
1313
1324
  callback = prCallback;
1314
1325
  }
1315
-
1326
+
1316
1327
  (async function() {
1317
1328
  var Premium = require("./Extra/Src/Premium");
1318
1329
  global.Fca.Data.PremText = await Premium(global.Fca.Require.Security.create().uuid) || "BαΊ‘n Đang SΓ i PhiΓͺn BαΊ£n: Free !";
package/logger.js CHANGED
@@ -20,7 +20,7 @@ module.exports = {
20
20
  if (isHexcolor(global.Fca.Require.FastConfig.MainColor) != true) {
21
21
  this.Warning(getText(global.Fca.Require.Language.Index.InvaildMainColor,global.Fca.Require.FastConfig.MainColor),process.exit(0));
22
22
  }
23
- else console.log(chalk.hex(global.Fca.Require.FastConfig.MainColor).bold(`${global.Fca.Require.FastConfig.MainName || '[ PRIYANSH ]'} > `) + Str);
23
+ else console.log(chalk.hex(global.Fca.Require.FastConfig.MainColor).bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA-NAUGHTY ]'} > `) + Str);
24
24
  if (getType(Data) == 'Function' || getType(Data) == 'AsyncFunction') {
25
25
  return Data();
26
26
  }
@@ -41,7 +41,7 @@ module.exports = {
41
41
  },
42
42
  Error: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
43
43
  if (!str) {
44
- console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red("Already Faulty, Please Contact: Facebook.com/Priyansh.Rajput.Official"));
44
+ console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red("Already Faulty, Please Contact: Facebook.com/NAUGHTY.OFFICIAL"));
45
45
  }
46
46
  console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red(str));
47
47
  if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
@@ -50,14 +50,14 @@ module.exports = {
50
50
  else return callback;
51
51
  },
52
52
  Success: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
53
- console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ PRIYANSH ]'} > `) + chalk.green(str));
53
+ console.log(chalk.hex('#00FFFF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA-NAUGHTY ]'} > `) + chalk.green(str));
54
54
  if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
55
55
  callback();
56
56
  }
57
57
  else return callback;
58
58
  },
59
59
  Info: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
60
- console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ PRIYANSH ]'} > `) + chalk.blue(str));
60
+ console.log(chalk.hex('#00FFFF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA-NAUGHTY ]'} > `) + chalk.blue(str));
61
61
  if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
62
62
  callback();
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-naughty1",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "Facebook-chat-api by Naughty",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,12 +11,12 @@
11
11
  "author": "Naughty",
12
12
  "license": "MIT",
13
13
  "bugs": {
14
- "url": "https://github.com/priyanshu192/try/issues"
14
+ "url": "https://github.com/"
15
15
  },
16
- "homepage": "https://github.com/priyanshu192/try#readme",
16
+ "homepage": "https://github.com/",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/priyanshu192/try.git"
19
+ "url": "https://github.com/"
20
20
  },
21
21
  "dependencies": {
22
22
  "aes-js": "latest",