Bitcoin Forum

Other => Beginners & Help => Topic started by: Aresdos on June 18, 2011, 08:05:26 AM



Title: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 18, 2011, 08:05:26 AM
So all night I've been searching for a portable bitcoin wallet client for my USB drive, and the closest I was to getting that was the shortcut/batch solution...
So I tried the batch solution, did some tweaking, and now I've made a .exe file that will open your bitcoin client and save in a, more portable, data directory. I organized it a bit as well so that it is easier to just copy the folder from the zip and go. ;)

I thought this would be a perfect way to introduce my name into the Bitcoin community, especially since I already saw a post asking for something for this: http://forum.bitcoin.org/?topic=809.0

Anyways, have fun and I hope you all enjoy it! :D

(And just a small note... You really gotta read the README just to be safe...) :o


Download Links
- Current Release -
Version 1.4.0: BitcoinPortable_v1.4.0_(r0.6.3).zip - 11.39 MB (http://www.fileswap.com/dl/VXTtcIoWWE/BitcoinPortable_v1.4.0_(r0.6.3).zip.html)

- Older Releases -
Version 1.3.1: BitcoinPortable_v1.3.1.zip - 6.99 MB (http://www.fileswap.com/dl/QP2Vnl7l/BitcoinPortable_v1.3.1.zip.html)
Version 1.3: BitcoinPortable_v1.3.zip - 6.99 MB (http://www.fileswap.com/dl/fNkQ2hy/BitcoinPortable_v1.3.zip.html)
Version 1.2: BitcoinPortable_v1.2.zip - 6.44 MB (http://www.fileswap.com/dl/0JsDaGd/BitcoinPortable_v1.2.zip.html)
Version 1.1: BitcoinPortable_v1.1.zip - 6.43 MB (http://www.fileswap.com/dl/EaDXIUtu/BitcoinPortable_v1.1.zip.html)
Version 1.0: BitcoinPortable_v1.0.zip - 6.43 MB (http://www.fileswap.com/dl/IbrOvUb3/BitcoinPortable_v1.0.zip.html)


Update Information
Version 1.4.0: Fixed for Bitcoin-QT and upgraded to version 0.6.3.
Version 1.3.1: Updated README with an important disclaimer for the Wallet Manager.
Version 1.3: Updated kit, added "data" folder to assure that the wallet data is created properly. Added "Wallet Manager" to easily copy a wallet between standard Bitcoin Clients and the Portable Bitcoin Client.
Version 1.2: Newer conversion & compilation program, the Bitcoin Launcher now starts up in half the time or better.
Version 1.1: Cleaned up files into a single executable with a single portable folder. It seems easier to copy 2 things as opposed to 4.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: enhance25 on June 18, 2011, 09:00:03 AM
Probably not safe.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 18, 2011, 09:29:57 AM
Lol, then try with a new PC, safe environment or whatever?  :P
I swear, I really hope you guys are smart enough to know how to test stuff xD
If not, I'll just lmao and give you a tutorial on that TOO..  ;D


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Coinographer on June 18, 2011, 09:39:01 AM
Case is, that if it isn't official People feel very unsafe about how it's handled. The program could have some inserted frauds etc.

I, myself don't need it and i have no clue how it can be tested to be clean.

Otherwise nice contribution.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 18, 2011, 10:00:12 AM
Case is, that if it isn't official People feel very unsafe about how it's handled. The program could have some inserted frauds etc.

I, myself don't need it and i have no clue how it can be tested to be clean.

Otherwise nice contribution.

Thanks, I worked my butt off all night on it...
Also, you can test by getting a packet checker (or even regular virus software) and scan what the program does... I honestly don't have the time to program anything mischevious, especially this late at night lol...
Still, I hope people find a good use for it...
It only has a tiny handful of unofficial files, the rest are a direct copy from the newest release.
The only different thing is mine has a launcher (so it'll load the specific data file) and it has a readme so no one accidentally makes a separate data file, lol :P


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Athenus on June 18, 2011, 11:02:21 AM
You should publish the source code of the .exe you made, otherwise it's way too time consuming the verify it's legal. The only way to test it now is by reverse engineering your code, verify everything, double check it doesn't make connections to the internet, etc. Very few people can do this, even "normal" programmers probability won't be able to verify it 100%. So yeah, this shouldn't be trused.

Again, release the source code so we can review it and compile it ourselves.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: bullox on June 18, 2011, 11:07:37 AM
You should publish the source code of the .exe you made, otherwise it's way too time consuming the verify it's legal. The only way to test it now is by reverse engineering your code, verify everything, double check it doesn't make connections to the internet, etc. Very few people can do this, even "normal" programmers probability won't be able to verify it 100%. So yeah, this shouldn't be trused.

Again, release the source code so we can review it and compile it ourselves.
This x 1000

Otherwise its just another homeless guy on the street asking to inspect your wallets contents.  Seems legit right?


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: nuclearstar on June 18, 2011, 11:23:43 AM
indeed source code MUST be published before you can even expect anyone to test out your program.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 18, 2011, 07:39:37 PM
Lol, you're all so touchy about it... Okay, here's the source:

Code:
BitcoinFiles\bitcoin.exe -datadir=.\data

Surprised that it's batch? If you read the README then you would have learned that, lol.

I have a program that compiles batch to exe and it's perfect for making this thing work like a charm  ;D


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 19, 2011, 05:34:49 AM
Okay, I just updated the Portable Bitcoin Client (PBC) from version 1.0 to 1.1, now it's less clutter for copying and moving. Woot.  ;)


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 21, 2011, 12:28:17 AM
I almost forgot...
If anyone finds any bugs, just let me know and I'll do my best to fix what I can.  :D


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 21, 2011, 01:11:12 AM
Thanks!   ;D
And yeah, I just updated it to 1.2 cause I got tired of the slow startup speeds... I made it more than twice as fast.. *happy face*
And hmm, win-rar? Sounds like it's worth looking into... And glad to see great minds think alike haha ^^


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: gangstarasp on June 21, 2011, 01:24:06 AM
sounds like a good idea, just need more safe checking into the code and reps from people.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 21, 2011, 01:30:43 AM
sounds like a good idea, just need more safe checking into the code and reps from people.

Yeah, the code for the bitcoin launcher is batch, so it's very simplistic...
Code:
Start BitcoinPortable\Bitcoin\bitcoin.exe -datadir=.\BitcoinPortable\data

As stated above, I just convert the batch to exe and try to find ways to make it easier to execute.
I use a program that runs the batch file through UPX and a few other programs to make it what it is now, it makes the creation of it as easy as Pi. (Cause I hate Pie)
I mean, if it would make people happier, I could record myself showing the source code, compiling and all, but then what's the point? lol


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: BitBuster on June 21, 2011, 01:45:45 AM
Regardless, post the source so that people are able to inspect and compile (and if they feel like it, improve/customize) it themselves. Not posting source code, however small, is a massive alarm bell.

Is it a rule of the forum that alternative clients must have source attached? If not then perhaps it should be.


BB.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: mike85123 on June 21, 2011, 01:47:26 AM
what happens if you lose your USB drive? I am sure most people have lost one or two..


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: SomeoneWeird on June 21, 2011, 01:55:25 AM
So all night I've been searching for a portable bitcoin wallet client for my USB drive, and the closest I was to getting that was the shortcut/batch solution...
So I tried the batch solution, did some tweaking, and now I've made a .exe file that will open your bitcoin client and save in a, more portable, data directory. I organized it a bit as well so that it is easier to just copy the folder from the zip and go. ;)

I thought this would be a perfect way to introduce my name into the Bitcoin community, especially since I already saw a post asking for something for this: http://forum.bitcoin.org/?topic=809.0

Anyways, have fun and I hope you all enjoy it! :D

(And just a small note... You really gotta read the README just to be safe...) :o


Download Links
- Current Release -
Version 1.2: BitcoinPortable_v1.2.zip - 6.44 MB (http://www.fileswap.com/dl/0JsDaGd/BitcoinPortable_v1.2.zip.html)

- Older Releases -
Version 1.1: BitcoinPortable_v1.1.zip - 6.43 MB (http://www.fileswap.com/dl/EaDXIUtu/BitcoinPortable_v1.1.zip.html)
Version 1.0: BitcoinPortable_v1.0.zip - 6.43 MB (http://www.fileswap.com/dl/IbrOvUb3/BitcoinPortable_v1.0.zip.html)


Update Information
Version 1.2: Newer conversion & compilation program, the Bitcoin Launcher now starts up in half the time or better.
Version 1.1: Cleaned up files into a single executable with a single portable folder. It seems easier to copy 2 things as opposed to 4.

Either post the source or PM it to me or this is getting locked.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on June 21, 2011, 03:28:28 AM
Either post the source or PM it to me or this is getting locked.

Lol, there's your PM... I don't understand how a group of people can see two source codes and still think it's fake?
Simple, the above source code + batch compiler = program.  :D


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: film2240 on July 14, 2011, 09:22:18 AM
Probably not safe.
I ran a virus/malware scan and its all clear for me.Hope this helps.If in doubt,either don't run it or run in a virtual machine or sandbox app.



Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on July 14, 2011, 08:56:35 PM
Probably not safe.
I ran a virus/malware scan and its all clear for me.Hope this helps.If in doubt,either don't run it or run in a virtual machine or sandbox app.
Thanks for sharing the info, I was about to just delete the topic cause no one cared much for it lol..  :P


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: deepceleron on July 14, 2011, 11:35:30 PM
This would be a more helpful and trustworthy thread if it was just instructions and no binary, i.e.:

How to make a portable bitcoin:
1. Copy bitcoin.exe to USB drive \bitcoin
2. copy bitcoin user directory contents to USB drive \bitcoin\data
3. run bitcoin.exe -datadir=.\data, or save this command as a bat file
4. don't lose USB drive

A real "creator of the portable bitcoin client" would just release a diff against the source code that changes the default directory. A binary would only be trustworthy if several people compile and get MD5 identical code, and the binary is hosted at a versioning URL unchangeable by the author.

Of course, there are already instructions, which should make you question the binary more: http://forum.bitcoin.org/?topic=809.0


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on July 15, 2011, 09:10:23 AM
This would be a more helpful and trustworthy thread if it was just instructions and no binary, i.e.:

How to make a portable bitcoin:
1. Copy bitcoin.exe to USB drive \bitcoin
2. copy bitcoin user directory contents to USB drive \bitcoin\data
3. run bitcoin.exe -datadir=.\data, or save this command as a bat file
4. don't lose USB drive

A real "creator of the portable bitcoin client" would just release a diff against the source code that changes the default directory. A binary would only be trustworthy if several people compile and get MD5 identical code, and the binary is hosted at a versioning URL unchangeable by the author.

Of course, there are already instructions, which should make you question the binary more: http://forum.bitcoin.org/?topic=809.0

Lol, it almost looked like you accused me... I was about to find me a moderator, record what I do to make this, then rub it in some faces..  8)
Either way, I'm slowly working on increasing the usability with each version and I doubt everyone wants to code the batch each time. My little kit really "babies" it so an idiot could use it, hehe. And pst.. I used the same instructions to base the binary, bro.. Silly little wisecrack xD
Ah, okay, I'm done trolling you...  ;) But seriously, I don't screw with your threads and people have already been scanning it, so what more do you want other than to make flame posts to merely raise your "post count"?  :o


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on July 15, 2011, 09:13:47 AM
Okay, now for the main attraction... I'm releasing PBC version 1.3!
I've created a Wallet Manager is open batch cause the guy above me is a *****, and yes I censored myself but you can count the stars and make a good guess!  ;)
The Wallet Manager is made to copy your bitcoin client between your PC and Portable Bitcoin Client, in case I'm not the only one that has multiple clients with the same wallet...
So enjoy, and I'll think about actually taking his advice and re-coding the original bitcoin client to save in a local data folder, but I'm much better playing with my batch for now.. xP


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: deepceleron on July 15, 2011, 10:19:01 AM
I just don't see the need to roll bitcoin into an obfuscated exe to run a command line option, there aren't too many people using bitcoin that can't do that, and I am apprehensive that you think this is novel.

If you are going to be copying wallets around for people (which might actually be of utility if done right, but again, you haven't spelled out that you understand why you are doing it), it is very important you understand the 100 key (https://en.bitcoin.it/wiki/Securing_your_wallet) problem. I'll just cut and paste here for reference:

The wallet contains a pool of queued keys. By default there are 100 keys in the key pool. The size of the pool is configurable using the "-keypool" command line argument. When you need an address for whatever reason (send, “new address”, generation, etc.), the key is not actually generated freshly, but taken from this pool. A brand new address is generated to fill the pool back to 100. So when a backup is first created, it has all of your old keys plus 100 unused keys. After sending a transaction, it has 99 unused keys. After a total of 100 new-key actions, you will start using keys that are not in your backup. Since the backup does not have the private keys necessary for authorizing spends of these coins, restoring from the old backup will cause you to lose Bitcoins.

To summarize, as long as less than 100 addresses are ever used per wallet (and you know this wasn't overridden at the command line because your program can actually understand the berkley db format used in wallet.dat), you can have multiple copies of the wallet on several client instances, and all of them can send and receive bitcoins. However you are opening a pandora's box, because even with deep inspection of wallet contents, you can not avoid the potential for monetary loss by users when arbitrarily copying around wallets.

I will spell out the chronology of how you directly can cause and enable losses (by the way, this somewhat applies to wallet backups too):

1: I have a wallet with 200 unique addresses and corresponding private keys for re-sending those addresses' funds,
2: I let your utility copy my wallet to a USB stick,
3: I run the local computer version of bitcoin, press "generate new address", and receive bitcoins at it,
4: I run the portable usb version of bitcoin, press "generate new address", and receive bitcoins at it,
5: Now the seperate wallets are the only ones that can send their respective bitcoins,
6: Your program copies one of these wallets over the other one, and I lose the ability to send all the bitcoins that were at that address.

I hope your idea for a "wallet manager" isn't a copy command in a batch file that you ran through your BAT2EXE... I doubt it can understand the -datadir option I'm already using to frustrate trojans that are just as naïve (http://www.opensc.ws/keyloggers-stealers/15132-bitcoin-wallet-dat-ftp-stealer-source.html").


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on July 15, 2011, 05:17:49 PM
I hope your idea for a "wallet manager" isn't a copy command in a batch file that you ran through your BAT2EXE... I doubt it can understand the -datadir option I'm already using to frustrate trojans that are just as naïve.
I was offended at your post opposing me again, but I saw the end and it was too primitively basic.
You see, to use the wallet manager, it helps to run it on your computer and keep a backup on the USB drive... Like a wallet!
I will, however, put a slight disclaimer in there though. thank you.
As for the quote above? That made me laugh... You are so naive that you entirely missed this:
Quote
I've created a Wallet Manager which is open batch cause the guy above me is a *****, and yes I censored myself but you can count the stars and make a good guess! ;)
(Side Note: And yeah, I bolded the part that you so easily missed. It was specifically to shut you up, and the fact that actual wallet management and movement should easily be open source because even I wouldn't trust a closed-source wallet manager. The reason the client is, is because it's easier to tell the icon apart from a simple batch file. If I could give a batch file an icon without needing another file, I would.)
And basically meaning that the wallet manager is "Wallet Manager.bat", a batch! But you wouldn't know shit about my program as you haven't even loaded the download site and looked at the posted list of the zip file. Before you accuse, open a damn sandbox and test this thing like any respective forum member, even try VMware or something like it. And yeah, THAT is how you properly test a suspicious file. I've taken my time studying how to actually test possible infected items, so I can know what I talk about before I bash something. But you just point the finger and are no better than the people at /b/.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Tritonio on September 28, 2011, 12:25:35 AM
There is also this portable wrapper which I made: https://bitcointalk.org/index.php?topic=944 (https://bitcointalk.org/index.php?topic=944)


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Transisto on September 29, 2011, 02:34:07 AM
There is also this portable wrapper which I made: https://bitcointalk.org/index.php?topic=944 (https://bitcointalk.org/index.php?topic=944)
Awesome


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Yeats on September 29, 2011, 04:41:12 AM
Thanks!   ;D
And yeah, I just updated it to 1.2 cause I got tired of the slow startup speeds... I made it more than twice as fast.. *happy face*
And hmm, win-rar? Sounds like it's worth looking into... And glad to see great minds think alike haha ^^

First person I know that paid for winrar. Lol


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on September 09, 2012, 06:36:33 AM
Back into Bitcoin again and decided to post my most recent change to the Bitcoin Portable Client for USB.
Though honestly, I don't use this one much anymore because I just created myself a Web App to access my wallet at Blockchain.info haha..  :D

Edit: Lmao, why would I pay for winrar? I got the portable version for free, just because I can.. Though I prefer 7-zip really..


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: legolouman on September 09, 2012, 06:44:41 AM
Either post the source or PM it to me or this is getting locked.

Lol, there's your PM... I don't understand how a group of people can see two source codes and still think it's fake?
Simple, the above source code + batch compiler = program.  :D

People here are wary of programs, especially ones that come from untrusted/new people. Normally any code is posted in a github.


Title: Re: [RELEASE] Portable Bitcoin Client (for USB use!)
Post by: Aresdos on September 13, 2012, 02:06:02 PM
People here are wary of programs, especially ones that come from untrusted/new people. Normally any code is posted in a github.

Understandable, but I don't consider over a year of membership being "new," granted I haven't been on in a while.. But when I basically already showed the code and method I was using, its hard to understand why people will fuss about it. I'm not using an actual compiler so I can't just github it. I'm using a program to convert batch into a binary, however I recently started a C++ class in college so I'm very much considering making a binary.. It won't be as invisible as this one, but I'll do the job.. In fact, I think I'll start right now just to time myself on it.