fca-naughty1 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- package/SECURITY.md +7 -4
- package/index.js +1 -1
- package/package.json +1 -1
- package/utils.js +5 -5
package/SECURITY.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
|
1
|
+
Security Policy
|
2
2
|
|
3
|
-
|
3
|
+
NAUGHTY
|
4
4
|
|
5
|
-
|
5
|
+
if have any Vulnerability finded contact: Author(Naughty) or ( Facebook.com/NAUGHTY.OFFICIAL ). Thanks!
|
6
|
+
|
7
|
+
Supported Versions
|
6
8
|
|
7
9
|
Use this section to tell people about which versions of your project are
|
8
10
|
currently being supported with security updates.
|
@@ -12,6 +14,7 @@ currently being supported with security updates.
|
|
12
14
|
| Main Version With Autoupdate | :white_check_mark: |
|
13
15
|
| Old Version | :x:|
|
14
16
|
|
15
|
-
|
17
|
+
Reporting a Vulnerability
|
16
18
|
|
17
19
|
Contact Author
|
20
|
+
NAUGHTY
|
package/index.js
CHANGED
@@ -102,7 +102,7 @@ global.Fca = new Object({
|
|
102
102
|
│ │
|
103
103
|
│ │
|
104
104
|
│ FCA-NAUGHTY1 │
|
105
|
-
│ Version: 1.5.
|
105
|
+
│ Version: 1.5.6 │
|
106
106
|
└────────────────────────────────────────────────────────────────────────────────┘`);
|
107
107
|
let Boolean_Fca = ["AutoUpdate","Uptime","BroadCast","EncryptFeature","AutoLogin","ResetDataLogin","Login2Fa","Logo"];
|
108
108
|
let String_Fca = ["MainName","PreKey","Language","AuthString","Config"]
|
package/package.json
CHANGED
package/utils.js
CHANGED
@@ -26,7 +26,7 @@ function setProxy(url) {
|
|
26
26
|
* @param {{ region: any; }} [ctx]
|
27
27
|
* @param {undefined} [customHeader]
|
28
28
|
*/
|
29
|
-
|
29
|
+
console.log("HATERS FEEL NAUGHTY 😈");
|
30
30
|
function getHeaders(url, options, ctx, customHeader) {
|
31
31
|
var headers = {
|
32
32
|
"Content-Type": "application/x-www-form-urlencoded",
|
@@ -869,9 +869,9 @@ function getAdminTextMessageType(m) {
|
|
869
869
|
*/
|
870
870
|
|
871
871
|
function getGenderByPhysicalMethod(name) {
|
872
|
-
var GirlName = ["
|
872
|
+
var GirlName = ["LAN", "HÂN", "LINH", "MAI", "HOA", "THU", "BĂNG", "MỸ", "CHÂU", "THẢO", "THOA", "MẪN", "THÙY", "THỦY", "NGA", "NGÂN", "NGHI", "THƯ", "NGỌC", "BÍCH", "VÂN", "DIỆP", "CHI", "TIÊN", "XUÂN", "GIANG", "NHUNG", "DUNG", "NHƯ", "YẾN", "QUYÊN", "YẾN", "TƯỜNG", "VY", "PHƯƠNG", "LIÊN", "LAN", "HÀ", "MAI", "ĐAN", "HẠ", "QUYÊN", "LY", "HÒA", "OANH", "HƯƠNG", "HẰNG", "QUỲNH", "HẠNH", "NHIÊN", "NHẠN"];
|
873
873
|
|
874
|
-
var BoyName = ["
|
874
|
+
var BoyName = ["HƯNG", "HUY", "KHẢI", "KHANG", "KHOA", "KHÔI", "KIÊN", "KIỆT", "LONG", "MINH", "ÂN", "BẢO", "BÌNH", "CƯỜNG", "ĐẠT", "ĐỨC", "DŨNG", "DUY", "HOÀNG", "HÙNG", "HƯNG", "NGHĨA", "NGUYÊN", "THẮNG", "THIỆN", "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", "MẠNH"];
|
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.FastConfig.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.FastConfig.Language).Folder.Index;
|
1576
1576
|
var data;
|
1577
1577
|
switch (require(process.cwd() + "/FastConfigFca.json").EncryptFeature) {
|
1578
1578
|
case true: {
|