A set of tasks for cracking implementations of smart-contracts with typical vulnerabilities.
Visit positive.com
OR
Clone the repository and solve locally, a separate test is made for each problem
git clone https://github.com/PositiveSecurity/PositiveCTF-TON.git
cd PositiveCTF-TON/TactCTF
yarn
-
Deploy:
- The
LevelDeployer
class is used for standard level deployment - There are 2 roles assigned
player
deployer
- The
-
Exploit:
- Write the hack using
exploit()
levelDeployer.player
as the sender
- Write the hack using
-
Solution verification:
- At the end of the test,
levelDeployer.isLevelCompleted
is already called to validate the solution
- At the end of the test,
All code, practices and patterns in this repository are for educational purposes only.
DO NOT USE IN PRODUCTION.