Skip to main content

Ethereum/EVM Node Security Toolkit - Handy toolkit for security researchers poking around Ethereum nodes (and contracts)

Project description

Legions

Ethereum Node Security Toolkit

Handy toolkit for security researchers poking around Ethereum nodes (and contracts)

This package is extremely beta

Installation

Python 3.7.0

clone https://github.com/shayanb/Legions
cd Legions
pip install .

or

pip install legions

Usage

legions
Command Description
getnodeinfo Prints information about the node (run setnode before this)
investigate Investigate further in the node (e.g. check if accounts are unlocked, etc)
query Query Blockchain (Storage, balance, etc)
sethost Setup the Web3 connection (RPC, IPC, HTTP) - This should be the first step
version Print Versions (If connected to a node it will print the host version too)

demo

Acknowledgement

TODO:

  • Fix Verbose Status bar (It does not change from OFF)
  • Print Accounts in getnodeinfo in a better format (One per line)
  • A way to reinitiate w3 (web3) by setting it to new host (right now it works for sethost but getnodeinfo still uses the first initiated w3)
  • add way more functionalities

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

legions-0.4.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

legions-0.4.1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page