Bitcoin Forum
April 21, 2019, 01:33:22 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mass Brainwallet Generator  (Read 1240 times)
Patrick349
Full Member
***
Offline Offline

Activity: 127
Merit: 250


View Profile
July 21, 2016, 07:43:16 PM
Last edit: March 27, 2018, 09:33:52 PM by Patrick349
 #1

I search a mass brainwallet generator.
1555853602
Hero Member
*
Offline Offline

Posts: 1555853602

View Profile Personal Message (Offline)

Ignore
1555853602
Reply with quote  #2

1555853602
Report to moderator
1555853602
Hero Member
*
Offline Offline

Posts: 1555853602

View Profile Personal Message (Offline)

Ignore
1555853602
Reply with quote  #2

1555853602
Report to moderator
1555853602
Hero Member
*
Offline Offline

Posts: 1555853602

View Profile Personal Message (Offline)

Ignore
1555853602
Reply with quote  #2

1555853602
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1555853602
Hero Member
*
Offline Offline

Posts: 1555853602

View Profile Personal Message (Offline)

Ignore
1555853602
Reply with quote  #2

1555853602
Report to moderator
1555853602
Hero Member
*
Offline Offline

Posts: 1555853602

View Profile Personal Message (Offline)

Ignore
1555853602
Reply with quote  #2

1555853602
Report to moderator
xcbtrader
Hero Member
*****
Offline Offline

Activity: 867
Merit: 1006


View Profile
July 21, 2016, 09:37:51 PM
 #2

Hey  Guys,

I am searching a mass Bitcoin brainwallet generator that can convert an text file which contains every line a brainwallet phrase, word or something like this to the associated bitcoin address and private key. I hope somebody could help me. Smiley

Best regards,

Patrick Smiley

Hello.

In python is very easy make this.

Best regards

cloverme
Legendary
*
Offline Offline

Activity: 1470
Merit: 1041


SpacePirate.io


View Profile WWW
July 22, 2016, 11:37:11 AM
 #3

Not sure why you want one, but this does essentially the same thing you're looking for.

https://github.com/dan-v/bruteforce-bitcoin-brainwallet
chrisvl
Legendary
*
Offline Offline

Activity: 1078
Merit: 1001

Trainman


View Profile WWW
July 22, 2016, 10:27:05 PM
 #4

Code:
from pybitcointools import *


with open('yourtextfile.txt') as textfile:
    for line in textfile:
       priv = sha256(line)
       pub = privtopub(priv)
       addr = pubtoaddr(pub)
       print priv
       print addr
if you want to print only the privatekeys remove the print addr if you want to print only the addresses remove the print priv

A smartness bitcoin which will operate as the human brain can easily scale beyond the level of traffic VISA,Trainman pgp
Gwapo
Full Member
***
Offline Offline

Activity: 235
Merit: 100


★Magnum Wallet★


View Profile
July 23, 2016, 09:14:41 AM
 #5

Not sure why you want one, but this does essentially the same thing you're looking for.

https://github.com/dan-v/bruteforce-bitcoin-brainwallet

Yes, this is what I search but I don't really know how to use in Python. Sad

You need to know about python man.
Otherwise things won't work out.

You can start knowing more about python from these 2 resources:

1. https://www.datacamp.com/courses/intro-to-python-for-data-science
2. https://www.python.org/about/gettingstarted

After that you can encode this to your mass breadwallet git.

Code:
def __init__(self):
        self.session = None
        self._base_url = None
        self._base_url_received = None
        self._base_url_balance = None
        self._received_suffix = '' #allow derived classes not to set this
        self._balance_suffix = ''

    @abstractmethod
    def open_session(self):
        logging.info("Opening new session to {}".format(self._base_url))
        self.session = requests.Session()
        open_session = self.session.get(self._base_url)
        if open_session.status_code != requests.codes.ok:
            raise Exception("Error: Failed to open connection to {}. Error: {}".format(self._base_url,
                                                                                       open_session.text))

    @abstractmethod
    def close_session(self):
        logging.debug("Closing session")
        self.session.close()
        self.session = None

    @abstractmethod
    def get_received(self, public_address):
        logging.debug("Getting received bitcoins for public address {}".format(public_address))
        if not self.session:
            raise Exception("Error: Need to open_session first before executing get_received")
        received_url = "{}/{}{}".format(self._base_url_received, public_address, self._received_suffix)
        logging.debug("requesting data from {}".format(received_url))
        bitcoins_received_text = self.session.get(received_url).text
        try:
            bitcoins_received = self.text_to_float(bitcoins_received_text)
        except Exception as e:
            logging.error("Got invalid received bitcoins response: '{}'".format(bitcoins_received_text))
            raise
        return bitcoins_received

    @abstractmethod
    def get_balance(self, public_address):
        logging.debug("Getting balance for public address {}".format(public_address))
        if not self.session:
            raise Exception("Error: Need to open_session before executing get_balance")
        balance_url = "{}/{}{}".format(self._base_url_balance, public_address, self._balance_suffix)
        logging.debug("requesting data from {}".format(balance_url))
        bitcoin_balance_text = self.session.get(balance_url).text
        try:
            bitcoin_balance = self.text_to_float(bitcoin_balance_text)
        except Exception as e:
            logging.error("Got invalid bitcoin balance response: '{}'".format(bitcoin_balance_text))
            raise
        return bitcoin_balance

    @staticmethod
    def text_to_float(text):
        try:
            return float(text)
        except Exception:
            raise

    @staticmethod
    def satoshi_to_btc(value):
        try:
            return value / 100000000.00000000
        except Exception:
            raise


