Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.35 KB

README.md

File metadata and controls

54 lines (33 loc) · 1.35 KB

Offensive Vyper

Introduction

Offensive Vyper is a Vyper-based Capture the Flag. All contracts are written in Vyper and all exploits should be written in Vyper.

The development environment is Hardhat using Ethers.js as the client library. The Hardhat environment includes a Vyper plugin for contract compilation and testing.

Getting Started

To get started, clone this repository.

git clone https://github.com/JoshuaTrujillo15/offensive_vyper.git

Then install dependencies. You will need node, npm, and optionally, yarn.

# if using yarn
yarn

# if using npm
npm i

To begin a challenge, follow the links under Challenges. This will lead you to an overview, the contracts in scope, the exploit contract, and the test.

To write an exploit, use the corresponding Vyper contract in ./contracts/exploits.

To test your exploit, edit the Javascript test file and in the YOUR EXPLOIT HERE section, then use the respective command in the Challenge file.

Challenges

  1. Password Vault

  2. Unstoppable Auction

  3. Coin Flipper

  4. Ether Vault

  5. Ether Flash Loan

  6. Flash Receiver

  7. Ownable Proxy

  8. Meta Token