Skip to content

Commit

Permalink
Merge pull request #719 from OpenZeppelin/ETHSamba-2024/master
Browse files Browse the repository at this point in the history
Higher Order Level
  • Loading branch information
xaler5 authored Apr 11, 2024
2 parents 2c09e6c + 472bc14 commit cd3610a
Show file tree
Hide file tree
Showing 77 changed files with 449 additions and 15,301 deletions.
2 changes: 2 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@sentry/react": "^7.0.0",
"@sentry/tracing": "^7.108.0",
"@truffle/contract": "^4.3.15",
"@truffle/hdwallet-provider": "^2.1.15",
"alchemy-sdk": "^2.2.3",
"axios": "^1.2.4",
"bad-words": "^3.0.4",
Expand All @@ -18,6 +19,7 @@
"history": "^5.3.0",
"html-react-parser": "^3.0.1",
"moment": "^2.29.2",
"prompt": "^1.3.0",
"rainbow-color": "^2.0.0",
"react": "18.2.0",
"react-dom": "^18.2.0",
Expand Down
63 changes: 63 additions & 0 deletions client/public/imgs/BigLevel30.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions client/public/imgs/Level30.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 25 additions & 1 deletion client/src/gamedata/authors.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,30 @@
"websites": [
"https://www.linkedin.com/in/kstasi/"
]
},
"0xneves&gabrielsdev&R4wd0G&luizfolly&fefeupz": {
"name": [
"Guilherme Neves",
"Gabriel Silva",
"R4wd0G",
"Luiz Folly",
"Rodrigo Feital"
],
"emails": [
"guihcneves@gmail.com",
"gabrielfcomp@gmail.com",
"wpa.sys@hotmail.com",
"luizfolly@gmail.com",
"rodrigo.feital@hotmail.com"
],
"websites": [
"https://github.com/0xneves",
"https://github.com/gabrielsdev",
"https://github.com/r4wd0g",
"https://github.com/luizfolly",
"https://github.com/fefeupz"
],
"donate": "0x00000000000d86e4837ba41dacde4b8713d5ccac"
}
}
}
}
1 change: 1 addition & 0 deletions client/src/gamedata/deploy.holesky.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"27": "0xC5e91F614a5D8b2bcBB062Dca27857EF32288ad5",
"28": "0x199E2090f6751B542861df7fCA58cB9144aF01eD",
"29": "0x1bFb120Ac1361ece092FC64BD8ECdb3244463071",
"30": "x",
"ethernaut": "0xB877915d8Ba049e7cAFc1525F85CEc322A362767",
"implementation": "0x86C8eC9b2bE1600571183eE157C7eb3B96a5c3FF",
"proxyAdmin": "0x8f3189256cb686D0aCD642bAa3982Fda156fB01D",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/deploy.mumbai-polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"27": "0xD0a78dB26AA59694f5Cb536B50ef2fa00155C488",
"28": "0xbB92E7731Be39dE76170cAe5e34F116b7A3C8a11",
"29": "0x606128539E98E0d0119b29Be2db797D1f9e291F9",
"30": "0x58Ab506795EC0D3bFAE4448122afa4cDE51cfdd2",
"ethernaut": "0x73379d8B82Fda494ee59555f333DF7D44483fD58",
"implementation": "0x69e1519534DA7259e517a279A5b92a85fD4DB075",
"proxyAdmin": "0xAe7b9fb081eD0b8CA687C9117C294E6d17e88F8f",
Expand Down
1 change: 1 addition & 0 deletions client/src/gamedata/deploy.sepolia-arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"27": "0x65Ff7C338fE34CC5C0F0cc97D3FA1B2681e39976",
"28": "0x6A77737803b581B79D5323016f59DFbfE681b336",
"29": "0xd4e6B977d9Dea283797AaD71a09eC65DfdAc98f5",
"30": "0xA62fE5344FE62AdC1F356447B669E9E6D10abaaF",
"ethernaut": "0xD991431D8b033ddCb84dAD257f4821E9d5b38C33",
"implementation": "0x42E7014a9D1f6765e76fA2e69532d808F2fe27E3",
"proxyAdmin": "0xBd886a37faD1f596221f33ca568122815ED48c81",
Expand Down
69 changes: 35 additions & 34 deletions client/src/gamedata/deploy.sepolia-optimism.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
{
"0": "0xba6F0B5784B6580790584A553f6e4a3483a915c3",
"1": "0x716747Fbc1FcE4c36F2B369F87aDB5D4580e807f",
"2": "0x4209f564b6fDB63B34866CEa4B43BF333BcAAAD9",
"3": "0xae8ed765dbd45Ce48ebBd2496CeD6B1Ee29466fc",
"4": "0x865e167C3db2c3E1C046cC67b05E6EcF9C897C2D",
"5": "0x00200f9AeBA83B4bddddd7620569C15AC09663cc",
"6": "0xe04f955e4Cf9858F8f8d60C09aBf16DF23D4672b",
"7": "0xDA1f7C628abd817a91c0124245504365E8D93Ee3",
"8": "0x5fFa62f6A01248A40C9B2857BdF6028b75d71693",
"9": "0x473c8dF98DFd41304Bff2c5945B9f73e30f5c013",
"10": "0x465f1E2c7FFDe5452CFe92aC3aa1230B76B2B1CB",
"11": "0xd8630853340e23CeD1bb87a760e2BaF095fb4009",
"12": "0x39DFCa77F257423621f9fb8a248cb6E3EaDb5016",
"13": "0x08D4Eb7480fd97C6799De7D29808D5E93674CE99",
"14": "0x6A77737803b581B79D5323016f59DFbfE681b336",
"15": "0x65Ff7C338fE34CC5C0F0cc97D3FA1B2681e39976",
"16": "0x35b28CB86846382Aa6217283F12C13657FF0110B",
"17": "0x32a089747130fE7391A7FBaad83D14F699fc7dbD",
"18": "0x6F9cf195B9B4c1259E8FCe5b4e30F7142f779DeA",
"19": "0x734CfE306C0C4130051A194BA110BC808B13C439",
"20": "0x029Ded0Eda5cB2c63D2f33eB2A151Af1F3951068",
"21": "0xDc0c34CFE029b190Fc4A6eD5219BF809F04E57A3",
"22": "0xB52C8785168b12b9333122578dcA793B7f4F2762",
"23": "0x18B246421d7484950749CF50155F95BEd11AB785",
"24": "0x25141B6345378e7558634Cf7c2d9B8670baFA417",
"25": "0x78BA1a1DD8833A4a20ecAc0Db8f3aCD8A9211beD",
"26": "0xA7E5E34b3A3D5647F999A1c531ec9ba2531c97bF",
"27": "0xFc07a775E4CcF393a18229264e87d292c7a447C0",
"28": "0x2aa5685ffd9e8e4897caf92855C1959d82DA5E36",
"29": "0xDCa6065818935c33D6AF9AbDB7d5f679BB43508A",
"ethernaut": "0xD991431D8b033ddCb84dAD257f4821E9d5b38C33",
"implementation": "0x50E1785EeE794253c5E33B8fE123e77124736e38",
"proxyAdmin": "0x492e18ddBd7591638453d2f1B1847F86711105C8",
"proxyStats": "0x8E500A9082D26dfA7CCdecf0391E0b93B9470266"
"0": "0xba6F0B5784B6580790584A553f6e4a3483a915c3",
"1": "0x716747Fbc1FcE4c36F2B369F87aDB5D4580e807f",
"2": "0x4209f564b6fDB63B34866CEa4B43BF333BcAAAD9",
"3": "0xae8ed765dbd45Ce48ebBd2496CeD6B1Ee29466fc",
"4": "0x865e167C3db2c3E1C046cC67b05E6EcF9C897C2D",
"5": "0x00200f9AeBA83B4bddddd7620569C15AC09663cc",
"6": "0xe04f955e4Cf9858F8f8d60C09aBf16DF23D4672b",
"7": "0xDA1f7C628abd817a91c0124245504365E8D93Ee3",
"8": "0x5fFa62f6A01248A40C9B2857BdF6028b75d71693",
"9": "0x473c8dF98DFd41304Bff2c5945B9f73e30f5c013",
"10": "0x465f1E2c7FFDe5452CFe92aC3aa1230B76B2B1CB",
"11": "0xd8630853340e23CeD1bb87a760e2BaF095fb4009",
"12": "0x39DFCa77F257423621f9fb8a248cb6E3EaDb5016",
"13": "0x08D4Eb7480fd97C6799De7D29808D5E93674CE99",
"14": "0x6A77737803b581B79D5323016f59DFbfE681b336",
"15": "0x65Ff7C338fE34CC5C0F0cc97D3FA1B2681e39976",
"16": "0x35b28CB86846382Aa6217283F12C13657FF0110B",
"17": "0x32a089747130fE7391A7FBaad83D14F699fc7dbD",
"18": "0x6F9cf195B9B4c1259E8FCe5b4e30F7142f779DeA",
"19": "0x734CfE306C0C4130051A194BA110BC808B13C439",
"20": "0x029Ded0Eda5cB2c63D2f33eB2A151Af1F3951068",
"21": "0xDc0c34CFE029b190Fc4A6eD5219BF809F04E57A3",
"22": "0xB52C8785168b12b9333122578dcA793B7f4F2762",
"23": "0x18B246421d7484950749CF50155F95BEd11AB785",
"24": "0x25141B6345378e7558634Cf7c2d9B8670baFA417",
"25": "0x78BA1a1DD8833A4a20ecAc0Db8f3aCD8A9211beD",
"26": "0xA7E5E34b3A3D5647F999A1c531ec9ba2531c97bF",
"27": "0xFc07a775E4CcF393a18229264e87d292c7a447C0",
"28": "0x2aa5685ffd9e8e4897caf92855C1959d82DA5E36",
"29": "0xDCa6065818935c33D6AF9AbDB7d5f679BB43508A",
"30": "0x5c7Fe23aeFc74E85E99EB8235807fE53bcC9c58f",
"ethernaut": "0xD991431D8b033ddCb84dAD257f4821E9d5b38C33",
"implementation": "0x50E1785EeE794253c5E33B8fE123e77124736e38",
"proxyAdmin": "0x492e18ddBd7591638453d2f1B1847F86711105C8",
"proxyStats": "0x8E500A9082D26dfA7CCdecf0391E0b93B9470266"
}
1 change: 1 addition & 0 deletions client/src/gamedata/deploy.sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"27": "0x36E92B2751F260D6a4749d7CA58247E7f8198284",
"28": "0x653239b3b3E67BC0ec1Df7835DA2d38761FfD882",
"29": "0xb2aBa0e156C905a9FAEc24805a009d99193E3E53",
"30": "0xd459773f02e53F6e91b0f766e42E495aEf26088F",
"ethernaut": "0xa3e7317E591D5A0F1c605be1b3aC4D2ae56104d6",
"implementation": "0x49662cAeF8386f84d99873c34280E24d3e742e4f",
"proxyAdmin": "0x545d848827bD9e0E30794a9E53f5ab04EA71d78a",
Expand Down
9 changes: 9 additions & 0 deletions client/src/gamedata/en/descriptions/levels/higherorder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Imagine a world where the rules are meant to be broken, and only the cunning and the bold can rise to power. Welcome to the Higher Order, a group shrouded in mystery, where a treasure awaits and a commander rules supreme.

