There is a deployed contract which is not verified.
How 1 eth got withdrawed from the contract without any permission??

Aug 24, 2023, 7:01 AM
Why do you need to verify to withdraw?
Aug 24, 2023, 7:01 AM
so how you can call withdraw without knowing abi or verified code?
First 0x00000000 method id get done(which i don’t know what is exactly) and after that, withdraw of WETH happended
Aug 24, 2023, 7:03 AM
Who deployed the contract?
Aug 24, 2023, 7:03 AM
One of my friends
Aug 24, 2023, 7:04 AM
Then it had access control error and someone decompiled and withdrew those ethers
Aug 24, 2023, 7:06 AM
All the write functions in the contract, has onlyOwner modifier. How is that possible??
And also, what is method id: 0x00000000 ??
Aug 24, 2023, 7:13 AM
Share the source
Aug 24, 2023, 7:20 AM
I don’t have it. it’s private source.
But i know it has some assembly level source in it
Also works with weth
Aug 24, 2023, 7:24 AM
we can't help without the source
Aug 24, 2023, 7:27 AM
He just invoked the fallback function(0x000.. its function signature. Which doesn't exist in the contracts functions .. so the fallback will be triggered).. and executed what ever the code in it which allows him to withdraw
Aug 24, 2023, 10:29 AM
without checking the original code it's quite hard to understand
Aug 24, 2023, 10:03 PM

© 2024 Draquery.com All rights reserved.