# [Exp] Hacking BEGO

BEGO on Binance Smart Chain has a bug in the contract allowing arbitrary mint.

Full exploit: https://github.com/SunWeb3Sec/DeFiHackLabs/blob/main/src/test/BEGO_exp.sol

# Using Blaz to Solve

BEGO contract that is vulnerable:

The contracts are exploitable before block number 22315678. We'll fork the chain at block number 22315678 and let Blaz find the exploit for us.

# Step 1

Select BSC and click Next. Then, put the contract address and block number as follows:

Onchain Settings
Onchain Settings

# Step 2

Select all Common Vulnerabilities and submit the job. You'll find results in a few minutes.

Result Page
Result Page