class Abe(BaseBlockExplorer):
    STRING_TYPE = "abe"

    def __init__(self, server, port, chain):
        BaseBlockExplorer.__init__(self)
        self.server = server
        self.port = port
        self.chain = chain
        self.session = None
        self._base_url = "http://{}:{}".format(self.server, self.port)
        self._base_url_received = "{}/chain/{}/q/getreceivedbyaddress".format(self._base_url, self.chain)
        self._base_url_balance = "{}/chain/{}/q/addressbalance".format(self._base_url, self.chain)

    def open_session(self):
        return BaseBlockExplorer.open_session(self)

    def close_session(self):
        return BaseBlockExplorer.close_session(self)

    def get_balance(self, public_address):
        try:
            btc_balance = BaseBlockExplorer.get_balance(self, public_address)
        except Exception as e:
            raise
        return btc_balance

    def get_received(self, public_address):
        try:
            btc_balance = BaseBlockExplorer.get_received(self, public_address)
        except Exception as e:
            raise
        return btc_balance


class BlockchainInfo(BaseBlockExplorer):
    STRING_TYPE = "blockchaininfo"

    def __init__(self):
        BaseBlockExplorer.__init__(self)
        self._api_limit_seconds = 10
        logging.info("Note there is a {} second wait between each API call to respect posted limits".format(self._api_limit_seconds))
        self._base_url = "http://blockchain.info"
        self._base_url_received = "{}/q/getreceivedbyaddress".format(self._base_url)
        self._base_url_balance = "{}/q/addressbalance".format(self._base_url)

    def open_session(self):
        return BaseBlockExplorer.open_session(self)

    def close_session(self):
        return BaseBlockExplorer.close_session(self)

    def get_balance(self, public_address):
        logging.debug("Sleeping {} seconds before making API call".format(self._api_limit_seconds))
        time.sleep(self._api_limit_seconds)
        try:
            balance = BaseBlockExplorer.get_balance(self, public_address)
            btc_balance = self.satoshi_to_btc(balance)
        except Exception as e:
            raise
        return btc_balance

    def get_received(self, public_address):
        logging.debug("Sleeping {} seconds before making API call".format(self._api_limit_seconds))
        time.sleep(self._api_limit_seconds)
        try:
            received = BaseBlockExplorer.get_received(self, public_address)
            btc_received = self.satoshi_to_btc(received)
        except Exception as e:
            raise
        return btc_received

class Insight(BaseBlockExplorer):
    STRING_TYPE = "insight"

    def __init__(self):
        BaseBlockExplorer.__init__(self)
        self._base_url = "https://insight.bitpay.com"
        self._base_url_received = "{}/api/addr".format(self._base_url)
        self._base_url_balance = "{}/api/addr".format(self._base_url)
        self._received_suffix = "/totalReceived"
        self._balance_suffix = "/balance"

    def open_session(self):
        return BaseBlockExplorer.open_session(self)

    def close_session(self):
        return BaseBlockExplorer.close_session(self)

    def get_balance(self, public_address):
        try:
            balance = BaseBlockExplorer.get_balance(self, public_address)
            btc_balance = self.satoshi_to_btc(balance)
        except Exception as e:
            raise
        return btc_balance

    def get_received(self, public_address):
        try:
            received = BaseBlockExplorer.get_received(self, public_address)
            btc_received = self.satoshi_to_btc(received)
        except Exception as e:
            raise
return btc_received

boomboom
Hero Member
*****
Offline Offline

Activity: 942
Merit: 508



View Profile
July 24, 2016, 05:37:31 AM
 #6

Hey  Guys,

I am searching a mass Bitcoin brainwallet generator that can convert an text file which contains every line a brainwallet phrase, word or something like this to the associated bitcoin address and private key. I hope somebody could help me. Smiley

Best regards,

Patrick Smiley

what application are you making?
Hazard
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile WWW
August 01, 2016, 11:36:06 PM
 #7

Good luck, this has been done years ago and there are dozens of auto-sweeping bots already out there.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!