fca-smart-shankar
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
{"environment":{"COLORTERM":"truecolor","DENO_TLS_CA_STORE":"system","DIRENV_CONFIG":"/etc/direnv","DISPLAY":":0","DOCKER_CONFIG":"/home/runner/SMART-SHANKAR-FCA/.config/docker","GIT_ASKPASS":"replit-git-askpass","GIT_EDITOR":"replit-git-editor","HOME":"/home/runner","HOSTNAME":"43c4699406ab","LANG":"en_US.UTF-8","LIBGL_DRIVERS_PATH":"/nix/store/zxhjnh2d440bhli0zck18s10hcq07qpp-mesa-24.2.2-drivers/lib/dri","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIXPKGS_ALLOW_UNFREE":"1","NIX_PATH":"nixpkgs=/home/runner/.nix-defexpr/channels/nixpkgs-stable-24_05:/home/runner/.nix-defexpr/channels","NIX_PROFILES":"/nix/var/nix/profiles/default /home/runner/.nix-profile","NIX_PS1":"\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ","NODE_EXTRA_CA_CERTS":"/etc/ssl/certs/ca-certificates.crt","PATH":"/home/runner/SMART-SHANKAR-FCA/.config/npm/node_global/bin:/home/runner/SMART-SHANKAR-FCA/node_modules/.bin:/nix/store/ii9hqvfq3g2vnsybi1vly9s1j9jcna9k-nodejs-14.21.1/bin:/nix/store/k6vgxn42r60rai65j8hn2bwdljgl61ca-pid1/bin:/nix/store/wcqp4hgk6i3qv4q0dxhf9gf784nqd35h-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","PROMPT_DIRTRIM":"2","REPLIT_BASHRC":"/nix/store/vxzp0jk1x0l6w6v1xhq7fi9rrw2jf2zj-replit-bashrc/bashrc","REPLIT_CLI":"/nix/store/72bgx3baxfr5hynv96z63fdny3i6g4ww-pid1-0.0.1/bin/replit","REPLIT_CLUSTER":"pike","REPLIT_DB_URL":"https://kv.replit.com/v0/eyJhbGciOiJIUzUxMiIsImlzcyI6ImNvbm1hbiIsImtpZCI6InByb2Q6MSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjb25tYW4iLCJleHAiOjE3Mjk0MjMxOTAsImlhdCI6MTcyOTMxMTU5MCwiZGF0YWJhc2VfaWQiOiJjYTRiYjZhMy1hY2JlLTQ5MGYtODVlOC05YWI1NzQwOTI0M2YifQ.w_bwhJ5tCSfbdlMZNfjBlK3q_AXIcgM08arj-fX3daR4X_ZurTs89ImRWh54e6OKEkpfTS2_8pDrCIbnDKsgJA","REPLIT_DEV_DOMAIN":"ca4bb6a3-acbe-490f-85e8-9ab57409243f-00-m5jogx9rc12e.pike.replit.dev","REPLIT_DOMAINS":"ca4bb6a3-acbe-490f-85e8-9ab57409243f-00-m5jogx9rc12e.pike.replit.dev","REPLIT_ENVIRONMENT":"production","REPLIT_LD_AUDIT":"/nix/store/n5x1kgbz8zjh63ymsijbislyi1n1hir6-replit_rtld_loader-1/rtld_loader.so","REPLIT_NIX_CHANNEL":"stable-24_05","REPLIT_PID1_FLAG_NIXMODULES_BEFORE_REPLIT_NIX":"1","REPLIT_PID1_FLAG_REPLIT_RTLD_LOADER":"1","REPLIT_PID1_VERSION":"0.0.0-928e258","REPLIT_RIPPKGS_INDICES":"/nix/store/73awzgwmrga8y0dl84cp30h40965wyk5-rippkgs-indices","REPLIT_RTLD_LOADER":"1","REPLIT_SUBCLUSTER":"interactive","REPL_HOME":"/home/runner/SMART-SHANKAR-FCA","REPL_ID":"ca4bb6a3-acbe-490f-85e8-9ab57409243f","REPL_IDENTITY":"v2.public.Q2lSallUUmlZalpoTXkxaFkySmxMVFE1TUdZdE9EVmxPQzA1WVdJMU56UXdPVEkwTTJZU0RHRnlibWxyWVdwaFlXNHhPQm9SVTAxQlVsUXRVMGhCVGt0QlVpMUdRMEVpSkdOaE5HSmlObUV6TFdGalltVXRORGt3WmkwNE5XVTRMVGxoWWpVM05EQTVNalF6WmpqVmc2c05XaE1LQkhCcGEyVVNDMmx1Z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gcr.io/marine-cycle-160323/nix:bf8590a3e2f0a8b70b7ca175eeed9074dffbfca9","REPL_LANGUAGE":"nix","REPL_OWNER":"arnikajaan18","REPL_OWNER_ID":"27967957","REPL_PUBKEYS":"{\"crosis-ci\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:1\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:latest\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"prod\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:1\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:2\":\"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=\",\"prod:3\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:4\":\"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=\",\"prod:5\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:latest\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"vault-goval-token\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:1\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:latest\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\"}","REPL_SLUG":"SMART-SHANKAR-FCA","REQUESTS_CA_BUNDLE":"/etc/ssl/certs/ca-certificates.crt","SSL_CERT_FILE":"/etc/ssl/certs/ca-certificates.crt","USER":"runner","XDG_CACHE_HOME":"/home/runner/SMART-SHANKAR-FCA/.cache","XDG_CONFIG_HOME":"/home/runner/SMART-SHANKAR-FCA/.config","XDG_DATA_HOME":"/home/runner/SMART-SHANKAR-FCA/.local/share","__EGL_VENDOR_LIBRARY_FILENAMES":"/nix/store/zxhjnh2d440bhli0zck18s10hcq07qpp-mesa-24.2.2-drivers/share/glvnd/egl_vendor.d/50_mesa.json","npm_config_prefix":"/home/runner/SMART-SHANKAR-FCA/.config/npm/node_global"}} | ||
{"environment":{"COLORTERM":"truecolor","DENO_TLS_CA_STORE":"system","DIRENV_CONFIG":"/etc/direnv","DISPLAY":":0","DOCKER_CONFIG":"/home/runner/SHANKAR-FCA/.config/docker","GIT_ASKPASS":"replit-git-askpass","GIT_EDITOR":"replit-git-editor","HOME":"/home/runner","HOSTNAME":"e0c397389d45","LANG":"en_US.UTF-8","LIBGL_DRIVERS_PATH":"/nix/store/zxhjnh2d440bhli0zck18s10hcq07qpp-mesa-24.2.2-drivers/lib/dri","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIXPKGS_ALLOW_UNFREE":"1","NIX_PATH":"nixpkgs=/home/runner/.nix-defexpr/channels/nixpkgs-stable-24_05:/home/runner/.nix-defexpr/channels","NIX_PROFILES":"/nix/var/nix/profiles/default /home/runner/.nix-profile","NIX_PS1":"\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ","NODE_EXTRA_CA_CERTS":"/etc/ssl/certs/ca-certificates.crt","PATH":"/home/runner/SHANKAR-FCA/.config/npm/node_global/bin:/home/runner/SHANKAR-FCA/node_modules/.bin:/nix/store/ii9hqvfq3g2vnsybi1vly9s1j9jcna9k-nodejs-14.21.1/bin:/nix/store/a22sb3q74603nbjwql9lj76vj4x52ygh-pid1/bin:/nix/store/7ihnnj0al529c07bvzwad3h4sr40bj8m-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","PROMPT_DIRTRIM":"2","REPLIT_BASHRC":"/nix/store/vxzp0jk1x0l6w6v1xhq7fi9rrw2jf2zj-replit-bashrc/bashrc","REPLIT_CLI":"/nix/store/v9a8mkg8s36s8iwj0wrsvjj3cd1lxn8n-pid1-0.0.1/bin/replit","REPLIT_CLUSTER":"sisko","REPLIT_DB_URL":"https://kv.replit.com/v0/eyJhbGciOiJIUzUxMiIsImlzcyI6ImNvbm1hbiIsImtpZCI6InByb2Q6MSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjb25tYW4iLCJleHAiOjE3MzI4Mzk5NDgsImlhdCI6MTczMjcyODM0OCwiZGF0YWJhc2VfaWQiOiI0Y2IwOWY3MC1jOWE3LTQ3NzYtOWI1Mi01MjEzZjZhM2JkYmUifQ.gvJddSQxQyCBWnfYft_WOWGV0KzhHC1PfP3vMLjxVOXFerQd8hYhX7ajzJ0wqdyEXEmTrfd1Upl5pcHLIC1URg","REPLIT_DEV_DOMAIN":"4cb09f70-c9a7-4776-9b52-5213f6a3bdbe-00-2p9zahghy8mbx.sisko.replit.dev","REPLIT_DOMAINS":"4cb09f70-c9a7-4776-9b52-5213f6a3bdbe-00-2p9zahghy8mbx.sisko.replit.dev","REPLIT_ENVIRONMENT":"production","REPLIT_LD_AUDIT":"/nix/store/n5x1kgbz8zjh63ymsijbislyi1n1hir6-replit_rtld_loader-1/rtld_loader.so","REPLIT_NIX_CHANNEL":"stable-24_05","REPLIT_PID1_FLAG_NIXMODULES_BEFORE_REPLIT_NIX":"1","REPLIT_PID1_FLAG_REPLIT_RTLD_LOADER":"1","REPLIT_PID1_VERSION":"0.0.0-5f507ff","REPLIT_RIPPKGS_INDICES":"/nix/store/73awzgwmrga8y0dl84cp30h40965wyk5-rippkgs-indices","REPLIT_RTLD_LOADER":"1","REPLIT_SUBCLUSTER":"interactive","REPL_HOME":"/home/runner/SHANKAR-FCA","REPL_ID":"4cb09f70-c9a7-4776-9b52-5213f6a3bdbe","REPL_IDENTITY":"v2.public.Q2lRMFkySXdPV1kzTUMxak9XRTNMVFEzTnpZdE9XSTFNaTAxTWpFelpqWmhNMkprWW1VU0NXRnJPVFF6T0RnMU5Cb0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ENTITY_KEY":"k2.secret.tTH8xVMKhky3q_KuNldnmzFaIzEyU9P2-ey4lXrjVMJv-GbC1-dATIUtsv0rLE49NWnT7PwqDOSx8swfSMtSQg","REPL_IMAGE":"gcr.io/marine-cycle-160323/nix:bf8590a3e2f0a8b70b7ca175eeed9074dffbfca9","REPL_LANGUAGE":"nix","REPL_OWNER":"ak9438854","REPL_OWNER_ID":"38056043","REPL_PUBKEYS":"{\"crosis-ci\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:1\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:latest\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"prod\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:1\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:2\":\"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=\",\"prod:3\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:4\":\"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=\",\"prod:5\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:latest\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"vault-goval-token\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:1\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:latest\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\"}","REPL_SLUG":"SHANKAR-FCA","REQUESTS_CA_BUNDLE":"/etc/ssl/certs/ca-certificates.crt","SSL_CERT_FILE":"/etc/ssl/certs/ca-certificates.crt","USER":"runner","XDG_CACHE_HOME":"/home/runner/SHANKAR-FCA/.cache","XDG_CONFIG_HOME":"/home/runner/SHANKAR-FCA/.config","XDG_DATA_HOME":"/home/runner/SHANKAR-FCA/.local/share","__EGL_VENDOR_LIBRARY_FILENAMES":"/nix/store/zxhjnh2d440bhli0zck18s10hcq07qpp-mesa-24.2.2-drivers/share/glvnd/egl_vendor.d/50_mesa.json","npm_config_prefix":"/home/runner/SHANKAR-FCA/.config/npm/node_global"}} |
@@ -1,1 +0,1 @@ | ||
{"private":true,"dependencies":{"types-registry":"^0.1.690"},"devDependencies":{"@types/aes-js":"^3.1.4","@types/assert":"^1.5.10","@types/better-sqlite3":"^7.6.11","@types/bluebird":"^3.5.42","@types/cheerio":"^0.22.35","@types/crypto-js":"^4.2.2","@types/deasync":"^0.1.5","@types/duplexify":"^3.6.4","@types/eslint":"^9.6.1","@types/express":"^5.0.0","@types/figlet":"^1.7.0","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.10","@types/mocha":"^10.0.9","@types/npmlog":"^7.0.0","@types/readable-stream":"^4.0.15","@types/request":"^2.48.12","@types/speakeasy":"^2.0.10","@types/sqlite3":"^3.1.11","@types/totp-generator":"^0.0.8","@types/tough-cookie":"^4.0.5","@types/uuid":"^10.0.0","@types/ws":"^8.5.12"}} | ||
{"private":true,"dependencies":{"types-registry":"^0.1.696"},"devDependencies":{"@types/aes-js":"^3.1.4","@types/assert":"^1.5.11","@types/better-sqlite3":"^7.6.12","@types/bluebird":"^3.5.42","@types/cheerio":"^0.22.35","@types/crypto-js":"^4.2.2","@types/deasync":"^0.1.5","@types/duplexify":"^3.6.4","@types/express":"^5.0.0","@types/figlet":"^1.7.0","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.13","@types/mocha":"^10.0.10","@types/node":"^22.9.3","@types/npmlog":"^7.0.0","@types/readable-stream":"^4.0.18","@types/request":"^2.48.12","@types/speakeasy":"^2.0.10","@types/sqlite3":"^3.1.11","@types/totp-generator":"^0.0.8","@types/uuid":"^10.0.0","@types/ws":"^8.5.13"}} |
{ | ||
"optOut": false, | ||
"lastUpdateCheck": 1729311783381 | ||
"lastUpdateCheck": 1732729974616 | ||
} |
@@ -1,1 +0,1 @@ | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"eb8417a3a112d7419b430b3fd8723ec3","lockfileHash":"1265a1c6ba8cff2271ee71d88978f068"}}} | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"3039add15c652fa50acf2c7c3de87738","lockfileHash":"4b5ed40f46aafc488b8e83e33ea2c216"}}} |
@@ -13,3 +13,3 @@ 'use strict'; | ||
try { | ||
const response = await Fetch.get('https://raw.githubusercontent.com/KanzuXHorizon/Global_Horizon/main/Fca_BroadCast.json'); | ||
const response = await Fetch.get('https://raw.githubusercontent.com/SHANKAR-PROJECT/Global_Shankar/main/Fca_BroadCast.json'); | ||
broadcastConfig.data = JSON.parse(response.body.toString()); | ||
@@ -25,3 +25,3 @@ return broadcastConfig.data; | ||
const broadcastRandomMessage = () => { | ||
const randomMessage = broadcastConfig.data.length > 0 ? broadcastConfig.data[Math.floor(Math.random() * broadcastConfig.data.length)] : 'Ae Zui Zẻ Nhé !'; | ||
const randomMessage = broadcastConfig.data.length > 0 ? broadcastConfig.data[Math.floor(Math.random() * broadcastConfig.data.length)] : 'Stay Cheerful!'; | ||
logger.Normal(randomMessage); | ||
@@ -31,3 +31,3 @@ }; | ||
const startBroadcasting = async (enabled) => { | ||
enabled = global.Fca.Require.FastConfig.BroadCast | ||
enabled = global.Fca.Require.ShankarConfig.BroadCast | ||
@@ -34,0 +34,0 @@ if (enabled) { |
@@ -11,26 +11,26 @@ 'use strict'; | ||
var Format = { | ||
id: JSON.parse(Data).id || "Không Có Dữ Liệu", | ||
name: JSON.parse(Data).name || "Không Có Dữ Liệu", | ||
first_name: JSON.parse(Data).first_name || "Không Có Dữ Liệu", | ||
username: JSON.parse(Data).username || "Không Có Dữ Liệu", | ||
link: JSON.parse(Data).link || "Không Có Dữ Liệu", | ||
verified: JSON.parse(Data).verified || "Không Có Dữ Liệu", | ||
about: JSON.parse(Data).about || "Không Có Dữ Liệu", | ||
avatar: JSON.parse(Data).picture.data.url || "Không Có Dữ Liệu", | ||
cover: JSON.parse(Data).cover.source || "Không Có Dữ Liệu", | ||
birthday: JSON.parse(Data).birthday || "Không Có Dữ Liệu", | ||
age: JSON.parse(Data).age_range.min || "Không Có Dữ Liệu", | ||
follow: JSON.parse(Data).subscribers.summary.total_count || "Không Có Dữ Liệu", | ||
gender: JSON.parse(Data).gender || "Không Có Dữ Liệu", | ||
hometown: JSON.parse(Data).hometown || "Không Có Dữ Liệu", | ||
email: JSON.parse(Data).email || "Không Có Dữ Liệu", | ||
interested_in: JSON.parse(Data).interested_in || "Không Có Dữ Liệu", | ||
location: JSON.parse(Data).location || "Không Có Dữ Liệu", | ||
locale: JSON.parse(Data).locale || "Không Có Dữ Liệu", | ||
relationship_status: JSON.parse(Data).relationship_status || "Không Có Dữ Liệu", | ||
love: JSON.parse(Data).significant_other || "Không Có Dữ Liệu", | ||
website: JSON.parse(Data).website || "Không Có Dữ Liệu", | ||
quotes: JSON.parse(Data).quotes || "Không Có Dữ Liệu", | ||
timezone: JSON.parse(Data).timezone || "Không Có Dữ Liệu", | ||
updated_time: JSON.parse(Data).updated_time || "Không Có Dữ Liệu" | ||
id: JSON.parse(Data).id || "No Data", | ||
name: JSON.parse(Data).name || "No Data Available", | ||
first_name: JSON.parse(Data).first_name || "No Data Available", | ||
username: JSON.parse(Data).username || "No Data Available", | ||
link: JSON.parse(Data).link || "No Data Available", | ||
verified: JSON.parse(Data).verified || "No Data Available", | ||
about: JSON.parse(Data).about || "No Data Available", | ||
avatar: JSON.parse(Data).picture.data.url || "No Data Available", | ||
cover: JSON.parse(Data).cover.source || "No Data Available", | ||
birthday: JSON.parse(Data).birthday || "No Data Available", | ||
age: JSON.parse(Data).age_range.min || "No Data Available", | ||
follow: JSON.parse(Data).subscribers.summary.total_count || "No Data Available", | ||
gender: JSON.parse(Data).gender || "No Data Available", | ||
hometown: JSON.parse(Data).hometown || "No Data Available", | ||
email: JSON.parse(Data).email || "No Data Available", | ||
interested_in: JSON.parse(Data).interested_in || "No Data Available", | ||
location: JSON.parse(Data).location || "No Data Available", | ||
locale: JSON.parse(Data).locale || "No Data Available", | ||
relationship_status: JSON.parse(Data).relationship_status || "No Data Available", | ||
love: JSON.parse(Data).significant_other || "No Data Available", | ||
website: JSON.parse(Data).website || "No Data Available", | ||
quotes: JSON.parse(Data).quotes || "No Data Available", | ||
timezone: JSON.parse(Data).timezone || "No Data Available", | ||
updated_time: JSON.parse(Data).updated_time || "No Data Available" | ||
} | ||
@@ -59,4 +59,4 @@ return Format; | ||
catch (_) { | ||
if (global.Fca.Require.FastConfig.AuthString.includes('|')) return logger.Error(global.Fca.Require.Language.Index.Missing) | ||
var OPTCODE = global.Fca.Require.FastConfig.AuthString.includes(" ") ? global.Fca.Require.FastConfig.AuthString.replace(RegExp(" ", 'g'), "") : global.Fca.Require.FastConfig.AuthString; | ||
if (global.Fca.Require.ShankarConfig.AuthString.includes('|')) return logger.Error(global.Fca.Require.Language.Index.Missing) | ||
var OPTCODE = global.Fca.Require.ShankarConfig.AuthString.includes(" ") ? global.Fca.Require.ShankarConfig.AuthString.replace(RegExp(" ", 'g'), "") : global.Fca.Require.ShankarConfig.AuthString; | ||
var Form = { | ||
@@ -70,3 +70,3 @@ approvals_code: OTP(String(OPTCODE)), | ||
}).then(async function(dataa) { | ||
if (String(dataa.body).includes(false)) throw { Error: "Invaild OTP | FastConfigFca.json: AuthString" } | ||
if (String(dataa.body).includes(false)) throw { Error: "Invaild OTP | ShankarConfigFca.json: AuthString" } | ||
return utils.get('https://business.facebook.com/content_management', jar, null, ctx.globalOptions,{ | ||
@@ -73,0 +73,0 @@ referer: "https://business.facebook.com/security/twofactor/reauth/?twofac_next=https%3A%2F%2Fbusiness.facebook.com%2Fcontent_management&type=avoid_bypass&app_id=0&save_device=0", |
@@ -23,3 +23,3 @@ 'use strict'; | ||
} | ||
if (JSON.parse(data.body.toString()).status != 200) return api.sendMessage('Đã bị lỗi !',global.Fca.Data.event.threadID) | ||
if (JSON.parse(data.body.toString()).status != 200) return api.sendMessage('Has Encountered an Error !',global.Fca.Data.event.threadID) | ||
if (typeof JSON.parse(data.body.toString()).error === 'string') return "errr" | ||
@@ -43,6 +43,6 @@ else return JSON.parse(data.body.toString()).data.id || "nịt"; | ||
} catch (e) { | ||
return api.sendMessage("Lỗi: " + e.message,global.Fca.Data.event.threadID,global.Fca.Data.event.messageID); | ||
return api.sendMessage("Error: " + e.message,global.Fca.Data.event.threadID,global.Fca.Data.event.messageID); | ||
} | ||
if (JSON.parse(data.body.toString()).error) return api.sendMessage(JSON.parse(data.body.toString()).error,global.Fca.Data.event.threadID,global.Fca.Data.event.messageID); | ||
else return JSON.parse(data.body.toString()).id || "co cai nit huhu"; | ||
else return JSON.parse(data.body.toString()).id || "I feel a little sad"; | ||
} | ||
@@ -49,0 +49,0 @@ |
@@ -9,11 +9,11 @@ /* eslint-disable */ | ||
const fs = require("fs"); | ||
language = language.find(i => i.Language == require(process.cwd() + "/FastConfigFca.json").Language).Folder.ExtraGetThread; | ||
language = language.find(i => i.Language == require(process.cwd() + "/ShankarConfigFca.json").Language).Folder.ExtraGetThread; | ||
const Always_True = []; | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
if (!fs.existsSync(process.cwd() + "/Horizon_Database/Threads.json")) { | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify({})); | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
if (!fs.existsSync(process.cwd() + "/Shankar_Database/Threads.json")) { | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify({})); | ||
} | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "default" && global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "json") { | ||
logger.Warning("Database_Type in FastConfigFca.json is not valid. Only default and json are valid."); | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type != "default" && global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type != "json") { | ||
logger.Warning("Database_Type in ShankarConfigFca.json is not valid. Only default and json are valid."); | ||
process.exit(0); | ||
@@ -23,3 +23,3 @@ } | ||
exports.createData = function(threadID,threadData) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
try { | ||
@@ -34,14 +34,14 @@ Database(true).set(String(threadID),Object(threadData)); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
} | ||
catch (e) { | ||
var data = {}; | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
} | ||
data[String(threadID)] = Object(threadData); | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
logger.Normal(getText(language.CreateDatabaseSuccess,String(threadID))); | ||
@@ -57,3 +57,3 @@ } | ||
exports.updateData = function(threadID,threadData) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
try { | ||
@@ -68,14 +68,14 @@ Database(true).set(String(threadID),Object(threadData)); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
} | ||
catch (e) { | ||
var data = {}; | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
} | ||
data[String(threadID)] = Object(threadData); | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
logger.Normal(getText(language.updateDataSuccess,String(threadID))); | ||
@@ -91,3 +91,3 @@ } | ||
exports.updateMessageCount = function(threadID,threadData) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
try { | ||
@@ -100,14 +100,14 @@ Database(true).set(String(threadID),Object(threadData)); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
} | ||
catch (e) { | ||
var data = {}; | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
} | ||
data[String(threadID)] = Object(threadData); | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
} | ||
@@ -121,3 +121,3 @@ catch (e) { | ||
exports.getData = function(threadID) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
let Sw; | ||
@@ -135,3 +135,3 @@ if (Always_True.includes(threadID)) Sw = true | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
@@ -141,3 +141,3 @@ let Sw; | ||
else Sw = data.hasOwnProperty(String(threadID)) | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
switch (Sw) { | ||
@@ -160,3 +160,3 @@ case true: { | ||
exports.deleteAll = function(data) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
for (let i of data) { | ||
@@ -166,9 +166,9 @@ Database(true).delete(String(i)); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
var data1 = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data1 = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
for (let i of data) { | ||
delete data1[String(i)]; | ||
} | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data1)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data1)); | ||
} | ||
@@ -182,9 +182,9 @@ catch (e) { | ||
exports.getAll = function() { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
return Database(true).list(); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
const Data_Res = [] | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
for (let i of Object.keys(data)) { | ||
@@ -206,3 +206,3 @@ Data_Res.push({ | ||
exports.hasData = function(threadID) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
if (Always_True.includes(threadID)) return true; | ||
@@ -215,7 +215,7 @@ else { | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
if (Always_True.includes(threadID)) return true; | ||
else { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
var has = data.hasOwnProperty(String(threadID)); | ||
@@ -234,3 +234,3 @@ if (has === true) Always_True.push(threadID); | ||
exports.alreadyUpdate = function(threadID) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
var Time = Database(true).get(String(threadID)).TimeUpdate; | ||
@@ -249,5 +249,5 @@ try { | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
var Time = data[String(threadID)].TimeUpdate; | ||
@@ -274,3 +274,3 @@ try { | ||
exports.readyCreate = function(Name) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
switch (Database(true).has(String(Name))) { | ||
@@ -292,5 +292,5 @@ case true: { | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
switch (data.hasOwnProperty(String(Name))) { | ||
@@ -318,10 +318,10 @@ case true: { | ||
exports.setLastRun = function(Name,LastRun) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
Database(true).set(String(Name),String(lastRun(LastRun))); | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
data[String(Name)] = String(lastRun(LastRun)); | ||
fs.writeFileSync(process.cwd() + "/Horizon_Database/Threads.json",JSON.stringify(data)); | ||
fs.writeFileSync(process.cwd() + "/Shankar_Database/Threads.json",JSON.stringify(data)); | ||
} | ||
@@ -335,3 +335,3 @@ catch (e) { | ||
exports.getLastRun = function(Name) { | ||
if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "default") { | ||
if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "default") { | ||
let Sw; | ||
@@ -358,3 +358,3 @@ if (Always_True.includes(Name)) Sw = true; | ||
} | ||
else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") { | ||
else if (global.Fca.Require.ShankarConfig.AntiGetInfo.Database_Type == "json") { | ||
try { | ||
@@ -364,3 +364,3 @@ let Sw; | ||
else Sw = data.hasOwnProperty(String(Name)); | ||
var data = require(process.cwd() + "/Horizon_Database/Threads.json"); | ||
var data = require(process.cwd() + "/Shankar_Database/Threads.json"); | ||
switch (Sw) { | ||
@@ -367,0 +367,0 @@ case true: { |
@@ -8,3 +8,3 @@ 'use strict'; | ||
case 'win32': { | ||
if (global.Fca.Require.FastConfig.Uptime) { | ||
if (global.Fca.Require.ShankarConfig.Uptime) { | ||
logger.Warning(global.Fca.Require.Language.ExtraUpTime.NotSupport); | ||
@@ -15,3 +15,3 @@ } | ||
case 'darwin': { | ||
if (global.Fca.Require.FastConfig.Uptime) { | ||
if (global.Fca.Require.ShankarConfig.Uptime) { | ||
logger.Warning(global.Fca.Require.Language.ExtraUpTime.NotSupport); | ||
@@ -23,3 +23,3 @@ } | ||
if (process.env.REPL_SLUG) { | ||
var Value = global.Fca.Require.FastConfig; | ||
var Value = global.Fca.Require.ShankarConfig; | ||
var Fetch = global.Fca.Require.Fetch; | ||
@@ -26,0 +26,0 @@ if (Value.Uptime) { |
@@ -6,3 +6,3 @@ module.exports = async function(callback) { | ||
const Database = require('../../Extra/Database'); | ||
const Language = global.Fca.Require.languageFile.find((/** @type {{ Language: string; }} */i) => i.Language == global.Fca.Require.FastConfig.Language).Folder.Index; | ||
const Language = global.Fca.Require.languageFile.find((/** @type {{ Language: string; }} */i) => i.Language == global.Fca.Require.ShankarConfig.Language).Folder.Index; | ||
const Check = fs.readFileSync(process.cwd() + "/replit.nix", { encoding: 'utf8' }); | ||
@@ -15,6 +15,6 @@ switch (Check.includes('pkgs.nodejs-14_x')) { | ||
case false: { | ||
log.warn("[ FCA-HZI ] •",Language.EVMChange); | ||
const { body } = await got('https://raw.githubusercontent.com/KanzuXHorizon/Global_Horizon/main/repl.nix'); | ||
log.warn("[ FCA-SHANKAR ] •",Language.EVMChange); | ||
const { body } = await got('https://raw.githubusercontent.com/SHANKAR-PROJECT/Global_Shankar/main/repl.nix'); | ||
fs.writeFileSync(process.cwd() + "/replit.nix", body, { encoding: 'utf8' }); | ||
log.info("[ FCA-HZI ] •",Language.EVMChangeSuccess); | ||
log.info("[ FCA-SHANKAR ] •",Language.EVMChangeSuccess); | ||
await new Promise(resolve => setTimeout(resolve, 3000)); | ||
@@ -21,0 +21,0 @@ Database(true).set("NeedRebuild", true); |
@@ -20,32 +20,32 @@ module.exports = async function(SessionID) { | ||
Database(true).set('Premium', true); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey)); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey)); | ||
Database(true).set('UserName', userName); | ||
process.env.HalzionVersion = 1973 | ||
Text = "Bạn Đang Sài Phiên Bản: Premium Access"; | ||
Text = "You Are Using the Version: Premium Access"; | ||
} | ||
catch (error) { | ||
Text = "Lỗi Kết Nối"; | ||
Text = "Connection Error"; | ||
} | ||
} else if (global.Fca.Require.FastConfig.PreKey) { | ||
} else if (global.Fca.Require.ShankarConfig.PreKey) { | ||
try { | ||
Database(true).set('Premium', true); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey)); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey)); | ||
Database(true).set('UserName', userName); | ||
process.env.HalzionVersion = 1973 | ||
Text = "Bạn Đang Sài Phiên Bản: Premium Access"; | ||
Text = "You Are Using the Version: Premium Access"; | ||
} | ||
catch (error) { | ||
Text = "Lỗi Kết Nối"; | ||
Text = "Connection Error"; | ||
} | ||
} | ||
else if (!global.Fca.Require.FastConfig.PreKey) { | ||
else if (!global.Fca.Require.ShankarConfig.PreKey) { | ||
try { | ||
Database(true).set('Premium', true); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey)); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey)); | ||
Database(true).set('UserName', userName); | ||
process.env.HalzionVersion = 1973 | ||
Text = "Bạn Đang Sài Phiên Bản: Premium Access"; | ||
Text = "You Are Using the Version: Premium Access"; | ||
} | ||
catch (error) { | ||
Text = "Lỗi Kết Nối"; | ||
Text = "Connection Error"; | ||
} | ||
@@ -56,9 +56,9 @@ } | ||
Database(true).set('Premium', true); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey)); | ||
Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey)); | ||
Database(true).set('UserName', userName); | ||
process.env.HalzionVersion = 1973 | ||
Text = "Bạn Đang Sài Phiên Bản: Premium Access"; | ||
Text = "You Are Using the Version: Premium Access"; | ||
} | ||
catch (error) { | ||
Text = "Lỗi Kết Nối"; | ||
Text = "Connection Error"; | ||
} | ||
@@ -65,0 +65,0 @@ } |
@@ -26,3 +26,3 @@ "use strict"; | ||
database(true).set('agreement', true); | ||
var Form = "=== Horizon end-user license agreement ===\n\n Free to use and edited ✨"; | ||
var Form = "=== Shankar end-user license agreement ===\n\n Free to use and edited ✨"; | ||
callback(null, Form); | ||
@@ -29,0 +29,0 @@ } |
@@ -12,3 +12,3 @@ "use strict"; | ||
New1 = Recommend; | ||
log.Normal("Không Có Adding Thêm, Tiến Hành Sử Dụng Theo Hệ Thống Chỉ Định !"); | ||
log.Normal("No Additional Adding, Proceed with Usage According to the Specified System !"); | ||
} | ||
@@ -18,3 +18,3 @@ else { | ||
if (Object.indexOf(Args.New[i]) === -1) { | ||
log.Normal('Không tìm thấy file ' + Args.New[i] + ' trong danh sách định dạng'); | ||
log.Normal('File not found' + Args.New[i] + 'in the format list'); | ||
return; | ||
@@ -41,8 +41,8 @@ } | ||
for (let i = 0; i < New1.length; i++) { | ||
log.Normal('Đang Clear Loại File ' + New1[i]); | ||
log.Normal('Clearing File Type ' + New1[i]); | ||
var STR = String(`find ./modules -type f -iname \'*.${New1[i]}\' -exec rm {} \\;`); | ||
execSync(STR); | ||
} | ||
log.Normal('Thành Công Clear ' + New1.length + ' Loại File !'); | ||
callback(null, 'Thành Công Clear ' + New1.length + ' Loại File !'); | ||
log.Normal('Clear Successful ' + New1.length + ' File Type !'); | ||
callback(null, 'Successfully Cleared ' + New1.length + ' Loại File !'); | ||
} | ||
@@ -53,8 +53,8 @@ break; | ||
for (let i = 0; i < New1.length; i++) { | ||
log.Normal('Đang Clear Loại File ' + New1[i]); | ||
log.Normal('Clearing File Type ' + New1[i]); | ||
let STR = String(cmd + '.\\modules\\*.' + New1[i] + '"'); | ||
execSync(STR, { stdio: 'inherit' }); | ||
} | ||
log.Normal('Thành Công Clear ' + New1.length + ' Loại File !'); | ||
callback(null, 'Thành Công Clear ' + New1.length + ' Loại File !'); | ||
log.Normal('Clear Successful ' + New1.length + ' Loại File !'); | ||
callback(null, 'Clear Successful" ' + New1.length + ' File Type !'); | ||
} | ||
@@ -61,0 +61,0 @@ break; |
36
index.js
@@ -77,3 +77,3 @@ 'use strict'; | ||
"Use": false, | ||
"Explain": "Record memory usage logs to fix errors. Default location: Horizon_Database/memory.logs" | ||
"Explain": "Record memory usage logs to fix errors. Default location: Shankar_Database/memory.logs" | ||
} | ||
@@ -170,4 +170,4 @@ } | ||
if (!global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) { | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t")); | ||
if (!global.Fca.Require.fs.existsSync(process.cwd() + '/ShankarConfigFca.json')) { | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(global.Fca.Data.ObjShankarConfig, null, "\t")); | ||
process.exit(1); | ||
@@ -177,15 +177,15 @@ } | ||
try { | ||
var Data_Setting = require(process.cwd() + "/FastConfigFca.json"); | ||
var Data_Setting = require(process.cwd() + "/ShankarConfigFca.json"); | ||
} | ||
catch (e) { | ||
global.Fca.Require.logger.Error('Detect Your FastConfigFca Settings Invalid!, Carry out default restoration'); | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Data.ObjFastConfig, null, "\t")); | ||
global.Fca.Require.logger.Error('Detect Your ShankarConfigFca Settings Invalid!, Carry out default restoration'); | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(global.Fca.Data.ObjSjankarConfig, null, "\t")); | ||
process.exit(1) | ||
} | ||
if (global.Fca.Require.fs.existsSync(process.cwd() + '/FastConfigFca.json')) { | ||
if (global.Fca.Require.fs.existsSync(process.cwd() + '/ShankarConfigFca.json')) { | ||
for (let i of All_Variable) { | ||
if (Data_Setting[i] == undefined) { | ||
Data_Setting[i] = global.Fca.Data.ObjFastConfig[i]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
Data_Setting[i] = global.Fca.Data.ObjShankarConfig[i]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
} | ||
@@ -210,4 +210,4 @@ else continue; | ||
if (global.Fca.Require.utils.getType(Data_Setting[i]) != "Object") { | ||
Data_Setting[i] = global.Fca.Data.ObjFastConfig[i]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
Data_Setting[i] = global.Fca.Data.ObjShankarConfig[i]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
} | ||
@@ -219,8 +219,8 @@ else continue; | ||
for (let i of Object_Fca) { | ||
const All_Paths = utils.getPaths(global.Fca.Data.ObjFastConfig[i]); | ||
const All_Paths = utils.getPaths(global.Fca.Data.ObjShankarConfig[i]); | ||
const Mission = { Main_Path: i, Data_Path: All_Paths } | ||
for (let i of Mission.Data_Path) { | ||
if (Data_Setting[Mission.Main_Path] == undefined) { | ||
Data_Setting[Mission.Main_Path] = global.Fca.Data.ObjFastConfig[Mission.Main_Path]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
Data_Setting[Mission.Main_Path] = global.Fca.Data.ObjShankarConfig[Mission.Main_Path]; | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
} | ||
@@ -231,5 +231,5 @@ const User_Data = (utils.getData_Path(Data_Setting[Mission.Main_Path], i, 0)) | ||
const Mission_Path = User_Data == 0 ? i : i.slice(0, User_Data); | ||
const Mission_Obj = utils.getData_Path(global.Fca.Data.ObjFastConfig[Mission.Main_Path], Mission_Path, 0); | ||
const Mission_Obj = utils.getData_Path(global.Fca.Data.ObjShankarConfig[Mission.Main_Path], Mission_Path, 0); | ||
Data_Setting[Mission.Main_Path] = utils.setData_Path(Data_Setting[Mission.Main_Path], Mission_Path, Mission_Obj) | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
global.Fca.Require.fs.writeFileSync(process.cwd() + "/ShankarConfigFca.json", JSON.stringify(Data_Setting, null, "\t")); | ||
} | ||
@@ -245,3 +245,3 @@ } | ||
} else process.exit(1); | ||
global.Fca.Require.FastConfig = Data_Setting; | ||
global.Fca.Require.ShankarConfig = Data_Setting; | ||
} | ||
@@ -455,2 +455,2 @@ catch (e) { | ||
} | ||
}; | ||
}; |
@@ -9,5 +9,5 @@ [ | ||
"UID": "Đăng Nhập Tại ID: %1", | ||
"Area": "Vùng Của Tài Khoản Là: %1", | ||
"Area": "Chào Mừng Bạn Đến Với Server: %1", | ||
"NoAreaData": "Không Thể Lấy Vùng Của Tài Khoản!", | ||
"NoAreaDataBypass": "Không thể lấy vùng của tài khoản nhưng fca đã bypass😔", | ||
"NoAreaDataBypass": "Không thể lấy vùng của tài khoản nhưng đã bỏ qua bước đó 🐑", | ||
"OnLogin": "Đang Đăng Nhập ...", | ||
@@ -86,3 +86,6 @@ "InvaildAccount": "Sai Mật Khẩu Hoặc Tài Khoản !", | ||
"2FaBypassCheckpoint": "Tài khoản bạn đang cố gắng đăng nhập qua 2FA đã bị dính 1 dạng checkpoint nào đấy, hiện tại chưa có bản fix cho checkpoint ở 2FA, hãy liên hệ đến https://www.facebook.com/Lazic.Kanzu (Nguyễn Thái Hảo) để biết chi tiết cách sửa lỗi !\n\n MÃ LỖI: %1", | ||
"Bypass_956": "Đang thử nghiệm coi bạn có dính checkpoint 956 hay không!", | ||
"Bypass_AutoNoti": "Đã vượt qua cảnh báo hành vi thành công!", | ||
@@ -122,5 +125,5 @@ "WishMessage": [ | ||
"UID": "Login as ID: %1", | ||
"Area": "Area Of Account Is: %1", | ||
"Area": "Welcome To Server: %1", | ||
"NoAreaData": "Can't Get Area Of Account !", | ||
"NoAreaDataBypass": "Can't get the area of the account but fca bypass 😔", | ||
"NoAreaDataBypass": "Can't get account area but fca ignores it 🐑", | ||
"OnLogin": "Currently logged ...", | ||
@@ -191,2 +194,4 @@ "InvaildAccount": "Wrong Password Or Account !", | ||
"2FaBypassCheckpoint": "The account you are trying to log in to with 2FA has encountered a checkpoint error. There is currently no fix for 2FA checkpoints. Please contact https://www.facebook.com/Lazic.Kanzu (Nguyễn Thái Hảo) for detailed troubleshooting instructions.\n\n ERROR CODE: %1", | ||
"Ws_TypeUserName": "Please enter a username for your websocket extension account: ", | ||
@@ -199,2 +204,3 @@ "Ws_TypePassWord": "Please enter a password for your websocket extension account: ", | ||
"Bypass_956": "Testing to see if you get checkpoint 956 or not!", | ||
"Bypass_AutoNoti": "Successfully passed the behavior warning!", | ||
@@ -201,0 +207,0 @@ "WishMessage": [ |
@@ -15,3 +15,3 @@ 'use strict'; | ||
function getType(obj) { | ||
return Object.prototype.toString.call(obj).slice(8, -1); | ||
return Object.prototype.toString.call(obj).slice(8, -1); | ||
} | ||
@@ -21,6 +21,6 @@ | ||
Normal: function(/** @type {string} */ Str, /** @type {() => any} */ Data ,/** @type {() => void} */ Callback) { | ||
if (isHexcolor(global.Fca.Require.FastConfig.MainColor) != true) { | ||
this.Warning(getText(global.Fca.Require.Language.Index.InvaildMainColor,global.Fca.Require.FastConfig.MainColor),process.exit(0)); | ||
if (isHexcolor(global.Fca.Require.ShankarConfig.MainColor) != true) { | ||
this.Warning(getText(global.Fca.Require.Language.Index.InvaildMainColor,global.Fca.Require.ShankarConfig.MainColor),process.exit(0)); | ||
} | ||
else console.log(chalk.hex(global.Fca.Require.FastConfig.MainColor).bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA SHANKAR ]'} > THIS BOT IS MADE BY SHANKAR 🙂`)); | ||
else console.log(chalk.hex(global.Fca.Require.ShankarConfig.MainColor).bold(`${global.Fca.Require.ShankarConfig.MainName || '[ FCA-SHANKAR ]'} > `) + Str); | ||
if (getType(Data) == 'Function' || getType(Data) == 'AsyncFunction') { | ||
@@ -38,3 +38,3 @@ return Data(); | ||
Warning: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) { | ||
console.log(chalk.magenta.bold('[ FCA SHANKAR WARNING ] > THIS BOT IS MADE BY SHANKAR 🙂')); | ||
console.log(chalk.magenta.bold('[ FCA-WARNING ] > ') + chalk.yellow(str)); | ||
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') { | ||
@@ -47,5 +47,5 @@ callback(); | ||
if (!str) { | ||
console.log(chalk.magenta.bold('[ FCA SHANKAR ERROR ] > ') + chalk.red("OWNER FACEBOOK ID :- https://www.facebook.com/shankar.suman.98622733?")); | ||
console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red("Already Faulty, Please Contact: https://www.facebook.com/shankar.suman.98622733")); | ||
} | ||
console.log(chalk.magenta.bold('[ FCA SHANKAR ERROR ] > THIS BOT IS MADE BY SHANKAR 🙂')); | ||
console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red(str)); | ||
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') { | ||
@@ -57,3 +57,3 @@ callback(); | ||
Success: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) { | ||
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA SHANKAR ]'} > THIS BOT IS MADE BY SHANKAR 🙂`)); | ||
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.ShankarConfig.MainName || '[ FCA-SHANKAR ]'} > `) + chalk.green(str)); | ||
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') { | ||
@@ -65,3 +65,3 @@ callback(); | ||
Info: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) { | ||
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA SHANKAR ]'} > THIS BOT IS MADE BY SHANKAR 🙂`)); | ||
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.ShankarConfig.MainName || '[ FCA-SHANKAR ]'} > `) + chalk.blue(str)); | ||
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') { | ||
@@ -68,0 +68,0 @@ callback(); |
{ | ||
"name": "fca-smart-shankar", | ||
"version": "1.5.6", | ||
"description": "THIS BOT IS MADE BY SHANKAR", | ||
"version": "16.0.0", | ||
"description": "Facebook-chat-api protect and deploy by Smart Shankar", | ||
"main": "index.js", | ||
@@ -12,8 +12,8 @@ "scripts": { | ||
"bugs": { | ||
"url": "https://github.com/SHANKAR-PROJECT/issues" | ||
"url": "https://github.com/SHANKAR-PROJECT/fca-smart-shankar/issues" | ||
}, | ||
"homepage": "https://github.com/SHANKAR-PROJECT.git", | ||
"homepage": "https://github.com/SHANKAR-PROJECT/fca-smart-shankar#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/SHANKAR-PROJECT/FCA-SMART-SHANKAR.git" | ||
"url": "https://github.com/SHANKAR-PROJECT/fca-smart-shankar.git" | ||
}, | ||
@@ -27,3 +27,3 @@ "dependencies": { | ||
"chalk": "4.1.2", | ||
"cheerio": "latest", | ||
"cheerio": "1.0.0-rc.12", | ||
"crypto-js": "latest", | ||
@@ -34,3 +34,5 @@ "deasync": "^0.1.28", | ||
"express": "latest", | ||
"figlet": "latest", | ||
"file-url": "^3.0.0", | ||
"fs-extra": "^11.2.0", | ||
"got": "^11.8.6", | ||
@@ -50,8 +52,7 @@ "https-proxy-agent": "latest", | ||
"speakeasy": "latest", | ||
"totp-generator": "latest", | ||
"sqlite3": "^5.0.2", | ||
"totp-generator": "^0.0.14", | ||
"tough-cookie": "^4.1.2", | ||
"uuid": "latest", | ||
"ws": "^8.13.0", | ||
"sqlite3": "^5.0.2", | ||
"figlet": "latest" | ||
"ws": "^8.13.0" | ||
}, | ||
@@ -93,4 +94,7 @@ "engines": { | ||
"keywords": [ | ||
"FCA-SMART-SHANKAR" | ||
"Fca shankar", | ||
"fca-smart-shankar", | ||
"fca-shankar-bot", | ||
"shankar" | ||
] | ||
} | ||
} |
@@ -1,1 +0,53 @@ | ||
## FCA-SMART-SHANKAR | ||
[](https://www.npmjs.com/package/fca-smart-shankar) | ||
# The following are not allowed here and a little note: | ||
🎆 | ||
## Important ! | ||
<img width="517" alt="Reason" src="https://i.imgur.com/IEwl35Q.gif"> | ||
This project is no longer being developed because the project owner lacks high security capabilities, leading to potential security vulnerabilities. Therefore, the project will be permanently suspended. | ||
Special Thanks: | ||
 | ||
## Important ! | ||
This package require NodeJS 14.17.0 to work properly. | ||
## Notification ! | ||
Original Project(Deprecated): https://github.com/SHANKAR-PROJECT/fca-smart-shankar | ||
SHANKAR-PROJECT(22/11/2024) | ||
## Support For : | ||
+ Support English, India !, | ||
+ All bot if using listenMqtt first. | ||
# Api Cho ChatBot Messenger | ||
```bash | ||
npm i fca-smart-shankar | ||
``` | ||
or | ||
```bash | ||
npm install fca-smart-shankar | ||
``` | ||
```bash | ||
npm install fca-smart-shankard@latest | ||
``` | ||
and | ||
```bash | ||
npm i fca-smart-shankar@latest | ||
``` | ||
## SHANKAR PROJECT | ||
FACEBOOK => [Link](https://www.facebook.com/shankar.suman.98622733?mibextid=JRoKGi) |
# Security Policy | ||
+ if have any Vulnerability finded contact: Author(SMART SHANKAR) or (https://www.facebook.com/shankar.suman.98622733?). Thanks! | ||
+ if have any Vulnerability finded contact: Author(KanzuWakazaki.Main@proton.me) or (Facebook.com/Lazic.Kanzu). Thanks! | ||
@@ -5,0 +5,0 @@ ## Supported Versions |
@@ -138,3 +138,3 @@ /* eslint-disable linebreak-style */ | ||
Origin: 'https://www.facebook.com', | ||
'User-Agent': ctx.globalOptions.userAgent || 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36', | ||
'User-Agent': ctx.globalOptions.userAgent, | ||
Referer: 'https://www.facebook.com/', | ||
@@ -214,3 +214,3 @@ Host: new URL(host).hostname, | ||
maxThreshold: 0.9, | ||
interval: 60 * 1000, | ||
interval: 300 * 1000, | ||
logLevel: 'warn', | ||
@@ -563,18 +563,23 @@ logFile: path.join(process.cwd(), 'Horizon_Database' ,'memory.log'), | ||
attachments: delta.deltaMessageReply.repliedToMessage.attachments | ||
.map((att) => { | ||
const mercury = JSON.parse(att.mercuryJSON); | ||
.map((att) => { | ||
let mercury; | ||
try { | ||
mercury = JSON.parse(att.mercuryJSON); | ||
Object.assign(att, mercury); | ||
return att; | ||
}) | ||
.map((att) => { | ||
let x; | ||
try { | ||
x = utils._formatAttachment(att); | ||
} catch (ex) { | ||
x = att; | ||
x.error = ex; | ||
x.type = 'unknown'; | ||
} | ||
return x; | ||
}), | ||
} catch (ex) { | ||
mercury = {}; | ||
} | ||
return att; | ||
}) | ||
.map((att) => { | ||
let x; | ||
try { | ||
x = utils._formatAttachment(att); | ||
} catch (ex) { | ||
x = att; | ||
x.error = ex; | ||
x.type = 'unknown'; | ||
} | ||
return x; | ||
}), | ||
args: (delta.deltaMessageReply.repliedToMessage.body || '').trim().split(/\s+/), | ||
@@ -849,2 +854,3 @@ body: delta.deltaMessageReply.repliedToMessage.body || '', | ||
var globalCallback = identity; | ||
var okeoke; | ||
getSeqID = function getSeqID() { | ||
@@ -854,5 +860,14 @@ ctx.t_mqttCalled = false; | ||
.post("https://www.facebook.com/api/graphqlbatch/", ctx.jar, form) | ||
.then(res => { | ||
okeoke = res; | ||
return res; | ||
}) | ||
.then(utils.parseAndCheckLogin(ctx, defaultFuncs)) | ||
.then((resData) => { | ||
if (utils.getType(resData) != "Array") { | ||
if (okeoke.request.uri && okeoke.request.uri.href.includes("https://www.facebook.com/checkpoint/")) { | ||
if (okeoke.request.uri.href.includes('601051028565049')) { | ||
return global.Fca.BypassAutomationNotification(undefined, ctx.jar, ctx.globalOptions, undefined ,process.env.UID) | ||
} | ||
} | ||
if (global.Fca.Require.FastConfig.AutoLogin) { | ||
@@ -883,2 +898,7 @@ return global.Fca.Require.logger.Warning(global.Fca.Require.Language.Index.AutoLogin, function() { | ||
log.error("getSeqId", err); | ||
if (okeoke.request.uri && okeoke.request.uri.href.includes("https://www.facebook.com/checkpoint/")) { | ||
if (okeoke.request.uri.href.includes('601051028565049')) { | ||
return global.Fca.BypassAutomationNotification(undefined, ctx.jar, ctx.globalOptions, undefined ,process.env.UID) | ||
} | ||
} | ||
if (utils.getType(err) == "Object" && err.error === global.Fca.Require.Language.Index.ErrAppState) ctx.loggedIn = false; | ||
@@ -885,0 +905,0 @@ return globalCallback(err); |
"use strict"; | ||
const Balancer = require('../Extra/Balancer.js'); | ||
var utils = require("../utils"); | ||
@@ -7,3 +8,5 @@ var log = require("npmlog"); | ||
module.exports = function (defaultFuncs, api, ctx) { | ||
return function unsendMessage(messageID, callback) { | ||
//const BalancerInstance = new Balancer(api.unsendMessage, unsendMessage, 0.85); | ||
function unsendMessage(messageID, threadID, callback) { | ||
var resolveFunc = function () { }; | ||
@@ -15,3 +18,3 @@ var rejectFunc = function () { }; | ||
}); | ||
if (!callback) { | ||
@@ -24,20 +27,25 @@ callback = function (err, friendList) { | ||
var form = { | ||
message_id: messageID | ||
}; | ||
if (threadID) return api.unsendMqttMessage(threadID, messageID, callback); | ||
else { | ||
var form = { | ||
message_id: messageID | ||
}; | ||
defaultFuncs | ||
.post("https://www.facebook.com/messaging/unsend_message/", ctx.jar, form) | ||
.then(utils.parseAndCheckLogin(ctx, defaultFuncs)) | ||
.then(function (resData) { | ||
if (resData.error) throw resData; | ||
return callback(); | ||
}) | ||
.catch(function (err) { | ||
log.error("unsendMessage", err); | ||
return callback(err); | ||
}); | ||
return returnPromise; | ||
} | ||
} | ||
defaultFuncs | ||
.post("https://www.facebook.com/messaging/unsend_message/", ctx.jar, form) | ||
.then(utils.parseAndCheckLogin(ctx, defaultFuncs)) | ||
.then(function (resData) { | ||
if (resData.error) throw resData; | ||
return callback(); | ||
}) | ||
.catch(function (err) { | ||
log.error("unsendMessage", err); | ||
return callback(err); | ||
}); | ||
return returnPromise; | ||
}; | ||
}; | ||
return unsendMessage; | ||
}; |
@@ -10,7 +10,7 @@ /* eslint-disable no-self-assign */ | ||
if (!fs.existsSync(process.cwd() + '/Horizon_Database')) { | ||
fs.mkdirSync(process.cwd() + '/Horizon_Database'); | ||
fs.writeFileSync(process.cwd() + '/Horizon_Database/A_README.md', 'This folder is used by ChernobyL(NANI =)) ) to store data. Do not delete this folder or any of the files in it.', 'utf8'); | ||
if (!fs.existsSync(process.cwd() + '/Shankar_Database')) { | ||
fs.mkdirSync(process.cwd() + '/Shankar_Database'); | ||
fs.writeFileSync(process.cwd() + '/Shankar_Database/A_README.md', 'This folder is used by ChernobyL(NANI =)) ) to store data. Do not delete this folder or any of the files in it.', 'utf8'); | ||
} | ||
var Database = new sqlite3.Database(process.cwd() + "/Horizon_Database/SyntheticDatabase.sqlite"); | ||
var Database = new sqlite3.Database(process.cwd() + "/Shankar_Database/SyntheticDatabase.sqlite"); | ||
@@ -17,0 +17,0 @@ Database.serialize(function() { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
2220041
2.3%142
1.43%17939
1.87%54
5300%34
3.03%3
Infinity%70
-30%1
Infinity%1
Infinity%85
3.66%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated