Vulnerability 0:13 Contract vulnerable to unsafe delegatecall 0:50 Challenge 2:30 Code for the exploit 5:03 Demo 12:13
@adiadiadi1313 жыл бұрын
Wow, I had to rewind and watch 9:17 3 times to digest it. Great and informative
@smartcontractprogrammer3 жыл бұрын
Play around on Remix to fully grasp how the hack works
@eeeeeeeeebatitupalkata601111 ай бұрын
@@smartcontractprogrammer i managed to do it on my own in 15 minutes, is that a good sign bro?
@eeeeeeeeebatitupalkata601111 ай бұрын
i only didnt come up with the msg.sender instead of address(this) for the address owner change, I used a hardcoded address@@smartcontractprogrammer
@KingOfNeptune_3 жыл бұрын
You're one SNEAKY man, that code was some next level thing.
@Randomness-rl8lv4 жыл бұрын
Everything is perfectly explained!! We need more of these video's please!!
@zes72153 жыл бұрын
no such thing as clevx or px or etc or not, cepuxyuax ,think, say any nmw s perfx
@bautistabaiocchi-lora13392 жыл бұрын
this content is unmatched.
@Ts2pc2 жыл бұрын
At 7:29 of the video, Why do you use the different ways( line31-36 vs. line 45-52) to call another function of contract ?
@salem2324 жыл бұрын
❤️ these two videos are awesome !!! Thanks so much !!!
@junghyunchoi42652 жыл бұрын
Is there a way to set msg.sender as the deployer of Attack contract? So the owner stores address of the deployer of Attack not, the address of Attack
@SkemilArchive2 жыл бұрын
How come we can paste an address in uint with *uint(uint160(address(this))))* ? I don't understand this process, Is the address getting formatted into something else?
@Ts2pc2 жыл бұрын
At 9:34, line59, can we code: owner=address(this) instead of owner = msg.sender ?
@breakinggood-r2v Жыл бұрын
yes but in this series he said no to use becz of selfdestruct()
@sdfsfsfd4374 жыл бұрын
many thanks for all your videos, muchas gracias.
@janinduabeywickrama2820 Жыл бұрын
Brother how can we mitigate this problem ? i mean can we use proxy contract for mitigate this?
@smartcontractprogrammer Жыл бұрын
no, only defense is to review code before calling
@INDIADAINDIAN2 жыл бұрын
Hey brother can you help me my account hacked by some one he deployed auto transfer bot
@RobloxGamer-g9n4 жыл бұрын
WoW!!! Thanks for this great tutorial
@mo_i_nas3 жыл бұрын
Is this still the case with new Solidity versions? like 0.8.x ? I'm no genius, but this seems like bad design
@smartcontractprogrammer3 жыл бұрын
yes
@BarziniNwa2 жыл бұрын
simple and easy, thank you.
@from2ureview2513 жыл бұрын
❤️
@terrywindwalker53972 жыл бұрын
In case 0.8+ is used, would this still work for changing the contract owner? I think they have a built-in ownerOnly modifier.