I wrote the tool using Java and Bitcoin core rpc. You can download it here:
https://drive.google.com/file/d/0Bxw3ip9QfNOUWGZFWFN1alNjSHM/view?usp=sharingThere are 4 versions, linux 32 bit, linux 64 bit, windows 32 bit, and windows 64 bit. It also comes packaged with the proper jre for the program to run.
To run the tool, you need to run Bitcoin core in server mode (with -server flag or have server=1 in bitcoin.conf and have an rpcuser and rpcpassword set in bitcoin.conf) as well as with txindex enabled (-txindex flag in command or have txindex=1 in bitcoin.conf). If you are running it from the command line, you need to have the -reindex flag as well for the first time because txindex requires that Bitcoin Core reindex its databases to include all of the transactions. If you run it with the GUI, there will be a dialog that prompts you. The reindex will take a long time.
The program will work at any time during the reindex, but it will not be able to grab all of the data since the databases won't be up to date until it is done.
The tool works a little slowly, so be patient. You will need to run it for several hours in order to complete.
The usage:
Tool which scrapes the entire blockchain for all of the pubkeys of all transactions
Requires bitcoind (or Bitcoin Core with daemon enabled) and txindex=1 to be set in Bitcoin.conf
Usage: pubkeyscraper [rpcport] [rpcurl]
Required. User of the Bitcoin-RPC server set in bitcoin.conf
Required. Password of the Bitcoin-RPC server set in bitcoin.conf
[rpcport] Optional. Port of the Bitcoin-RPC server set in bitcoin.conf. Default is 8332
[rpcurl] Optional. URL or IP address of Bitcoin-RPC server. Default is 127.0.0.1
If this satisfies you, please send the bounty to the address in my profile.