Skip to content

PositiveSecurity/PositiveCTF-TON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

PositiveCTF

A set of tasks for cracking implementations of smart-contracts with typical vulnerabilities.

Play

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

Notes

  • Deploy:

    • The LevelDeployer class is used for standard level deployment
    • There are 2 roles assigned
      • player
      • deployer
  • Exploit:

    • Write the hack using exploit()
    • levelDeployer.player as the sender
  • Solution verification:

    • At the end of the test, levelDeployer.isLevelCompleted is already called to validate the solution

Disclaimer

All code, practices and patterns in this repository are for educational purposes only.

DO NOT USE IN PRODUCTION.

About

A set of tasks for cracking implementations of smart-contracts with typical vulnerabilities.

Resources

Stars

Watchers

Forks