Unsafe Delegatecall (part 2) | Hack Solidity (0.6)

  Рет қаралды 7,761

Smart Contract Programmer

Smart Contract Programmer

Күн бұрын

Пікірлер: 29
@smartcontractprogrammer
@smartcontractprogrammer 4 жыл бұрын
Vulnerability 0:13 Contract vulnerable to unsafe delegatecall 0:50 Challenge 2:30 Code for the exploit 5:03 Demo 12:13
@adiadiadi131
@adiadiadi131 3 жыл бұрын
Wow, I had to rewind and watch 9:17 3 times to digest it. Great and informative
@smartcontractprogrammer
@smartcontractprogrammer 3 жыл бұрын
Play around on Remix to fully grasp how the hack works
@eeeeeeeeebatitupalkata6011
@eeeeeeeeebatitupalkata6011 11 ай бұрын
@@smartcontractprogrammer i managed to do it on my own in 15 minutes, is that a good sign bro?
@eeeeeeeeebatitupalkata6011
@eeeeeeeeebatitupalkata6011 11 ай бұрын
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_
@KingOfNeptune_ 3 жыл бұрын
You're one SNEAKY man, that code was some next level thing.
@Randomness-rl8lv
@Randomness-rl8lv 4 жыл бұрын
Everything is perfectly explained!! We need more of these video's please!!
@zes7215
@zes7215 3 жыл бұрын
no such thing as clevx or px or etc or not, cepuxyuax ,think, say any nmw s perfx
@bautistabaiocchi-lora1339
@bautistabaiocchi-lora1339 2 жыл бұрын
this content is unmatched.
@Ts2pc
@Ts2pc 2 жыл бұрын
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 ?
@salem232
@salem232 4 жыл бұрын
❤️ these two videos are awesome !!! Thanks so much !!!
@junghyunchoi4265
@junghyunchoi4265 2 жыл бұрын
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
@SkemilArchive
@SkemilArchive 2 жыл бұрын
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?
@Ts2pc
@Ts2pc 2 жыл бұрын
At 9:34, line59, can we code: owner=address(this) instead of owner = msg.sender ?
@breakinggood-r2v
@breakinggood-r2v Жыл бұрын
yes but in this series he said no to use becz of selfdestruct()
@sdfsfsfd437
@sdfsfsfd437 4 жыл бұрын
many thanks for all your videos, muchas gracias.
@janinduabeywickrama2820
@janinduabeywickrama2820 Жыл бұрын
Brother how can we mitigate this problem ? i mean can we use proxy contract for mitigate this?
@smartcontractprogrammer
@smartcontractprogrammer Жыл бұрын
no, only defense is to review code before calling
@INDIADAINDIAN
@INDIADAINDIAN 2 жыл бұрын
Hey brother can you help me my account hacked by some one he deployed auto transfer bot
@RobloxGamer-g9n
@RobloxGamer-g9n 4 жыл бұрын
WoW!!! Thanks for this great tutorial
@mo_i_nas
@mo_i_nas 3 жыл бұрын
Is this still the case with new Solidity versions? like 0.8.x ? I'm no genius, but this seems like bad design
@smartcontractprogrammer
@smartcontractprogrammer 3 жыл бұрын
yes
@BarziniNwa
@BarziniNwa 2 жыл бұрын
simple and easy, thank you.
@from2ureview251
@from2ureview251 3 жыл бұрын
❤️
@terrywindwalker5397
@terrywindwalker5397 2 жыл бұрын
In case 0.8+ is used, would this still work for changing the contract owner? I think they have a built-in ownerOnly modifier.
@mukeshjaiswal3106
@mukeshjaiswal3106 3 жыл бұрын
great video
@Kenpachi96
@Kenpachi96 4 жыл бұрын
Sorry about that
@smartcontractprogrammer
@smartcontractprogrammer 4 жыл бұрын
Sorry I don't understand your question:(
Accessing Private Data | Hack Solidity (0.6)
17:13
Smart Contract Programmer
Рет қаралды 20 М.
Denial of Service | Hack Solidity (0.6)
10:59
Smart Contract Programmer
Рет қаралды 9 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Insecure Source of Randomness | Hack Solidity (0.6)
8:34
Smart Contract Programmer
Рет қаралды 7 М.
Honeypot | Hack Solidity (0.6)
8:46
Smart Contract Programmer
Рет қаралды 18 М.
Phishing with tx.origin | Hack Solidity (0.6)
7:22
Smart Contract Programmer
Рет қаралды 9 М.
Arithmetic Overflow and Underflow | Hack Solidity (0.6)
11:38
Smart Contract Programmer
Рет қаралды 15 М.
Read Only Reentrancy | Hack Solidity (0.8)
19:55
Smart Contract Programmer
Рет қаралды 12 М.
Finding Bugs with Echidna
9:40
Smart Contract Programmer
Рет қаралды 12 М.
Learn Solidity (0.5) - Call
10:24
Smart Contract Programmer
Рет қаралды 7 М.
Forcefully Send Ether with selfdestruct | Hack Solidity (0.6)
8:02
Smart Contract Programmer
Рет қаралды 17 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН