GithubHelp home page GithubHelp logo

hexoul / ether-stealer Goto Github PK

View Code? Open in Web Editor NEW
37.0 7.0 11.0 143 KB

Steal Ethereum or ERC20 tokens from private key generated randomly

License: MIT License

Go 65.33% Makefile 1.25% Solidity 33.42%
account mining ether ethereum steal geth crypto erc20 blockchain solidity

ether-stealer's Introduction

Ethereum Stealer

License Go Report Card GoDoc

This project conducts account mining, not block mining. In general, this project can do nothing stochastically. However, if something happens, you will get rewards and you are able to say that a blockchain is not perfect.

Installation

$ go get -u github.com/hexoul/ether-stealer
  • If you want cross-compile, type make which uses xgo[1]

Getting started

$ go run main.go \
  -infura-apikey [your_infura_apikey] \
  -concurrency 10 \
  -iteration 100 \
  -id [name] \
  -telegram-chatid [your_telegram_chat_id] \
  -telegram-apikey [your_telegram_apikey] \
  -silent
  • (required) infura-apikey: API key of your Infura project.
  • (optional) concurrency: The number of threads can be executed concurrently. A default value is 10.
  • (optional) iteration: The number of iterations. If set, it will be terminated within a finite time.
  • (optional) id: An identifier of a client.
  • (optional) telegram-chatid and telegram-apikey: If set, this program notify you when steeling succeed.
  • (optional) silent: A flag to print failed attempts.

Test

$ go test -v
$ go test -v ./infura -args -infura-apikey [your_infura_apikey]

(๐Ÿšง Recovering) Add ERC20 tokens

  1. Get a contract code at etherscan.io and put into contract/sol folder.
  2. Run abigen.
$ abigen -sol contract/sol/[target].sol -pkg [target] -out contract/abigen/[target]/[target].go
  • If you need specific solidity version,

    • Check history of solidity.rb
    • Re-install solidity following a)'s commit hash
    $ brew unlink solidity
    $ brew install https://raw.githubusercontent.com/ethereum/homebrew-ethereum/[commit_hash]/solidity.rb
  1. Implement interface in init() function at contract package by following samples.

License

MIT

Reference

[1] https://github.com/karalabe/xgo

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.