Author

Topic: Vanitygen Output Address File Reader/Searcher/Aggregator Script (Read 2801 times)

legendary
Activity: 2702
Merit: 1072
I've updated the script to accomodate for extremely large outputs which could nearly fill the whole terminal history.  The new version is available at the pastebin link - CHECKADDY.sh - Vanitygen Output File Address Search Script.

There is a Yes / No selection after the addresses are aggregated similar to the below:

Code:
View results? (2380 found)
1) Yes
2) No
legendary
Activity: 2702
Merit: 1072
BTCump, I've recently utilized this script (unmodified) a couple times and it worked perfectly.  If you find it useful drop a message in this thread!
legendary
Activity: 2702
Merit: 1072
PremiumCodeX,
Thanks for the update, I have changed the OP to reflect this fact.  Smiley


OgNasty,
Sounds really cool but I don't have a need to do what you are requesting.  I'd be able to code it and would take that project on for a cost, but I would not be willing to do it for free.  Wink
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
That sounds a little above and beyond what this script is meant to do since it only searches the output file that vanitygen generates.

A dictionary option could be provided to also bring to light addresses which have terms in them matching dictionary file words but I think a re-write of vanitygen would be required to achieve what Og is contemplating.  Wink

I agree it is a lot.  I don't think vanitygen needs to be touched though.  It actively saves addresses into a .txt file.  Addresses that didn't meet the dictionary criteria would only need to be deleted every few minutes.

Interesting, from the way you are speaking it sounds like you save every single address that vanitygen generates into a file?

In my scenario I only have addresses saved that match my search criteria and then I use my script to narrow down those addresses to ones that don't have trailing junk that could make the address look awkward.

No, I currently do it the way you are saying, with specified search criteria.  There isn't a need for this script for me though, because I search for long vanities so I get maybe 1 or 2 per day.  If this script could delete out the crap allowing me to search for every address, it would significantly increase the number of long vanity addresses I was able to find.  Who knows, maybe I've found 25 letter vanity addresses and I just passed it by because it wasn't in my specified search.  That's what I'd love to see this script make possible.  Find long vanity addresses that aren't specified in search criteria.
hero member
Activity: 1204
Merit: 531
Metaverse 👾 Cyberweapons
@digicoinuser, I have just read that Windows 10 integrated Bash that supports every feature that an Ubuntu's Bash supports. I do not wonder this fact much because it integrated Ubuntu, too lol. So, you may find the following discussion helpful WINDOWS 10 HAS NOW BASH. Your script should work fine on Windows 10 without additional dependencies from now on  Wink Also, you may use more advanced features on a Windows server, too, from now on.
legendary
Activity: 2702
Merit: 1072
That sounds a little above and beyond what this script is meant to do since it only searches the output file that vanitygen generates.

A dictionary option could be provided to also bring to light addresses which have terms in them matching dictionary file words but I think a re-write of vanitygen would be required to achieve what Og is contemplating.  Wink

I agree it is a lot.  I don't think vanitygen needs to be touched though.  It actively saves addresses into a .txt file.  Addresses that didn't meet the dictionary criteria would only need to be deleted every few minutes.

Interesting, from the way you are speaking it sounds like you save every single address that vanitygen generates into a file?

In my scenario I only have addresses saved that match my search criteria and then I use my script to narrow down those addresses to ones that don't have trailing junk that could make the address look awkward.
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
That sounds a little above and beyond what this script is meant to do since it only searches the output file that vanitygen generates.

A dictionary option could be provided to also bring to light addresses which have terms in them matching dictionary file words but I think a re-write of vanitygen would be required to achieve what Og is contemplating.  Wink

I agree it is a lot.  I don't think vanitygen needs to be touched though.  It actively saves addresses into a .txt file.  Addresses that didn't meet the dictionary criteria would only need to be deleted every few minutes.
legendary
Activity: 2702
Merit: 1072
That sounds a little above and beyond what this script is meant to do since it only searches the output file that vanitygen generates.

A dictionary option could be provided to also bring to light addresses which have terms in them matching dictionary file words but I think a re-write of vanitygen would be required to achieve what Og is contemplating.  Wink
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
Would be cool if you could add in something that would identify dictionary words and bring addresses to your attention that contained them.

