DEF CON Forum Site Header Art

Announcement

Collapse
No announcement yet.

Defcon Badge Bitcoin Miner

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Defcon Badge Bitcoin Miner

    I haven't seen too many hacks for the badges, so I wrote a bitcoin miner.

    https://mega.co.nz/#!TcUzlCIY!AhrHe7...h0EC2NMiBTqNtY

    Code:
     _______   _______  _______   ______   ______   .__   __.    .______        ___       _______   _______  _______  
    |       \ |   ____||   ____| /      | /  __  \  |  \ |  |    |   _  \      /   \     |       \ /  _____||   ____| 
    |  .--.  ||  |__   |  |__   |  ,----'|  |  |  | |   \|  |    |  |_)  |    /  ^  \    |  .--.  |  |  __  |  |__    
    |  |  |  ||   __|  |   __|  |  |     |  |  |  | |  . `  |    |   _  <    /  /_\  \   |  |  |  |  | |_ | |   __|   
    |  '--'  ||  |____ |  |     |  `----.|  `--'  | |  |\   |    |  |_)  |  /  _____  \  |  '--'  |  |__| | |  |____  
    |_______/ |_______||__|      \______| \______/  |__| \__|    |______/  /__/     \__\ |_______/ \______| |_______| 
                                                                                                                      
    .______    __  .___________.  ______   ______    __  .__   __.    .___  ___.  __  .__   __.  _______ .______      
    |   _  \  |  | |           | /      | /  __  \  |  | |  \ |  |    |   \/   | |  | |  \ |  | |   ____||   _  \     
    |  |_)  | |  | `---|  |----`|  ,----'|  |  |  | |  | |   \|  |    |  \  /  | |  | |   \|  | |  |__   |  |_)  |    
    |   _  <  |  |     |  |     |  |     |  |  |  | |  | |  . `  |    |  |\/|  | |  | |  . `  | |   __|  |      /     
    |  |_)  | |  |     |  |     |  `----.|  `--'  | |  | |  |\   |    |  |  |  | |  | |  |\   | |  |____ |  |\  \----.
    |______/  |__|     |__|      \______| \______/  |__| |__| \__|    |__|  |__| |__| |__| \__| |_______|| _| `._____|
    ================================================== ================================================== ==========

    v1.0.0

    With this miner you will get a hash rate of around 40 hashes/second on a propeller 1
    This project was done entirely just to prove it is possible.
    A lot of the footwork for this project was already done by gbg with his NES bitcoin miner RetroMiner http://retrominer.com/
    SHA hashing was done using Brad Conte's C code

    I'm not getting rich off 40 hashes/s, if you thought this was cool feel free to donate.
    btc: 1GtxwuQZDPtawXgykowkhdBSvWG9CZWiFc

    Cheers,
    mike2

    [Future Work]
    Implement WIFI w/ an ESP8266
    Implement a LCD Screen

    [Install]
    Note: I developed this on Windows, YMMV with Other OS's

    Install python 2.7 - (win) https://www.python.org/ftp/python/2....thon-2.7.8.msi
    Install pyserial - (win) https://pypi.python.org/pypi/pyserial updated: 2013-10-17
    Install SimpleIDE - http://learn.parallax.com/node/640 version: 0-9-64
    Download Slush's Stratum Mining Proxy http://mining.bitcoin.cz/mining-proxy-howto

    [Usage]
    Run slush's stratum mining proxy

    Optional: Setup an account on slush's pool with a worker
    Optional: Configure pyminer.py to use your worker and password
    Configure pyminer.py to use your badge's COM port, this can be found from the drop down box on the main gui in SimpleIDE

    Open bitcoin.side in SimpleIDE.
    Select your com port from the dropdown box
    Compile the program into your badges RAM with the Green Right Arrow

    Within 10s of compiling the code onto your badge run the python script (python pyminer)
    If you don't get it in time just reprogram the ram by clicking the Green Right Arrow again

    or if you don't mind deleting everything on the badge
    Flash the eeprom (Green Down Button) on your badge
    Unplug your badge
    Run pyminer (python pyminer.py)
    Plug in your badge

    [Disclaimer]
    This is not a serious way to mine bitcoin

    Last edited by mike2; October 20, 2014, 22:17.

  • #2
    Re: Defcon Badge Bitcoin Miner

    OK, that is very cool.

    I think we promoted it on our face book page a while ago, but I just wanted to say something here.
    PGP Key: https://defcon.org/html/links/dtangent.html

    Comment

    Working...
    X