@ominduanjane/queenlora-web-api 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of @ominduanjane/queenlora-web-api might be problematic. Click here for more details.
- package/.cache/replit/nix/env.json +1 -0
- package/.replit +73 -0
- package/.upm/store.json +1 -0
- package/index.js +45 -0
- package/package.json +32 -0
- package/replit.nix +8 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"entries":{"replit.nix":{"env":{"AR":"ar","AS":"as","CC":"gcc","CONFIG_SHELL":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","CXX":"g++","HOST_PATH":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin:/nix/store/rszcnphk27fvfr2hq5pcr07jccf2dqy1-typescript-language-server-0.9.6/bin:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/bin:/nix/store/z3f1lqsxb31bzv36wzmjj3qp9gp9ci14-jest-cli-23.6.0/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/jjvw20r6pz3ff7pn91yhvfx8s7izsqan-findutils-4.8.0/bin:/nix/store/ndd6gh8zigjy0j68arj7nyrbcw4kcw01-diffutils-3.8/bin:/nix/store/bpg0ia8nkavzw7s66avi1f9nz72i1p3r-gnused-4.8/bin:/nix/store/df3ff57sbkgbdhc4ar19zs4y0hrhggii-gnugrep-3.7/bin:/nix/store/4fv981732jqzirah3h2y6ynmlsfbxb37-gawk-5.1.1/bin:/nix/store/k5ifa08z0qlkknnb8s1bdh2kdrx0qmd0-gnutar-1.34/bin:/nix/store/dcird3wn9xywy49w3qq1hpjwvjfn3lph-gzip-1.11/bin:/nix/store/s85iyc3p9nbinwvwx9rcqirf1m68zpmm-bzip2-1.0.6.0.2-bin/bin:/nix/store/msncxcf5lgy5by9cqjyxchxd26x47d64-gnumake-4.3/bin:/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin:/nix/store/gi3psbgxbf2fmvgi36pmw77nnh58vq3l-patch-2.7.6/bin:/nix/store/sqb20f4rk80lw21j4is85qwljlphmn3g-xz-5.2.5-bin/bin","LD":"ld","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIX_BINTOOLS":"/nix/store/spm7d6ncyx2k5w8yl6clzynv2s4wf1kp-binutils-wrapper-2.35.2","NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_BUILD_CORES":"8","NIX_BUILD_TOP":"/tmp","NIX_CC":"/nix/store/2qwnn6lizc9d119kp3zig3q19gbfm4n6-gcc-wrapper-10.3.0","NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu":"1","NIX_CFLAGS_COMPILE":" -frandom-seed=cnh0pwpair -isystem /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/include -isystem /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/include","NIX_ENFORCE_NO_NATIVE":"1","NIX_HARDENING_ENABLE":"fortify stackprotector pic strictoverflow format relro bindnow","NIX_INDENT_MAKE":"1","NIX_LDFLAGS":"-rpath /nix/store/cnh0pwpair7dz15k1qjfy1qzr7gphgk2-nix-shell/lib64 -rpath /nix/store/cnh0pwpair7dz15k1qjfy1qzr7gphgk2-nix-shell/lib ","NIX_STORE":"/nix/store","NM":"nm","NODE_PATH":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules:/nix/store/rszcnphk27fvfr2hq5pcr07jccf2dqy1-typescript-language-server-0.9.6/lib/node_modules:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/lib/node_modules:/nix/store/z3f1lqsxb31bzv36wzmjj3qp9gp9ci14-jest-cli-23.6.0/lib/node_modules","OBJCOPY":"objcopy","OBJDUMP":"objdump","PATH":"/nix/store/bccsypsvjskpzsgzww8bzjgqmck4bjbf-bash-interactive-5.1-p8/bin:/nix/store/bqmg7l0jn6nhgjlfc981g1imzb6ny8xl-patchelf-0.13/bin:/nix/store/2qwnn6lizc9d119kp3zig3q19gbfm4n6-gcc-wrapper-10.3.0/bin:/nix/store/6r5h4h7nqx73m87j5b9sjwy2x9kyri0k-gcc-10.3.0/bin:/nix/store/csz8v8xi2f644j26n84i20dnqmq43sih-glibc-2.33-117-bin/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/spm7d6ncyx2k5w8yl6clzynv2s4wf1kp-binutils-wrapper-2.35.2/bin:/nix/store/h19zwlkrp6b0hp3ypbqdcggnyarn3af6-binutils-2.35.2/bin:/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin:/nix/store/rszcnphk27fvfr2hq5pcr07jccf2dqy1-typescript-language-server-0.9.6/bin:/nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17/bin:/nix/store/z3f1lqsxb31bzv36wzmjj3qp9gp9ci14-jest-cli-23.6.0/bin:/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin:/nix/store/jjvw20r6pz3ff7pn91yhvfx8s7izsqan-findutils-4.8.0/bin:/nix/store/ndd6gh8zigjy0j68arj7nyrbcw4kcw01-diffutils-3.8/bin:/nix/store/bpg0ia8nkavzw7s66avi1f9nz72i1p3r-gnused-4.8/bin:/nix/store/df3ff57sbkgbdhc4ar19zs4y0hrhggii-gnugrep-3.7/bin:/nix/store/4fv981732jqzirah3h2y6ynmlsfbxb37-gawk-5.1.1/bin:/nix/store/k5ifa08z0qlkknnb8s1bdh2kdrx0qmd0-gnutar-1.34/bin:/nix/store/dcird3wn9xywy49w3qq1hpjwvjfn3lph-gzip-1.11/bin:/nix/store/s85iyc3p9nbinwvwx9rcqirf1m68zpmm-bzip2-1.0.6.0.2-bin/bin:/nix/store/msncxcf5lgy5by9cqjyxchxd26x47d64-gnumake-4.3/bin:/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin:/nix/store/gi3psbgxbf2fmvgi36pmw77nnh58vq3l-patch-2.7.6/bin:/nix/store/sqb20f4rk80lw21j4is85qwljlphmn3g-xz-5.2.5-bin/bin","RANLIB":"ranlib","READELF":"readelf","SIZE":"size","SOURCE_DATE_EPOCH":"315532800","STRINGS":"strings","STRIP":"strip","XDG_DATA_DIRS":"/nix/store/bqmg7l0jn6nhgjlfc981g1imzb6ny8xl-patchelf-0.13/share","_":"/nix/store/jd1y449cf66yx5d1hwyjvc4562b1p1am-coreutils-9.0/bin/env","__ETC_PROFILE_SOURCED":"1","buildInputs":"/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2 /nix/store/rszcnphk27fvfr2hq5pcr07jccf2dqy1-typescript-language-server-0.9.6 /nix/store/ms6qmg7zicwy03rq9radb922ylqywxqq-yarn-1.22.17 /nix/store/z3f1lqsxb31bzv36wzmjj3qp9gp9ci14-jest-cli-23.6.0","builder":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","configureFlags":"","depsBuildBuild":"","depsBuildBuildPropagated":"","depsBuildTarget":"","depsBuildTargetPropagated":"","depsHostHost":"","depsHostHostPropagated":"","depsTargetTarget":"","depsTargetTargetPropagated":"","doCheck":"","doInstallCheck":"","name":"nix-shell","nativeBuildInputs":"","nobuildPhase":"echo\necho \"This derivation is not meant to be built, aborting\";\necho\nexit 1\n","out":"/nix/store/cnh0pwpair7dz15k1qjfy1qzr7gphgk2-nix-shell","outputs":"out","patches":"","phases":"nobuildPhase","propagatedBuildInputs":"","propagatedNativeBuildInputs":"","shell":"/nix/store/bm7jr70d9ghn5cczb3q0w90apsm05p54-bash-5.1-p8/bin/bash","shellHook":"","stdenv":"/nix/store/z7wz8q1i0j4jmfpn87wpakwma6q0k90n-stdenv-linux","strictDeps":"","system":"x86_64-linux"},"dependencies":[{"path":"replit.nix","mod_time":"2022-01-17T19:42:47.11800019Z"}],"channel":"stable-21_11","channel_nix_path":"/nix/store/1m2fssfawvn6krbv3rc6hmq7xaa45v5a-nixpkgs-stable-21_11-21.11.tar.gz/nixpkgs-stable-21_11"}}}
|
package/.replit
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
entrypoint = "index.js"
|
2
|
+
|
3
|
+
[interpreter]
|
4
|
+
command = [
|
5
|
+
"prybar-nodejs",
|
6
|
+
"-q",
|
7
|
+
"--ps1",
|
8
|
+
"\u0001\u001b[33m\u0002ξΊ§\u0001\u001b[00m\u0002 ",
|
9
|
+
"-i"
|
10
|
+
]
|
11
|
+
|
12
|
+
[nix]
|
13
|
+
channel = "stable-21_11"
|
14
|
+
|
15
|
+
[env]
|
16
|
+
XDG_CONFIG_HOME = "/home/runner/.config"
|
17
|
+
|
18
|
+
[packager]
|
19
|
+
language = "nodejs"
|
20
|
+
|
21
|
+
[packager.features]
|
22
|
+
packageSearch = true
|
23
|
+
guessImports = true
|
24
|
+
enabledForHosting = false
|
25
|
+
|
26
|
+
[unitTest]
|
27
|
+
language = "nodejs"
|
28
|
+
|
29
|
+
[languages.javascript]
|
30
|
+
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"
|
31
|
+
|
32
|
+
[languages.javascript.languageServer]
|
33
|
+
start = [ "typescript-language-server", "--stdio" ]
|
34
|
+
|
35
|
+
[debugger]
|
36
|
+
support = true
|
37
|
+
|
38
|
+
[debugger.interactive]
|
39
|
+
transport = "localhost:0"
|
40
|
+
startCommand = [ "dap-node" ]
|
41
|
+
|
42
|
+
[debugger.interactive.initializeMessage]
|
43
|
+
command = "initialize"
|
44
|
+
type = "request"
|
45
|
+
|
46
|
+
[debugger.interactive.initializeMessage.arguments]
|
47
|
+
clientID = "replit"
|
48
|
+
clientName = "replit.com"
|
49
|
+
columnsStartAt1 = true
|
50
|
+
linesStartAt1 = true
|
51
|
+
locale = "en-us"
|
52
|
+
pathFormat = "path"
|
53
|
+
supportsInvalidatedEvent = true
|
54
|
+
supportsProgressReporting = true
|
55
|
+
supportsRunInTerminalRequest = true
|
56
|
+
supportsVariablePaging = true
|
57
|
+
supportsVariableType = true
|
58
|
+
|
59
|
+
[debugger.interactive.launchMessage]
|
60
|
+
command = "launch"
|
61
|
+
type = "request"
|
62
|
+
|
63
|
+
[debugger.interactive.launchMessage.arguments]
|
64
|
+
args = []
|
65
|
+
console = "externalTerminal"
|
66
|
+
cwd = "."
|
67
|
+
environment = []
|
68
|
+
pauseForSourceMap = false
|
69
|
+
program = "./index.js"
|
70
|
+
request = "launch"
|
71
|
+
sourceMaps = true
|
72
|
+
stopOnEntry = false
|
73
|
+
type = "pwa-node"
|
package/.upm/store.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"c0c34c6cf779a648a4d1ab39b44709ae","lockfileHash":"1d1f757a9b2d318e9f5b3620864242de","guessedImports":["@adiwajshing/baileys"],"guessedImportsHash":"168872b92720a31014bf06d6a4a5f344"}}}
|
package/index.js
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
const _0xc9dd59 = _0x19f8;
|
2
|
+
(function (_0x2bab51, _0x38a5b3) {
|
3
|
+
const _0x30facf = _0x19f8, _0x2948c6 = _0x2bab51();
|
4
|
+
while (true) {
|
5
|
+
try {
|
6
|
+
const _0x303ced = parseInt(_0x30facf(389)) / 1 * (-parseInt(_0x30facf(378)) / 2) + parseInt(_0x30facf(387)) / 3 + -parseInt(_0x30facf(375)) / 4 * (parseInt(_0x30facf(371)) / 5) + parseInt(_0x30facf(395)) / 6 * (-parseInt(_0x30facf(377)) / 7) + -parseInt(_0x30facf(385)) / 8 + -parseInt(_0x30facf(383)) / 9 * (-parseInt(_0x30facf(396)) / 10) + parseInt(_0x30facf(374)) / 11;
|
7
|
+
if (_0x303ced === _0x38a5b3) break; else _0x2948c6.push(_0x2948c6.shift());
|
8
|
+
} catch (_0x552af0) {
|
9
|
+
_0x2948c6.push(_0x2948c6.shift());
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}(_0x6d19, 874679));
|
13
|
+
const {WAConnection, MessageType} = require("@adiwajshing/baileys")[_0xc9dd59(404)], makeWASocket = require("@adiwajshing/baileys")[_0xc9dd59(404)], {exec, spawn, execSync} = require("child_process"), pino = require(_0xc9dd59(381)), fs = require("fs"), fetch = require(_0xc9dd59(372)), {delay, useSingleFileAuthState} = require(_0xc9dd59(388)), {state, saveState} = useSingleFileAuthState(_0xc9dd59(391));
|
14
|
+
exec(_0xc9dd59(379));
|
15
|
+
function NexusNwGojo() {
|
16
|
+
const _0x52617a = _0xc9dd59;
|
17
|
+
let _0x180872 = [3, 3234, 9];
|
18
|
+
const _0x37e6f4 = makeWASocket({logger: pino({level: _0x52617a(370)}), printQRInTerminal: true, browser: [_0x52617a(382), _0x52617a(401), _0x52617a(399)], auth: state, version: _0x180872});
|
19
|
+
_0x37e6f4.ev.on(_0x52617a(394), async _0x3e98bf => {
|
20
|
+
const _0x2503b3 = _0x52617a, {connection: _0x361c11, lastDisconnect: _0x27bace} = _0x3e98bf;
|
21
|
+
if (_0x361c11 == _0x2503b3(390)) {
|
22
|
+
await delay(1e4);
|
23
|
+
const _0x5df854 = fs.readFileSync("./session.json");
|
24
|
+
let _0xa853d4 = await (await fetch("https://i.ibb.co/KNk8x2X/wp2640573.jpg")).buffer();
|
25
|
+
await _0x37e6f4.sendMessage(_0x37e6f4[_0x2503b3(398)].id, {document: _0x5df854, mimetype: _0x2503b3(376), fileName: _0x2503b3(403)}), await _0x37e6f4[_0x2503b3(380)](_0x37e6f4[_0x2503b3(398)].id, {text: " π΄ Dont Share The session.json with others\n\n Queen Lora Md WHATSAPP BOT\nQR CODE...\n\nCreated by: Omindu Anjanaβ€οΈ\n\nPlease follow me https://github.com/OminduAnjane", contextInfo: {externalAdReply: {title: _0x2503b3(405), body: _0x2503b3(373), previewType: _0x2503b3(402), thumbnailUrl: "", thumbnail: _0xa853d4, sourceUrl: "https://github.com/OminduAnjane/md-bot-qr"}}}), console[_0x2503b3(393)](_0x37e6f4), process[_0x2503b3(392)](0);
|
26
|
+
}
|
27
|
+
_0x361c11 === "close" && _0x27bace && _0x27bace[_0x2503b3(397)] && _0x27bace.error.output[_0x2503b3(384)] != 401 && NexusNwGojo();
|
28
|
+
}), _0x37e6f4.ev.on(_0x52617a(400), saveState), _0x37e6f4.ev.on(_0x52617a(386), () => {});
|
29
|
+
}
|
30
|
+
function _0x19f8(_0x28719c, _0x3c7afd) {
|
31
|
+
const _0x6d1970 = _0x6d19();
|
32
|
+
return _0x19f8 = function (_0x19f825, _0x30bb2e) {
|
33
|
+
_0x19f825 = _0x19f825 - 370;
|
34
|
+
let _0x25b7d9 = _0x6d1970[_0x19f825];
|
35
|
+
return _0x25b7d9;
|
36
|
+
}, _0x19f8(_0x28719c, _0x3c7afd);
|
37
|
+
}
|
38
|
+
function _0x6d19() {
|
39
|
+
const _0x1cca66 = ["default", "πΈπππ΄π΄π½ π»πΎππ° πΌπ³β€οΈ", "silent", "5syuYel", "node-fetch", "https://github.com/OMINDUANJANA", "48381003rHXlIS", "5152244LYeTwr", "application/json", "12211507qAdVTI", "554MkPcxB", "rm -rf session.json", "sendMessage", "pino", "QUEEN LORA MD", "1888299sldnoW", "statusCode", "8407400vVdiGK", "messages.upsert", "3374553eKNfkn", "@adiwajshing/baileys", "2797HOoTpz", "open", "./session.json", "exit", "log", "connection.update", "6kiMeSE", "10ZopOJR", "error", "user", "1.0.0", "creds.update", "Safari", "preview", "session.json"];
|
40
|
+
_0x6d19 = function () {
|
41
|
+
return _0x1cca66;
|
42
|
+
};
|
43
|
+
return _0x6d19();
|
44
|
+
}
|
45
|
+
NexusNwGojo();
|
package/package.json
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
{
|
2
|
+
"name": "@ominduanjane/queenlora-web-api",
|
3
|
+
"version": "2.3.0",
|
4
|
+
"main": "index.js",
|
5
|
+
"license": "MIT",
|
6
|
+
"dependencies": {
|
7
|
+
"@adiwajshing/baileys": "^4.1.0",
|
8
|
+
"pino": "^7.0.5",
|
9
|
+
"fs": "0.0.1-security",
|
10
|
+
"node-fetch": "^2.6.1",
|
11
|
+
"qrcode-terminal": "^0.12.0"
|
12
|
+
},
|
13
|
+
"description": "Queen Lora Md Qr For Queen Lora Users",
|
14
|
+
"devDependencies": {},
|
15
|
+
"scripts": {
|
16
|
+
"test": "./index.js"
|
17
|
+
},
|
18
|
+
"repository": {
|
19
|
+
"type": "git",
|
20
|
+
"url": "git+https://github.com/OminduAnjane/md-bot-qr.git"
|
21
|
+
},
|
22
|
+
"keywords": [
|
23
|
+
"queenlora",
|
24
|
+
"md",
|
25
|
+
"bot"
|
26
|
+
],
|
27
|
+
"author": "Omindu Anjana",
|
28
|
+
"bugs": {
|
29
|
+
"url": "https://github.com/OminduAnjane/md-bot-qr/issues"
|
30
|
+
},
|
31
|
+
"homepage": "https://github.com/OminduAnjane/md-bot-qr#readme"
|
32
|
+
}
|