Bitcoin Forum
January 17, 2018, 03:59:03 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 [108] 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 ... 173 »
  Print  
Author Topic: Vanitygen: Vanity bitcoin address generator/miner [v0.22]  (Read 1104803 times)
josephno1
Full Member
***
Offline Offline

Activity: 140

Get Free Mobile Data http://get.kickbit.com/1/oexq


View Profile
May 05, 2015, 11:43:22 PM
 #2141



Is it normal for this program to take this long?

I am running it with the following commands.
-i 1Joseph

I left it there overnight and it is still not done

1516161543
Hero Member
*
Offline Offline

Posts: 1516161543

View Profile Personal Message (Offline)

Ignore
1516161543
Reply with quote  #2

1516161543
Report to moderator
1516161543
Hero Member
*
Offline Offline

Posts: 1516161543

View Profile Personal Message (Offline)

Ignore
1516161543
Reply with quote  #2

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

Activity: 378

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
May 05, 2015, 11:51:59 PM
 #2142

Yes, it is normal for it to take this long.  1Joseph is a very difficult prefix to bruteforce, since the first 6 varying base 58 digits need to all match.

The difficulty is 15058417127, and my machine reports 8 hours to 50% chance. That means that I am going to have a 50 percent chance of getting a match within 8 hours. Depending on luck it could be in a minute, or take days to find a match.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
May 06, 2015, 12:15:18 AM
 #2143

Just to add to hexafraction's comment - which is factually correct - your screenshot shows a bunch of CPU vs GPU mismatches - and that is not normal (or at least, not supposed to happen very often).  Basically the OpenCL code tries to get a vanity, reports what it believes should be a match, and that is then double-checked with the CPU (which is known to perform the calculations correctly whereas the OpenCL implementation might fail).  If they match, no problem.  If they don't match, no vanity is actually found.  Having this many mismatches might mean your card's not supported or itself has issues or needs driver updates or... etc.  Lord knows with that stuff and unmaintained code Smiley

hexafraction
Sr. Member
****
Offline Offline

Activity: 378

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
May 06, 2015, 12:19:18 AM
 #2144

Just to add to hexafraction's comment - which is factually correct - your screenshot shows a bunch of CPU vs GPU mismatches - and that is not normal (or at least, not supposed to happen very often).  Basically the OpenCL code tries to get a vanity, reports what it believes should be a match, and that is then double-checked with the CPU (which is known to perform the calculations correctly whereas the OpenCL implementation might fail).  If they match, no problem.  If they don't match, no vanity is actually found.  Having this many mismatches might mean your card's not supported or itself has issues or needs driver updates or... etc.  Lord knows with that stuff and unmaintained code Smiley

Worse, it could indicate overheating or hardware damage in your GPU's hardware, possibly manifesting in the inability to properly execute some OpenCL instruction (which, reasonably, might not have an effect on normal video rendering, but could show in mining a GPU-coin).

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
josephno1
Full Member
***
Offline Offline

Activity: 140

Get Free Mobile Data http://get.kickbit.com/1/oexq


View Profile
May 06, 2015, 02:09:16 AM
 #2145

Just to add to hexafraction's comment - which is factually correct - your screenshot shows a bunch of CPU vs GPU mismatches - and that is not normal (or at least, not supposed to happen very often).  Basically the OpenCL code tries to get a vanity, reports what it believes should be a match, and that is then double-checked with the CPU (which is known to perform the calculations correctly whereas the OpenCL implementation might fail).  If they match, no problem.  If they don't match, no vanity is actually found.  Having this many mismatches might mean your card's not supported or itself has issues or needs driver updates or... etc.  Lord knows with that stuff and unmaintained code Smiley

I checked and my graphics drivers are all up to date and the Gpu temp at the time was 45C

Yup something is wrong with my gpu since I tried just generating 1j and that didn't work

xhomerx10
Legendary
*
Offline Offline

Activity: 1540



View Profile
May 06, 2015, 04:37:50 AM
 #2146

Just to add to hexafraction's comment - which is factually correct - your screenshot shows a bunch of CPU vs GPU mismatches - and that is not normal (or at least, not supposed to happen very often).  Basically the OpenCL code tries to get a vanity, reports what it believes should be a match, and that is then double-checked with the CPU (which is known to perform the calculations correctly whereas the OpenCL implementation might fail).  If they match, no problem.  If they don't match, no vanity is actually found.  Having this many mismatches might mean your card's not supported or itself has issues or needs driver updates or... etc.  Lord knows with that stuff and unmaintained code Smiley

I checked and my graphics drivers are all up to date and the Gpu temp at the time was 45C

Yup something is wrong with my gpu since I tried just generating 1j and that didn't work

 If you have an AMD radeon GPU, openCL was broken with Catalyst drivers after 12.6 (I'm not sure of the exact version).  It looks like you have the same issue I was having - I removed all the Catalyst drivers using this - http://www.techspot.com/drivers/driver/file/information/16748/ and reinstalled catalyst 14.9 and used the openCL drivers from APP SDK 2.7 which fixed the problem for me.  I can't find the link anymore but some guy actually wrote a batch to remove the offending files and instructions on how to get vanitygen working again which is actually safer than using the tool in the link above!  If I come across it, I'll post a link.


Don't let sidehack fade away...【ツ】Buy him a burger!   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
josephno1
Full Member
***
Offline Offline

Activity: 140

Get Free Mobile Data http://get.kickbit.com/1/oexq


View Profile
May 06, 2015, 05:52:45 AM
 #2147

Just to add to hexafraction's comment - which is factually correct - your screenshot shows a bunch of CPU vs GPU mismatches - and that is not normal (or at least, not supposed to happen very often).  Basically the OpenCL code tries to get a vanity, reports what it believes should be a match, and that is then double-checked with the CPU (which is known to perform the calculations correctly whereas the OpenCL implementation might fail).  If they match, no problem.  If they don't match, no vanity is actually found.  Having this many mismatches might mean your card's not supported or itself has issues or needs driver updates or... etc.  Lord knows with that stuff and unmaintained code Smiley

I checked and my graphics drivers are all up to date and the Gpu temp at the time was 45C

Yup something is wrong with my gpu since I tried just generating 1j and that didn't work

 If you have an AMD radeon GPU, openCL was broken with Catalyst drivers after 12.6 (I'm not sure of the exact version).  It looks like you have the same issue I was having - I removed all the Catalyst drivers using this - http://www.techspot.com/drivers/driver/file/information/16748/ and reinstalled catalyst 14.9 and used the openCL drivers from APP SDK 2.7 which fixed the problem for me.  I can't find the link anymore but some guy actually wrote a batch to remove the offending files and instructions on how to get vanitygen working again which is actually safer than using the tool in the link above!  If I come across it, I'll post a link.



Found the batch file!

https://github.com/samr7/vanitygen/issues/19

cd C:\Windows\System32
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl64.dll
del OpenCL.dll
del OpenVideo64.dll
del OVDecode64.dll

cd C:\Windows\SysWOW64
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl.dll
del OpenCL.dll
del OpenVideo.dll
del OVDecode.dll

rmdir C:\ProgramData\AMD\KDB /S /Q

hexafraction
Sr. Member
****
Offline Offline

Activity: 378

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
May 06, 2015, 10:02:13 AM
 #2148


Found the batch file!

https://github.com/samr7/vanitygen/issues/19

cd C:\Windows\System32
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl64.dll
del OpenCL.dll
del OpenVideo64.dll
del OVDecode64.dll

cd C:\Windows\SysWOW64
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl.dll
del OpenCL.dll
del OpenVideo.dll
del OVDecode.dll

rmdir C:\ProgramData\AMD\KDB /S /Q

I wouldn't delete those files just yet--maybe rename them to foo.dll.old, in case the reinstallation of the correct version fails for any reason.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
xhomerx10
Legendary
*
Offline Offline

Activity: 1540



View Profile
May 06, 2015, 12:11:26 PM
 #2149


Found the batch file!

https://github.com/samr7/vanitygen/issues/19

cd C:\Windows\System32
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl64.dll
del OpenCL.dll
del OpenVideo64.dll
del OVDecode64.dll

cd C:\Windows\SysWOW64
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl.dll
del OpenCL.dll
del OpenVideo.dll
del OVDecode.dll

rmdir C:\ProgramData\AMD\KDB /S /Q

I wouldn't delete those files just yet--maybe rename them to foo.dll.old, in case the reinstallation of the correct version fails for any reason.

 Well that worked best for me with no issues at all and it took a lot less time than the uninstall/reinstall with a previous APP SDK which did not work because it left those files lying around.

Don't let sidehack fade away...【ツ】Buy him a burger!   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
May 08, 2015, 08:16:46 PM
 #2150

Tried putting the regex in a file and providing it with the -f option, but vanitygen just returned immediately
You still need -r as well, e.g.: vanitygen64 -r -f regex.lst

This works great (in general).  Follow up, if I have a really long conjunction of |s in my pattern, I get "No patterns to search", but a shorter list works fine.

Code:
tspacepilot@god:~/src/vanitygen$ ./vanitygen -r -f longlist
No patterns to search
tspacepilot@god:~/src/vanitygen$ ./vanitygen -r -f shortlist
Pattern: ^1(1st|2nd|3rd|4th|5th|6th|7th|8th|9th|a|aaa|aaas|aarhus|aaron|aau|aba|ababa|aback|abacus|abaft|abandon|abandoned|abandoning|abandonment|abandons|abase|abased|abasement|abasements|abases|abash|abashed|abashes|abashing|abasing|abate|abated|abatement|abatements|abater|abates|abating|abbas|abbe|abbey|abbeys|abbot|abbots|abbott|abbreviate|abbreviated|abbreviates|abbreviating|abbreviation|abbreviations|abc|abdicate|abdomen|abdomens|abduct)+
Address: 1abP1hS2An7sho3ceT6QjvfwBL2et5gcK
...

My question is what is the threshold?  Is it the number of conjuncts?  Or is it the length of the file in chars?  I'm guessing its the actual length in chars but I haven't trolled about in the source code enough to figure it out.  I figured someone on here may know offhand.

Thanks again!  I'm having a lot of fun with vanitygen.

TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
May 08, 2015, 08:43:23 PM
 #2151

I'm guessing its the actual length in chars but I haven't trolled about in the source code enough to figure it out.  I figured someone on here may know offhand.
Didn't know off-hand - is probably something in the regex parser anyway - but a quick check shows it might be 16,384 bytes.

Are you trying to feed vanitygen a whole dictionary?  Not sure that's the most efficient way to go Smiley

tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
May 08, 2015, 08:46:39 PM
 #2152

I'm guessing its the actual length in chars but I haven't trolled about in the source code enough to figure it out.  I figured someone on here may know offhand.
Didn't know off-hand - is probably something in the regex parser anyway - but a quick check shows it might be 16,384 bytes.

Are you trying to feed vanitygen a whole dictionary?  Not sure that's the most efficient way to go Smiley

Okay, I admit it yes Smiley  I didn't expect it to be efficient, though, just thought I'd see if I could make it try (Note: for me I'm almost always interested in first finding out what i can do and then, afterward, evaluating what should do separately).  I'll put the 16,384 hypothesis to an empirical test.  Thanks, TheRealSteve

EDIT:

You were right!

Code:
tspacepilot@god:~/src/vanitygen$ wc okay
    1     1 16384 okay
tspacepilot@god:~/src/vanitygen$ ./vanitygen -k -r -f okay
[25.04 Kkey/s][total 2048]                                                     ^C
tspacepilot@god:~/src/vanitygen$ wc toolong
    1     1 16385 toolong
tspacepilot@god:~/src/vanitygen$ ./vanitygen -k -r -f toolong
No patterns to search

hexafraction
Sr. Member
****
Offline Offline

Activity: 378

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
May 08, 2015, 09:00:54 PM
 #2153

At the point where you are dealing with such a huge dictionary, it might be time to consider moving from a regex to a custom application that is designed to very quickly look up prefixes (e.g. using a Trie modified for prefix searching or O(1)-contains set of some sort).

I would be glad to make something of the sort in Java. Just PM me and I'll find a time to do it.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
May 08, 2015, 09:01:17 PM
 #2154

Yeah, looks like it's limited in util.c, function vg_read_file:
Code:
const int blksize = 16*1024;
I haven't checked if you can just arbitrarily adjust that.

Of course you can always try putting more patterns on additional lines.  the letter 'A' for my dictionary file seems like it would be 2 lines, so... Smiley

Good luck Wink

tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
May 08, 2015, 09:25:22 PM
 #2155

At the point where you are dealing with such a huge dictionary, it might be time to consider moving from a regex to a custom application that is designed to very quickly look up prefixes (e.g. using a Trie modified for prefix searching or O(1)-contains set of some sort).

I would be glad to make something of the sort in Java. Just PM me and I'll find a time to do it.

I appreciate the offer.  But I wouldn't want to set anyone to doing this work without offering some sort of bounty, and as I'm basically just screwing around, I don't really have money to offer for it.  Again, thanks though!  If you're inspired to do this work on your own and you can also write in C, perhaps you'd consider submitting a patch to the vanitygen repo Smiley

Yeah, looks like it's limited in util.c, function vg_read_file:
Code:
const int blksize = 16*1024;
I haven't checked if you can just arbitrarily adjust that.

Of course you can always try putting more patterns on additional lines.  the letter 'A' for my dictionary file seems like it would be 2 lines, so... Smiley

Good luck Wink

Thanks Steve, I may screw around with that const depending on just how much fun I feel like having this afternoon Smiley

hexafraction
Sr. Member
****
Offline Offline

Activity: 378

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
May 08, 2015, 09:27:53 PM
 #2156

Hmm, it looks like it actually works with the option
Code:
-f wordlistFileName
with the wordlist in the form:

Code:
1foo
1bar
1baz

It will search in any order (i.e. the first match for any is printed)

I also used -i but it is up to you whether you want case-sensitive or not. It seems that the -i must be before -f wordlistFileName

Output is like:

Code:
hexafraction@wlan1-loopback /tmp> vanitygen -i -f ptn2
Prefix '1besides' ignored, overlaps '1beside'
Prefix '1breathe' ignored, overlaps '1breath'
Prefix '1completely' ignored, overlaps '1complete'
Prefix '1seriously' ignored, overlaps '1serious'
Prefix '1shoulder' ignored, overlaps '1should'
Prefix '1shouldnt' ignored, overlaps '1should'
Prefix '1suddenly' ignored, overlaps '1sudden'
Prefix '1thought' ignored, overlaps '1though'
Prefix '1werent' ignored, overlaps '1were'
Next match difficulty: 2413370 (278 prefixes)
Pattern: 1shed                                                                 
Address: 1sHeD5XXXXXXXXXX
Privkey: 5BLAHBLAHBLAH
Next match difficulty: 2826646 (277 prefixes)
Pattern: 1were                                                                 
Address: 1wEREGYYYYYYYYY
Privkey: 5YADAYADAYADA
Next match difficulty: 3410710 (276 prefixes)

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
May 08, 2015, 09:34:57 PM
 #2157

Yep, that works too.  Still wouldn't want to feed it a whole dictionary file, but that should still work.  Regex just adds the possibility of allowing matches somewhere other than the start - which on one hand means more valid addresses, but on the other means a slower search Smiley

tspacepilot
Legendary
*
Offline Offline

Activity: 1400


I may write code in exchange for bitcoins.


View Profile
May 08, 2015, 09:50:10 PM
 #2158

Yep, that works too.  Still wouldn't want to feed it a whole dictionary file, but that should still work.  Regex just adds the possibility of allowing matches somewhere other than the start - which on one hand means more valid addresses, but on the other means a slower search Smiley

Should also allow kleene star (or kleene +), and it looks like it also does the extentions of {2,5}... etc.  So if you wanted at least two words from your wordlist file you'd need:

1(w1|w2|w3...){2}

But I think you can't get that with just the flat wordlist.

MARCELLO
Newbie
*
Offline Offline

Activity: 16


View Profile
May 14, 2015, 02:48:58 AM
 #2159

Make the program as SAMInside, only an attack on the private key?
TheRealSteve
Hero Member
*****
Offline Offline

Activity: 686

FUN > ROI


View Profile
May 14, 2015, 07:48:16 AM
 #2160

Make the program as SAMInside, only an attack on the private key?
Vanitygen is a completely different project.  There are existing projects for trying to attack a private key, but these are mostly dictionary-based (for keys generated from mnemonics).  Brute-forcing a private key is considered unfeasible.  There's plenty of pre-existing threads on this, have your pick Smiley
https://www.google.com/webhp#q=site%3Abitcointalk.org%20crack%20private

Pages: « 1 ... 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 [108] 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 ... 173 »
  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!