Skip to content

Commit 17f214b

Browse files
committed
lvl: password
1 parent efdec8a commit 17f214b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

script/Vault/FindPassword.sol

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: UNLICENSED
2+
pragma solidity ^0.8.13;
3+
4+
import {Script} from "forge-std/Script.sol";
5+
import {console} from "forge-std/console.sol";
6+
7+
contract FindPassword is Script {
8+
9+
function run() external {
10+
11+
address levelInstance = 0x2BDC79f30Df0297493EF984B6354552D7a65c7F2;
12+
uint256 slot = 1;
13+
bytes32 data = vm.load(levelInstance, bytes32(slot));
14+
15+
console.logBytes32(data);
16+
}
17+
}

0 commit comments

Comments
 (0)