[HELP] ABI-Smuggling #100
Unanswered
sunghwank266
asked this question in
Help / Q&A / Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I am a beginner about solidity.
I have been attempting to solve the ABI Smuggling challenge but have not been successful, so I am seeking assistance. Below is the code I have written.
My approach works correctly if I comment out the permission check in the execute function within the AuthorizedExecutor.sol file. However, since the permission check is in place, my method fails.
If anyone has successfully solved this challenge, I would appreciate it if you could share your code along with an explanation.
MyCode is below
function test_abiSmuggling() public checkSolvedByPlayer {
bytes memory actionData = abi.encodeWithSelector(
hex"85fb709d", // sweepFunds(address,address)
recovery,
address(token)
);
vault.execute(address(vault), actionData);
}
Beta Was this translation helpful? Give feedback.
All reactions