1000000 n2cceZi8jjMxTtmP7oVzX2ADt4jL6qcdhQbut it's not a right one
179362 mygH814iJuKrg7tCY2fspCCpxtU3jrzDsd. Seemly, this account has a balance. Let's check them out on blockchain explorer. https://www.blockchain.com/btctest/address/mygH814iJuKrg7tCY2fspCCpxtU3jrzDsd
dex2jarto decompress the file to java file, then drag them onto the
jdguito have a pretty human-reading format.
regexto find the victim address
adb logcat | grep "asdf"
selfdestructwe have to become an owner
delegatecallis calling to an arbitrary number/address ??!!
“Delegatecall is identical to a message call apart from the fact that the code at the target address is executed in the context of the calling contract and
msg.valuedo not change their values.This means that a contract can dynamically load code from a different address at runtime. Storage, current address and balance still refer to the calling contract, only the code is taken from the called address.”
delegatecall. I created an attack smart contract
delegatecallwill call our smart contract with an arbitrary function which also means it will trigger the fallback function. Bravo! we soon will become the owner of Jackpot smart contract.
destroyme()function (I had to increase gas limit to 300000).
E: y^2 = x^3 + ax + b
P = rA P' = aR R = rG => P' = a(rG)
E′: y^2 ≡ x^3 + A*x + B' (mod P) B' ≠ B
B' = (Y^2 - X^3 - A*X) mod p
B' = [214056964304889, 221864837895040, 227922420544393, 241972569596889, 8356763387106, 28159690006704, 9516820837131, 165209032884639, 168449704989074, 60673558959867, 101581735758527, 159237028241252, 40242026678833, 103670189236856, 262646877055792, 240332779594647, 239871262924756, 193672526341504, 269060903799201, 187321463214601, 185801876971391, 256736902157449]
a = k ≡ X (mod r)
K mod order(G`) = discrete_log(G1`)