An open API service indexing awesome lists of open source software.

https://github.com/seadog007/smartcontract_ctfgame

The CTF questions about smart contracts
https://github.com/seadog007/smartcontract_ctfgame

blockchain blockchain-technology ctf ctf-challenges ctf-questions ctf-solutions ctf-writeups smart-contract smart-contracts vxctf writeup writeups

Last synced: 11 months ago
JSON representation

The CTF questions about smart contracts

Awesome Lists containing this project

README

          

# Smart Contract CTF game
The CTF questions about smart contracts

# Solutions
#### VXCTF 2018
- [SanityCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/SanityCoin_Solved.sol)
- [MultipleCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/MultipleCoin_Solve.sol)
- [NoMoneyNoCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/NoMoneyNoCoin_Solved.sol)
- [RPSCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/RPSCoin_Solved.sol)
- DeflationCoin (Not solved)

#### ethernaut.zeppelin.solutions
- [CoinFlip](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/CoinFlip/CoinFlip_Solved.sol)
- [Fallback](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Fallback/Fallback_Solved.sol)
- [Telephone](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Telephone/Telephone_Solved.sol)
- [Force](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Force/Force_Solved.sol)
- [King](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/King/King_Solved.sol)
- [Elevator](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Elevator/Elevator_Solved.sol)

#### Codefest'18
- [Spiritual Box](https://github.com/seadog007/smartcontract_ctfgame/blob/master/Codefest%2018%20CTF/SpiritualBox/SpiritualBox_Solved.sol)

# Solutions By Class
#### Overflow/Underflow
- [MultipleCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/MultipleCoin_Solve.sol)

#### Forcing Ether into Contract
- [NoMoneyNoCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/NoMoneyNoCoin_Solved.sol)
- [Force](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Force/Force_Solved.sol)
- [Spiritual Box](https://github.com/seadog007/smartcontract_ctfgame/blob/master/Codefest%2018%20CTF/SpiritualBox/SpiritualBox_Solved.sol)

#### Fake Random
- [CoinFlip](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/CoinFlip/CoinFlip_Solved.sol)
- [RPSCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/RPSCoin_Solved.sol)

#### Unclassified (yet)
- [SanityCoin](https://github.com/seadog007/smartcontract_ctfgame/blob/master/VXCTF%202018/SanityCoin_Solved.sol)
- DeflationCoin (Not solved)
- [Fallback](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Fallback/Fallback_Solved.sol)
- [Telephone](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Telephone/Telephone_Solved.sol)
- [King](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/King/King_Solved.sol)
- [Elevator](https://github.com/seadog007/smartcontract_ctfgame/blob/master/ethernaut.zeppelin.solutions/Elevator/Elevator_Solved.sol)

# Useful Resource
- [A survey of attacks on Ethereum smart contracts](https://eprint.iacr.org/2016/1007.pdf)
- [Ethereum Smart Contract Best Practices](https://consensys.github.io/smart-contract-best-practices/)
- [Onward with Ethereum Smart Contract Security](https://blog.zeppelin.solutions/onward-with-ethereum-smart-contract-security-97a827e47702)
- [(Not So) Smart Contracts](https://github.com/trailofbits/not-so-smart-contracts)
- [How to Secure Your Smart Contracts: 6 Solidity Vulnerabilities and how to avoid them (Part 1)](https://medium.com/loom-network/how-to-secure-your-smart-contracts-6-solidity-vulnerabilities-and-how-to-avoid-them-part-1-c33048d4d17d)
- [How to Secure Your Smart Contracts: 6 Solidity Vulnerabilities and how to avoid them (Part 2)](https://medium.com/loom-network/how-to-secure-your-smart-contracts-6-solidity-vulnerabilities-and-how-to-avoid-them-part-2-730db0aa4834)
- [Two Ways of Forcing Ether into a Contract](https://medium.com/@alexsherbuck/two-ways-to-force-ether-into-a-contract-1543c1311c56)
- [Predicting Random Numbers in Ethereum Smart Contracts](https://blog.positive.com/predicting-random-numbers-in-ethereum-smart-contracts-e5358c6b8620)
[Slide](https://schd.ws/hosted_files/appseccalifornia2018/00/AppSecCali%202018%20-%20Predicting%20Random%20Numbers%20in%20Ethereum%20Smart%20Contracts.pdf)
- [Solidity Cheat Sheet](https://github.com/manojpramesh/solidity-cheatsheet)

# Practices
- [Zeppelin Contest](https://ethernaut.zeppelin.solutions/)
- [Hack This Contract](http://hackthiscontract.io/)