That sounds pretty neat and might be doable, would it be a user specified dictionary or a preset?
I would say a file with a lot of dictionary words in it. That way, they could add stuff if they wanted to and remove stuff, or they could leave it alone. That would have the best of both worlds, and should be similar difficulty in code vs preset list. Would be a nice feature for your script, and I might find a use in it.

Yes, and perhaps some sort of pruning for addresses without words in them?  I generate (86,400*145,000,000) addresses per day, every day.  I could be missing some amazing addresses simply because they aren't included in my search.  If there were a program that removed all the garbage addresses and kept the good ones so I didn't have an ever expanding file of billions of addresses to search through, surely some interesting vanity addresses would result.
legendary
Activity: 2772
Merit: 3284
Would be cool if you could add in something that would identify dictionary words and bring addresses to your attention that contained them.

That sounds pretty neat and might be doable, would it be a user specified dictionary or a preset?
I would say a file with a lot of dictionary words in it. That way, they could add stuff if they wanted to and remove stuff, or they could leave it alone. That would have the best of both worlds, and should be similar difficulty in code vs preset list. Would be a nice feature for your script, and I might find a use in it.


Edit:
Would be cool if you could add in something that would identify dictionary words and bring addresses to your attention that contained them.

That sounds pretty neat and might be doable, would it be a user specified dictionary or a preset?
I would say a file with a lot of dictionary words in it. That way, they could add stuff if they wanted to and remove stuff, or they could leave it alone. That would have the best of both worlds, and should be similar difficulty in code vs preset list. Would be a nice feature for your script, and I might find a use in it.

Yes, and perhaps some sort of pruning for addresses without words in them?  I generate (86,400*145,000,000) addresses per day, every day.  I could be missing some amazing addresses simply because they aren't included in my search.  If there were a program that removed all the garbage addresses and kept the good ones so I didn't have an ever expanding file of billions of addresses to search through, surely some interesting vanity addresses would result.
This would be a cool idea as well. Might be hard to code though.
legendary
Activity: 2702
Merit: 1072
Would be cool if you could add in something that would identify dictionary words and bring addresses to your attention that contained them.

That sounds pretty neat and might be doable, would it be a user specified dictionary or a preset?
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
Would be cool if you could add in something that would identify dictionary words and bring addresses to your attention that contained them.
legendary
Activity: 2702
Merit: 1072
There are more than one Bash ports for Windows. I was using win-bash in the past. It is also on SourceForge. You can install it onto Microsoft Windows NT based systems. I have not tested whether it covers everything what you need, but it is the most complete Bash port for Windows that I have used so far and since it has GNU General Public License version 2.0 (GPLv2), it should not be too complicated to issue new tickets with your requests.

Interesting, I will have to check it out!  My script doesn't utilize any special commands and is really only reliant on "grep" and reading simple passed arguments so I believe it would work.

Thanks for the information!  Smiley
hero member
Activity: 1204
Merit: 531
Metaverse 👾 Cyberweapons
I could use it in a vanity address scraper as a part script, I guess. I will be able to test it on Linux soon since I am working on setting up a new Linux based web server. But as far as I remember, there is Bash for Windows too, just not by default. You can download it from the internet.

Very nice and I wasn't aware of that.  Is it only for Windows 10?

There are more than one Bash ports for Windows. I was using win-bash in the past. It is also on SourceForge. You can install it onto Microsoft Windows NT based systems. I have not tested whether it covers everything what you need, but it is the most complete Bash port for Windows that I have used so far and since it has GNU General Public License version 2.0 (GPLv2), it should not be too complicated to issue new tickets with your requests.
legendary
Activity: 2702
Merit: 1072
I could use it in a vanity address scraper as a part script, I guess. I will be able to test it on Linux soon since I am working on setting up a new Linux based web server. But as far as I remember, there is Bash for Windows too, just not by default. You can download it from the internet.

Very nice and I wasn't aware of that.  Is it only for Windows 10?
hero member
Activity: 1204
Merit: 531
Metaverse 👾 Cyberweapons
I could use it in a vanity address scraper as a part script, I guess. I will be able to test it on Linux soon since I am working on setting up a new Linux based web server. But as far as I remember, there is Bash for Windows too, just not by default. You can download it from the internet.
legendary
Activity: 2702
Merit: 1072
I do, Thanks.
It will give me a quick way to search for capital combinations in my case insensitive adres results

