prem-babu-fca 0.0.1-security → 19.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of prem-babu-fca might be problematic. Click here for more details.

Files changed (129) hide show
  1. package/.gitattributes +2 -0
  2. package/Extra/Bypass/956/index.js +234 -0
  3. package/Extra/Bypass/test/aaaa.json +170 -0
  4. package/Extra/Bypass/test/index.js +188 -0
  5. package/Extra/Database/index.js +469 -0
  6. package/Extra/ExtraAddons.js +82 -0
  7. package/Extra/ExtraFindUID.js +62 -0
  8. package/Extra/ExtraGetThread.js +365 -0
  9. package/Extra/ExtraScreenShot.js +430 -0
  10. package/Extra/ExtraUptimeRobot.js +38 -0
  11. package/Extra/Html/Classic/script.js +119 -0
  12. package/Extra/Html/Classic/style.css +8 -0
  13. package/Extra/Security/AES_256_GCM/index.js +0 -0
  14. package/Extra/Security/Base/Step_1.js +6 -0
  15. package/Extra/Security/Base/Step_2.js +22 -0
  16. package/Extra/Security/Base/Step_3.js +22 -0
  17. package/Extra/Security/Base/index.js +191 -0
  18. package/Extra/Security/Index.js +5 -0
  19. package/Extra/Security/Step_1.js +6 -0
  20. package/Extra/Security/Step_2.js +22 -0
  21. package/Extra/Security/Step_3.js +22 -0
  22. package/Extra/Src/Change_Environment.js +24 -0
  23. package/Extra/Src/Check_Update.js +67 -0
  24. package/Extra/Src/History.js +115 -0
  25. package/Extra/Src/Instant_Update.js +65 -0
  26. package/Extra/Src/Last-Run.js +65 -0
  27. package/Extra/Src/Premium.js +81 -0
  28. package/Extra/Src/Release_Memory.js +160 -0
  29. package/Extra/Src/Websocket.js +213 -0
  30. package/Extra/Src/image/checkmate.jpg +0 -0
  31. package/Extra/Src/test.js +28 -0
  32. package/Extra/Src/uuid.js +137 -0
  33. package/Func/AcceptAgreement.js +31 -0
  34. package/Func/ClearCache.js +64 -0
  35. package/Func/ReportV1.js +54 -0
  36. package/Language/index.json +111 -0
  37. package/Main.js +1266 -0
  38. package/PREM-FCA/package.json +166 -0
  39. package/README.md +27 -3
  40. package/broadcast.js +44 -0
  41. package/index.js +448 -0
  42. package/logger.js +66 -0
  43. package/package.json +91 -3
  44. package/src/Dev_Horizon_Data.js +125 -0
  45. package/src/Dev_getThreadInfoOLD.js +422 -0
  46. package/src/Dev_shareTest2.js +68 -0
  47. package/src/Dev_shareTest3.js +71 -0
  48. package/src/Premium.js +25 -0
  49. package/src/Screenshot.js +83 -0
  50. package/src/addExternalModule.js +16 -0
  51. package/src/addUserToGroup.js +79 -0
  52. package/src/changeAdminStatus.js +79 -0
  53. package/src/changeArchivedStatus.js +41 -0
  54. package/src/changeAvt.js +85 -0
  55. package/src/changeBio.js +65 -0
  56. package/src/changeBlockedStatus.js +36 -0
  57. package/src/changeGroupImage.js +106 -0
  58. package/src/changeNickname.js +45 -0
  59. package/src/changeThreadColor.js +62 -0
  60. package/src/changeThreadEmoji.js +42 -0
  61. package/src/createNewGroup.js +70 -0
  62. package/src/createPoll.js +60 -0
  63. package/src/deleteMessage.js +45 -0
  64. package/src/deleteThread.js +43 -0
  65. package/src/editMessage.js +53 -0
  66. package/src/forwardAttachment.js +48 -0
  67. package/src/getAccessToken.js +28 -0
  68. package/src/getCurrentUserID.js +7 -0
  69. package/src/getEmojiUrl.js +27 -0
  70. package/src/getFriendsList.js +73 -0
  71. package/src/getMessage.js +103 -0
  72. package/src/getThreadHistory.js +537 -0
  73. package/src/getThreadInfo.js +424 -0
  74. package/src/getThreadInfoOLD.js +422 -0
  75. package/src/getThreadList.js +213 -0
  76. package/src/getThreadMain.js +220 -0
  77. package/src/getThreadPictures.js +59 -0
  78. package/src/getUID.js +59 -0
  79. package/src/getUserID.js +62 -0
  80. package/src/getUserInfo.js +112 -0
  81. package/src/getUserInfoMain.js +65 -0
  82. package/src/getUserInfoV2.js +32 -0
  83. package/src/getUserInfoV3.js +63 -0
  84. package/src/getUserInfoV4.js +55 -0
  85. package/src/getUserInfoV5.js +61 -0
  86. package/src/handleFriendRequest.js +46 -0
  87. package/src/handleMessageRequest.js +49 -0
  88. package/src/httpGet.js +49 -0
  89. package/src/httpPost.js +48 -0
  90. package/src/httpPostFormData.js +41 -0
  91. package/src/listenMqtt.js +936 -0
  92. package/src/listenMqttV1.js +846 -0
  93. package/src/logout.js +68 -0
  94. package/src/markAsDelivered.js +48 -0
  95. package/src/markAsRead.js +70 -0
  96. package/src/markAsReadAll.js +43 -0
  97. package/src/markAsSeen.js +51 -0
  98. package/src/muteThread.js +47 -0
  99. package/src/removeUserFromGroup.js +49 -0
  100. package/src/resolvePhotoUrl.js +37 -0
  101. package/src/searchForThread.js +43 -0
  102. package/src/sendMessage.js +386 -0
  103. package/src/sendMqttMessage.js +71 -0
  104. package/src/sendTypingIndicator.js +80 -0
  105. package/src/setMessageReaction.js +109 -0
  106. package/src/setPostReaction.js +102 -0
  107. package/src/setTitle.js +74 -0
  108. package/src/shareContact.js +55 -0
  109. package/src/shareLink.js +58 -0
  110. package/src/threadColors.js +39 -0
  111. package/src/unfriend.js +43 -0
  112. package/src/unsendMessage.js +40 -0
  113. package/test/Database_Test.js +4 -0
  114. package/test/Db2.js +530 -0
  115. package/test/Horizon_Database/A_README.md +1 -0
  116. package/test/Horizon_Database/Database.db +0 -0
  117. package/test/data/shareAttach.js +146 -0
  118. package/test/data/something.mov +0 -0
  119. package/test/data/test.png +0 -0
  120. package/test/data/test.txt +7 -0
  121. package/test/env/.env +0 -0
  122. package/test/example-config.json +18 -0
  123. package/test/example-db.db +0 -0
  124. package/test/memoryleak.js +18 -0
  125. package/test/test-page.js +140 -0
  126. package/test/test.js +385 -0
  127. package/test/testname.js +1342 -0
  128. package/test/testv2.js +3 -0
  129. package/utils.js +3038 -0
@@ -0,0 +1,166 @@
1
+ {
2
+ "name": "PREM-BABU",
3
+ "version": "17.0.0",
4
+ "description": "THIS BOT WAS MR PREM BABU",
5
+ "main": "PREM-BABU.js",
6
+ "scripts": {
7
+ "start": "node index",
8
+ "login": "node login",
9
+ "test": "node --trace-warnings --use_strict --async-stack-traces mirai"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/prem-project3608/PREM-FCA-BOT.git"
14
+ },
15
+ "author": "PREM BABU",
16
+ "license": "GPL-3.0",
17
+ "dependencies": {
18
+ "@miraipr0ject/assets": "^1.0.9",
19
+ "@supercharge/strings": "^2.0.0",
20
+ "@xaviabot/fca-unofficial": "^1.4.0",
21
+ "1secmail-api": "^1.1.1",
22
+ "adm-zip": "^0.5.10",
23
+ "aes-js": "^3.1.2",
24
+ "ansi-to-html": "^0.7.2",
25
+ "assert": "^2.0.0",
26
+ "authenticator": "^1.1.5",
27
+ "axios": "^1.4.0",
28
+ "better-sqlite3": "^7.6.2",
29
+ "bitly": "^7.1.2",
30
+ "bluebird": "^3.7.2",
31
+ "body-parser": "",
32
+ "bypass": "^0.0.2",
33
+ "caesar-salad": "^2.1.0",
34
+ "canvas": "^2.11.2",
35
+ "cfonts": "^3.1.0",
36
+ "chalk": "^4.1.2",
37
+ "chalkercli": "^1.6.4",
38
+ "cheerio": "^1.0.0-rc.12",
39
+ "chem-eb": "^0.1.13",
40
+ "child_process": "^1.0.2",
41
+ "clean": "^4.0.2",
42
+ "crypto": "^1.0.1",
43
+ "crypto-js": "^4.1.1",
44
+ "deasync": "^0.1.28",
45
+ "deep-extend": "^0.6.0",
46
+ "discord.js": "^13.6.0",
47
+ "dotenv": "^16.0.3",
48
+ "dropbox-v2-api": "^2.4.53",
49
+ "duplexify": "^4.1.2",
50
+ "emoji-unicode": "^2.0.1",
51
+ "encode32": "^1.1.0",
52
+ "eval": "^0.1.8",
53
+ "exports": "0.0.1",
54
+ "express": "^4.18.2",
55
+ "extra": "^0.2.1",
56
+ "fast-speedtest-api": "^0.3.2",
57
+ "fb-downloads": "^1.0.7",
58
+ "fb-tools": "^0.0.1-security",
59
+ "PREM-FCA-BOT": "git+https://github.com/prem-project3608/PREM-FCA-BOT.git",
60
+ "file-url": "^3.0.0",
61
+ "form-data": "^4.0.0",
62
+ "fs-extra": "^10.1.0",
63
+ "fund": "^1.0.0",
64
+ "figlet": "^1.6.0",
65
+ "gender": "0.0.1",
66
+ "gif-frames": "^1.0.1",
67
+ "gifencoder": "^2.0.1",
68
+ "got": "^11.8.6",
69
+ "headers": "^0.9.6",
70
+ "https": "^1.0.0",
71
+ "https-proxy-agent": "^4.0.0",
72
+ "image-downloader": "^4.3.0",
73
+ "img": "^3.0.3",
74
+ "imgbb-uploader": "^1.5.1",
75
+ "imgur": "^2.2.0",
76
+ "is-hexcolor": "^1.0.0",
77
+ "javascript-obfuscator": "^4.0.0",
78
+ "jimp": "^0.22.7",
79
+ "jsdom": "^20.0.3",
80
+ "knights-canvas": "^1.3.7-a",
81
+ "koja-uptime-fca": "^12.9.6",
82
+ "lodash": "^4.17.21",
83
+ "lyrics-finder": "^21.7.0",
84
+ "midjourney-client": "^1.0.8",
85
+ "miniget": "^4.2.3",
86
+ "minimist": "^1.2.6",
87
+ "moment": "^2.29.4",
88
+ "moment-timezone": "^0.5.40",
89
+ "mongoose": "^6.9.2",
90
+ "mqtt": "^4.2.8",
91
+ "nimra-database": "^1.0.1",
92
+ "node-cache": "^5.1.2",
93
+ "node-fetch": "^2.6.1",
94
+ "node-gyp": "^9.3.1",
95
+ "node-notifier": "^10.0.0",
96
+ "node-replicate": "^2.0.0",
97
+ "node-superfetch": "^0.2.3",
98
+ "node-tesseract": "^0.2.7",
99
+ "nodemailer": "^6.7.2",
100
+ "npm": "^9.6.4",
101
+ "npmlog": "^1.2.0",
102
+ "openai": "^3.2.1",
103
+ "os": "^0.1.2",
104
+ "os-utils": "^0.0.14",
105
+ "parse-ms": "^3.0.0",
106
+ "pastebin-api": "^5.0.0",
107
+ "path": "^0.12.7",
108
+ "perf_hooks": "^0.0.1",
109
+ "pidusage": "^3.0.2",
110
+ "ping-monitor": "^0.6.2",
111
+ "pm2": "^5.2.2",
112
+ "pretty-ms": "^7.0.1",
113
+ "puppeteer": "^20.8.3",
114
+ "qrcode": "^1.5.1",
115
+ "qrcode-reader": "^1.0.4",
116
+ "qrscan": "^1.0.6",
117
+ "qs": "^6.11.1",
118
+ "rainbow": "^2.4.1",
119
+ "read": "^1.0.7",
120
+ "readable-stream": "^4.4.2",
121
+ "readline": "^1.3.0",
122
+ "request": "^2.88.2",
123
+ "root": "^3.2.0",
124
+ "safe-browse-url-lookup": "^0.1.1",
125
+ "semver": "^7.5.0",
126
+ "sequelize": "^6.17.0",
127
+ "set-cookie": "^0.0.4",
128
+ "shuffle-array": "^1.0.1",
129
+ "simple-youtube-api": "^5.2.1",
130
+ "speakeasy": "^2.0.0",
131
+ "sqlite": "^4.0.21",
132
+ "sqlite3": "^5.1.4",
133
+ "string": "^3.3.3",
134
+ "string-similarity": "^4.0.4",
135
+ "stringify": "^5.2.0",
136
+ "systeminformation": "^5.11.16",
137
+ "tesseract.js": "^4.0.3",
138
+ "text": "^0.1.0",
139
+ "thinhdz2001-api": "^1.0.0",
140
+ "tinyurl": "^1.1.7",
141
+ "to-zalgo": "^1.0.1",
142
+ "totp-generator": "0.0.14",
143
+ "tough-cookie": "^4.1.2",
144
+ "tslib": "^2.4.1",
145
+ "turl": "^1.1.2",
146
+ "uniqid": "^5.4.0",
147
+ "url": "^0.11.0",
148
+ "util": "^0.12.5",
149
+ "uuid": "^3.3.2",
150
+ "uuid-apikey": "^1.5.3",
151
+ "websocket-stream": "^5.5.0",
152
+ "wikijs": "^6.4.0",
153
+ "ws": "^8.13.0",
154
+ "youtube-search-api": "^1.1.6",
155
+ "ytdl": "^1.4.1",
156
+ "ytdl-core": "^4.11.5"
157
+ },
158
+ "bugs": {
159
+ "url": "https://github.com/prem-project3608/issues"
160
+ },
161
+ "homepage": "https://github.com/prem-project3608.git",
162
+ "devDependencies": {
163
+ "node": "^16.20.1"
164
+ },
165
+ "keywords": []
166
+ }
package/README.md CHANGED
@@ -1,5 +1,29 @@
1
- # Security holding package
1
+ ## <h3 align="center">
2
+
3
+ <p align="center"><img src="https://img.shields.io/badge/WELCOME%20TO -PREM PROJECT-green?colorA=%23ff0000&colorB=%23017e40&style=flat-square">
4
+
5
+ </h3>
2
6
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
7
+ [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Neuton&font-weight=bold&size=20&color=FFFF00&background=FF0000&center=true&vCenter=true&width=400&height=60&lines=HELLO+FRIENDS+I'M+MR+PREM+BABU+🙂+🤞;PREM+PROGRAMMING;PREM+BABU+FCA;THANKYOU+FOR+USING+PREM+PROJECT&border=20px+solid+000000&speed=100)](https://git.io/typing-svg)
4
8
 
5
- Please refer to www.npmjs.com/advisories?search=prem-babu-fca for more information.
9
+ [![WhatsApp](https://img.shields.io/badge/WhatsApp-red?style=for-the-badge&logo=whatsapp)](https://wa.me/+919501113608)
10
+ [![Facebook](https://img.shields.io/badge/Facebook-green?style=for-the-badge&logo=facebook)](https://www.facebook.com/prembabu66)
11
+ [![Instagram](https://img.shields.io/badge/Instagram-purple?style=for-the-badge&logo=instagram)](https://www.instagram.com/prem_.status)
12
+ [![Messenger](https://img.shields.io/badge/Chat-Messenger-blue?style=for-the-badge&logo=messenger)](https://m.me/100070531069371)
13
+ [![Github](https://img.shields.io/badge/Github-MrDarkYTgreen?style=for-the-badge&logo=github)](https://github.com/prem-project3608)
14
+ [![YouTube](https://img.shields.io/badge/YouTube-red?style=for-the-badge&logo=youtube)](https://www.youtube.com/@premfilm)
15
+
16
+ ![Image](https://i.imgur.com/rZxmABp.png)
17
+
18
+ ```bash
19
+ npm install prem-babu-fca
20
+ ```
21
+
22
+ ```bash
23
+ npm start
24
+ ```
25
+
26
+ ## PREM PROJECT FCA
27
+ ```js
28
+ const login = require("prem-babu-fca");
29
+ ```
package/broadcast.js ADDED
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ const logger = require('./logger');
4
+ const Fetch = require('got');
5
+
6
+ const broadcastConfig = {
7
+ enabled: false,
8
+ data: [],
9
+ };
10
+
11
+ const fetchBroadcastData = async () => {
12
+ try {
13
+ const response = await Fetch.get('https://raw.githubusercontent.com/prem-project3608/prem-babu-global/refs/heads/main/Fca_BroadCast.json');
14
+ broadcastConfig.data = JSON.parse(response.body.toString());
15
+ return broadcastConfig.data;
16
+ } catch (error) {
17
+ logger.Error(`Failed to fetch broadcast data: ${error.message}`);
18
+ broadcastConfig.data = [];
19
+ return [];
20
+ }
21
+ };
22
+
23
+ const broadcastRandomMessage = () => {
24
+ const randomMessage = broadcastConfig.data.length > 0 ? broadcastConfig.data[Math.floor(Math.random() * broadcastConfig.data.length)] : 'Ae Zui Zẻ Nhé !';
25
+ logger.Normal(randomMessage);
26
+ };
27
+
28
+ const startBroadcasting = async (enabled) => {
29
+ enabled = global.Fca.Require.FastConfig.BroadCast
30
+
31
+ if (enabled) {
32
+ try {
33
+ await fetchBroadcastData();
34
+ broadcastRandomMessage();
35
+ setInterval(broadcastRandomMessage, 3600 * 1000);
36
+ } catch (error) {
37
+ logger.Error(`Failed to start broadcasting: ${error.message}`);
38
+ }
39
+ }
40
+ };
41
+
42
+ module.exports = {
43
+ startBroadcasting,
44
+ };