Giter Club home page Giter Club logo

ethernaut-with-security-tools's Introduction

Playing Ethernaut manually and with security tools.

Links:

  • Ethernaut (The CTF)
  • Foundry (To install, DApp framework, manual exploits)
  • Slither (To install, Static Analyse), detecting vulnerabilities)
  • Echidna (To install, Fuzzing, finding bugs with property testing)
  • Manticore (To install, Symbolic Execution, finding sequences of actions leading to exploit)

Commands:

  • (Foundry) Run all manual exploits:
forge test
  • (Foundry) Run single manual exploit:
forge test --match-contract Fallback
  • (Slither) Log contract vulnerabilities:
slither src/1_Fallback/Fallback.sol
  • (Echidna) Find bug (assuming Echidna binaries located at home):
~/echidna-test ./src/1_Fallback/EchidnaFallback.sol --config ./src/1_Fallback/echidna_config.yaml
  • (Manticore) Log list of exploit TX series (attacker executed withdraw) from pre-computed results:
grep withdraw src/1_Fallback/mcore_cli_result/*.tx
  • (Manticore) Log details from single exploit TX set:
cat src/1_Fallback/mcore_cli_result/user_00000008.tx
  • (Manticore) Find exploit series by exploring all contract states (time consuming):
cd src/1_Fallback/ && manticore Fallback.sol && cd ../..
  • (Manticore) Find exploit while providing constraints:
cd src/1_Fallback/ && python3 manticore_fallback.py && cd ../..

ethernaut-with-security-tools's People

Contributors

xternet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.