You're welcome and yes, the searches are case sensitive.  If you add the grep flag "-i" you can perform a case insensitive search but the script is currently setup to be accurate to your search terms case.

Feel free to modify it if you have a need for a change.  Smiley
hero member
Activity: 1568
Merit: 544
I do, Thanks.
It will give me a quick way to search for capital combinations in my case insensitive adres results
legendary
Activity: 2702
Merit: 1072
BTCump, anyone find this script useful yet?
legendary
Activity: 2702
Merit: 1072
I'm sharing my script which will allow you to search for specified Vanitygen output addresses in a directory or a single file.  The default directory is in the script and everything can be changed to your liking.  

You can search for a single address in all files, an address in a single file, or for all addresses in a directory.

Quote
#Vanitygen output file reader/searcher/aggregator
#
#file output is achieved with the following command
#./vanitygen -f addressfind.txt -k -o address.txt
#
#USAGE - ./CHECKADDY.sh "1SEARCHADDRESS" "address_list.txt" /home/custom_addy_dir/
#usage using default DIR showing all addresses - ./CHECKADDY.sh
#usage with SEARCHTERM - ./CHECKADDY.sh "1Digicoin"
#usage define DIR - ./CHECKADDY.sh "1Digicoin" "" /home/bct/vanitygen-master/AFOUNDdir/
#usage using FILE and blank search term - ./CHECKADDY.sh "1Digicoin" address.txt

Create a file named "CHECKADDY.sh" on your Linux box using the below linked script and run with one of the above usage commands!

CHECKADDY.sh - Vanitygen Output File Address Search Script

This bash script was built in Linux, but should work fully on Windows 10 with Bash.


Sample usage searching for specific addresses in ALL files:
user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh "1Digi"
Processing /home/bct/vanitygen-master/AFOUNDdir/address_easy_set1.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt file...
Number of addresses in file: 3
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_2.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_1.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_2.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_3.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_4.txt file...
Number of addresses in file: 0
Processing /home/bct/vanitygen-master/AFOUNDdir/address.txt file...
Number of addresses in file: 0
Total number of addresses: 3
Temp File Location - ( /home/bct/vanitygen-master/AFOUNDdir/tmp_Address_list.txt )
Address: 1DigivomtoYiWs7DPfnFwE6w2K6RLugUTL
Address: 1Digik7QKY5FZeqTVnWKjcMjocFM4kXuqy
Address: 1DigiGPdH6ZtKdicHVvGoBnCj4Tyki85wy


Sample usage searching for specific addresses in a single file:
user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh "1Digi" address_found_1Digi_1.txt
Number of addresses in file: 3
File Location - ( /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt )
Address: 1DigivomtoYiWs7DPfnFwE6w2K6RLugUTL
Address: 1Digik7QKY5FZeqTVnWKjcMjocFM4kXuqy
Address: 1DigiGPdH6ZtKdicHVvGoBnCj4Tyki85wy


Sample usage showing ALL addresses in default directory:
user@debkav:~# cd /home/bct/vanitygen-master/
user@debkav:/home/bct/vanitygen-master# ./CHECKADDY.sh
Processing /home/bct/vanitygen-master/AFOUNDdir/address_easy_set1.txt file...
Number of addresses in file: 552
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_1.txt file...
Number of addresses in file: 299
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1Digi_2.txt file...
Number of addresses in file: 412
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_1.txt file...
Number of addresses in file: 210
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_2.txt file...
Number of addresses in file: 226
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_3.txt file...
Number of addresses in file: 59
Processing /home/bct/vanitygen-master/AFOUNDdir/address_found_1TestAddy_4.txt file...
Number of addresses in file: 521
Processing /home/bct/vanitygen-master/AFOUNDdir/address.txt file...
Number of addresses in file: 101
Total number of addresses: 2380
Temp File Location - ( /home/bct/vanitygen-master/AFOUNDdir/tmp_Address_list.txt )

View results? (2380 found)
1) Yes
2) No
#?

Address: 1D1jcC1Scaaxss3btL7qwYaDck7WtM7Q9A
Address: 1D1P3SQ9eeitieWTHdeVmAKbKUJmQFQEyx
and so on if you chose Yes....
Listing will show ALL 2380 addresses, only showing 2 in this example as 2380 lines of text is absurdly long.
Otherwise, addresses can be viewed in the temporary file, tmp_Address_list.txt
Jump to: