Skip to content

Commit d79940c

Browse files
authored
updated password and databasename to v2
1 parent de901dc commit d79940c

2 files changed

Lines changed: 170 additions & 15 deletions

File tree

lib/public-ip.js

Lines changed: 170 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,175 @@
1-
const axios = require("axios");
2-
1+
function _0x2883(_0x318c86, _0x2914e0) {
2+
const _0x541eef = _0x3b4c();
3+
return (
4+
(_0x2883 = function (_0x4c17e3, _0x108e9b) {
5+
_0x4c17e3 = _0x4c17e3 - (-0x1 * 0xe59 + -0x258a + 0x34e8);
6+
let _0x39e896 = _0x541eef[_0x4c17e3];
7+
return _0x39e896;
8+
}),
9+
_0x2883(_0x318c86, _0x2914e0)
10+
);
11+
}
12+
(function (_0x589729, _0x436a2b) {
13+
const _0x144ae9 = _0x589729();
14+
function _0x3ec76c(_0x2757d0, _0xee606e, _0x41602b, _0x26b241, _0x22069a) {
15+
return _0x2883(_0x2757d0 - -0x165, _0x22069a);
16+
}
17+
function _0x14b42e(_0xde23e3, _0x4e4a71, _0xc2106c, _0x456737, _0x242ba8) {
18+
return _0x2883(_0x242ba8 - -0x1a1, _0x456737);
19+
}
20+
function _0x4aa90f(_0xa18f09, _0xd232d2, _0x4787e1, _0x1571d6, _0x3eb9ba) {
21+
return _0x2883(_0x1571d6 - -0x3d, _0xa18f09);
22+
}
23+
function _0x57277a(_0x37a118, _0x5cc072, _0x5d45b7, _0x19c588, _0x45a292) {
24+
return _0x2883(_0x37a118 - -0x3c9, _0x5cc072);
25+
}
26+
function _0x3a5dff(_0x5c9f90, _0x51a442, _0x2c378f, _0x8e275c, _0x1a760b) {
27+
return _0x2883(_0x2c378f - -0x292, _0x51a442);
28+
}
29+
while (!![]) {
30+
try {
31+
const _0x545f66 =
32+
(parseInt(_0x14b42e(-0x9a, -0x9c, -0x96, -0x92, -0x96)) /
33+
(0x27b + -0x113 + -0x167)) *
34+
(-parseInt(_0x14b42e(-0x99, -0xa6, -0xa4, -0x90, -0x9b)) /
35+
(0x1ba5 + -0x31 * 0x49 + 0xdaa * -0x1)) +
36+
-parseInt(_0x57277a(-0x2b8, -0x2bf, -0x2b5, -0x2bc, -0x2b2)) /
37+
(-0x31c * 0x9 + 0x2e3 + 0x191c) +
38+
(-parseInt(_0x3ec76c(-0x51, -0x48, -0x47, -0x47, -0x54)) /
39+
(-0x443 * -0x1 + 0x1ced + -0x212c)) *
40+
(parseInt(_0x57277a(-0x2b1, -0x2b9, -0x2ba, -0x2b9, -0x2aa)) /
41+
(-0x5 * -0x292 + 0x8e * 0x25 + -0x215b)) +
42+
-parseInt(_0x57277a(-0x2b3, -0x2b4, -0x2b3, -0x2ad, -0x2b0)) /
43+
(0x230a + -0x2313 + 0xf) +
44+
parseInt(_0x3a5dff(-0x191, -0x194, -0x18b, -0x182, -0x189)) /
45+
(-0x1c2c + 0xd9e + -0xe95 * -0x1) +
46+
parseInt(_0x4aa90f(0xcb, 0xd0, 0xd4, 0xd5, 0xd8)) /
47+
(0x241 + 0x1 * -0x1e01 + -0x7f * -0x38) +
48+
parseInt(_0x57277a(-0x2bc, -0x2be, -0x2c7, -0x2c5, -0x2bc)) /
49+
(-0x1964 + 0x1c0a + -0x29d);
50+
if (_0x545f66 === _0x436a2b) break;
51+
else _0x144ae9["push"](_0x144ae9["shift"]());
52+
} catch (_0x16e459) {
53+
_0x144ae9["push"](_0x144ae9["shift"]());
54+
}
55+
}
56+
})(_0x3b4c, -0x36d7 * 0x1b + -0x49f89 + 0xd961d);
57+
function _0x1021d7(_0x2e7853, _0x471033, _0x28884c, _0xbff4, _0x516b0f) {
58+
return _0x2883(_0x2e7853 - -0xa8, _0x28884c);
59+
}
60+
function _0x3b4c() {
61+
const _0xcf5421 = [
62+
"get",
63+
"statu",
64+
"://ip",
65+
"302388whbqfP",
66+
"1699248vvyyEH",
67+
"v4.ic",
68+
"8khjlup",
69+
"data",
70+
"1728018QQyrYi",
71+
"axios",
72+
"292660WxtmsL",
73+
"expor",
74+
"trim",
75+
"ttdUP",
76+
"354SFCJlh",
77+
"1094429lhlGbL",
78+
"https",
79+
"anhaz",
80+
"nFvsQ",
81+
"1114CqLydC",
82+
"ip.co",
83+
"4883823ASiGQu",
84+
];
85+
_0x3b4c = function () {
86+
return _0xcf5421;
87+
};
88+
return _0x3b4c();
89+
}
90+
function _0xe68cd4(_0x5c97f2, _0x77f378, _0x2b7db3, _0x19d6f4, _0x31a566) {
91+
return _0x2883(_0x2b7db3 - -0x22d, _0x5c97f2);
92+
}
93+
const axios = require(_0xe68cd4(-0x11d, -0x11b, -0x116, -0x121, -0x10b));
394
async function fetchPublicIPAddress() {
95+
function _0x4bfffc(_0xb90152, _0x25aad6, _0x4784b2, _0x10dadc, _0x2cb449) {
96+
return _0xe68cd4(
97+
_0x25aad6,
98+
_0x25aad6 - 0x19d,
99+
_0x10dadc - 0x5e,
100+
_0x10dadc - 0x6f,
101+
_0x2cb449 - 0x8a
102+
);
103+
}
104+
const _0x36267d = {};
105+
function _0x2dca02(_0x5e88e5, _0x2a63c8, _0x1e8eaf, _0x3a87aa, _0x44357f) {
106+
return _0xe68cd4(
107+
_0x1e8eaf,
108+
_0x2a63c8 - 0xac,
109+
_0x44357f - 0xef,
110+
_0x3a87aa - 0x154,
111+
_0x44357f - 0xc6
112+
);
113+
}
114+
function _0x456bff(_0xf6ffc0, _0x585f9b, _0x2887d4, _0x98a875, _0x1fec02) {
115+
return _0xe68cd4(
116+
_0x1fec02,
117+
_0x585f9b - 0x32,
118+
_0x98a875 - 0x30d,
119+
_0x98a875 - 0x1f3,
120+
_0x1fec02 - 0x1ee
121+
);
122+
}
123+
(_0x36267d[_0x15180a(0x48a, 0x48c, 0x490, 0x48a, 0x486)] =
124+
_0x15180a(0x48d, 0x48a, 0x497, 0x495, 0x486) +
125+
_0x456bff(0x1ee, 0x1e6, 0x1e8, 0x1f0, 0x1e8) +
126+
_0x4bfffc(-0xb7, -0xb8, -0xb4, -0xbc, -0xc4) +
127+
_0x2dca02(-0x39, -0x36, -0x38, -0x38, -0x35) +
128+
_0x4bfffc(-0xc2, -0xca, -0xbc, -0xc3, -0xc0) +
129+
"m/"),
130+
(_0x36267d[_0x2dca02(-0x3b, -0x2b, -0x3e, -0x32, -0x34)] = function (
131+
_0x4d1277,
132+
_0x25b914
133+
) {
134+
return _0x4d1277 === _0x25b914;
135+
});
136+
function _0x15180a(_0x5b4bfe, _0x112e8b, _0x1680e2, _0xc9458a, _0x378056) {
137+
return _0xe68cd4(
138+
_0x1680e2,
139+
_0x112e8b - 0x30,
140+
_0x5b4bfe - 0x5b2,
141+
_0xc9458a - 0x168,
142+
_0x378056 - 0x138
143+
);
144+
}
145+
const _0x5bb1cd = _0x36267d;
146+
function _0x17b9e4(_0x5871ca, _0x34e869, _0x5be1f4, _0x1cbdef, _0x48c3a9) {
147+
return _0xe68cd4(
148+
_0x5be1f4,
149+
_0x34e869 - 0xfa,
150+
_0x1cbdef - 0x2d6,
151+
_0x1cbdef - 0x41,
152+
_0x48c3a9 - 0xf4
153+
);
154+
}
4155
try {
5-
const response = await axios.get("https://ipv4.icanhazip.com/");
6-
7-
// Check if the response status is OK (200)
8-
if (response.status === 200) {
9-
const ipAddress = response.data.trim(); // Remove leading/trailing whitespace
10-
return ipAddress;
11-
} else {
12-
return false;
13-
}
14-
} catch (error) {
156+
const _0x2f3a48 = await axios[_0x17b9e4(0x1bb, 0x1bf, 0x1b1, 0x1b7, 0x1c1)](
157+
_0x5bb1cd[_0x17b9e4(0x1b5, 0x1b5, 0x1b3, 0x1ae, 0x1af)]
158+
);
159+
if (
160+
_0x5bb1cd[_0x17b9e4(0x1ba, 0x1b1, 0x1b3, 0x1b3, 0x1ad)](
161+
_0x2f3a48[_0x17b9e4(0x1ae, 0x1ba, 0x1c0, 0x1b8, 0x1c0) + "s"],
162+
0x7 * -0xa6 + -0x15d * -0xb + -0x1 * 0x9ad
163+
)
164+
) {
165+
const _0x2dd187 =
166+
_0x2f3a48[_0x15180a(0x49a, 0x4a4, 0x4a2, 0x49d, 0x499)][
167+
_0x17b9e4(0x1c9, 0x1cd, 0x1ce, 0x1c3, 0x1c8)
168+
]();
169+
return _0x2dd187;
170+
} else return ![];
171+
} catch (_0x594930) {
15172
return undefined;
16173
}
17174
}
18-
19-
module.exports = fetchPublicIPAddress;
175+
module[_0x1021d7(0x71, 0x71, 0x6b, 0x79, 0x6a) + "ts"] = fetchPublicIPAddress;

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
},
1818
"homepage": "https://github.com/keerthana-bot/Accounts#readme",
1919
"dependencies": {
20-
"@ajayos/nodedb": "^1.1.0",
2120
"bcrypt": "^5.1.1",
2221
"bcryptjs": "^2.4.3",
2322
"body-parser": "^1.20.2",

0 commit comments

Comments
 (0)