Your objective is to become the Commander of the Higher Order! Good luck!

##### Things that might help:
* Sometimes, `calldata` cannot be trusted.
* Compilers are constantly evolving into better spaceships.


Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
You've conquered the Higher Order challenge, mastering the Dirty Higher Order Bits exploit to claim the title of Commander. In this quest, you've delved deep into Solidity, learning to manipulate bytes and bypass function type checks.

Your victory not only showcases your technical prowess but also highlights your ability to think creatively and critically.
20 changes: 20 additions & 0 deletions client/src/gamedata/gamedata.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,26 @@
"deployId": "29",
"instanceGas": 250000,
"author": "AgeManning"
},
{
"name": "HigherOrder",
"created": "2024-03-23",
"difficulty": "8",
"description": "higherorder.md",
"completedDescription": "higherorder_complete.md",
"levelContract": "HigherOrderFactory.sol",
"instanceContract": "HigherOrder.sol",
"revealCode": true,
"deployParams": [],
"deployFunds": 0,
"deployId": "30",
"instanceGas": 420000,
"author": "0xneves&gabrielsdev&R4wd0G&luizfolly&fefeupz",
"verificationDetails": {
"contractName": "HigherOrder",
"compilerVersion": "v0.6.12+commit.27d51765",
"runs": "1000"
}
}
]
}
Loading

0 comments on commit cd3610a

Please sign in to comment.