Can’t login using PowerShell to Raspberry Pi running Windows IoT [SOLVED]

0

Posted by Cynic | Posted in .NET, C#, Software, Solutions to Problems, Windows | Posted on 03-10-2015

Tags: , , ,

I’ve seen a few people having problems using PowerShell to log into their Raspberry Pi 2 that’s running Windows IoT. If you’re here, you’re already frustrated, so here’s what worked for me…

Restart WinRM using these 2 commands:

net stop winrm

net start winrm

Next, instead of using the device name for your Raspberry Pi 2, use the IP address like this in PowerShell:

Enter-PsSession -ComputerName 192.168.10.111 -Credential 192.168.10.111\Administrator

And yes… I understand that it sounds stupid, but I tried everything else and nothing worked. The above worked for me. YMMV. Good luck!

Oh, also, it took a minute or two to complete, so just be patient. If it fails, my only other advice is to find a baseball bat. 🙂

Crypto Wallet Backup – Adds Testnet and CONF files

0

Posted by Cynic | Posted in .NET, Bitcoin, C#, Money, Software, Solutions to Problems | Posted on 29-03-2014

Tags: , , ,

This is an updated version of the GUI version of Crypto Wallet Backup.

It adds in 2 things:

  • Testnet folders
  • *.conf files

There are no other functional changes.

If you use testnet, and need your testnet wallet, then this is what you want.

If you also want to back up your *.conf files, then this is what you want.

I added these because I lost a truckload of testnet coins that I needed for some other software development. They took me a good deal of effort to get, and thanks to a software blunder… POOF they went! Sigh… Lesson learned… again… the hard way… as always…

I added in *.conf files because, well, might as well do that too as I’m sure some people might find it useful.

crypto-wallet-backup-add-testnet-conf

The 2 new options are obvious.

Download Crypto Wallet Backup v1.1 < Program Only

Download Crypto Wallet Backup v1.1 source < Source Code Only (not elegant, but effective)

The program is the same otherwise… well, I did freeze the form while the backup occurs, but it unfreezes once the backup is completed. That’s the only other change, and it’s only cosemetic. So, for more information, check out the original post here.

Hopefully that will help save some pain for someone.

Cheers,

Ryan

Crypto Wallet Backup Console Version with ZIP and Password Protection

0

Posted by Cynic | Posted in .NET, Bitcoin, C#, Software | Posted on 01-02-2014

Tags: , , ,

Crypto Wallet BackupI’ve added in a couple new features. Instead of the backup simply being a folder with all the files, it’s now a ZIP file. Also, there’s an option to password protect the ZIP file.

DOWNLOAD

To use it, simply download it, unzip it into the same folder as the GUI version of Crypto Wallet Backup.

The console application takes 2 arguments (parameters) in order:

  1. Backup file list (“backup-file-list.txt” by default)
  2. Password

Those are optional. If you don’t supply any arguments, then the program simply creates the backup as a ZIP file.

If you do use the arguments, you must supply a backup file list file even if you want to only use the password. However, you can supply a non-existent file (garbage input) like “asdf” and the program will use the default listed above (backup-file-list.txt).

The second argument is a password. You can’t use quotes in it because command line arguments use quote for delimiting arguments. Also, if you use spaces, you must quote the entire password. For example, if your password is:

this is my password

Then your command line should look like this:

CryptoWalletBackupConsole.exe asdf “this is my password”

You can schedule that with the Windows Task Manager to create backups on a predetermined schedule.

The source code is included in the download.

The code is well commented, and the “hacky” areas where I’ve taken shortcuts are explained if anyone feels like “doing it right”. e.g. Some verifications could be done in a more robust way and the file copying could be done directly to a stream to zip up.

The program uses the DotZip library (Ionic.Zip.dll), so that must be present.

DOWNLOAD

Cheers,

Ryan

Crypto Wallet Backup Console Version

0

Posted by Cynic | Posted in .NET, Bitcoin, C#, Software | Posted on 31-01-2014

Tags: , , ,

Crypto Wallet BackupSomeone asked me for some more features for the Crypto Wallet Backup program, so I’ve got a quick update with some of those.

This download requires the previous version. It’s just a console version that you can use in the Windows Task Scheduler for scheduled backups. It doesn’t do any zipping or encryption though – just the same basic backup as the Crypto Wallet Backup program.

CLICK HERE TO DOWNLOAD CONSOLE VERSION

The ZIP file includes the source code and the program.

Just unzip it and put it in the same folder as your GUI version. (Link to that above.)

It’s a console application and takes 1 argument: a file with a list of files to backup (1 per line). That’s the same as the backup-file-list.txt file that the GUI version creates automatically for you. So, if you want, you can copy or rename that file and manually add files.

Here’s a screenshot of the output:

crypto-wallet-backup-console

Ignore the “W” characters – they’re the slashes on my system as I’ve got it set to Korean.

So, to use the command line with a file, you’d type something like this:

CryptoWalletBackupConsole.exe file.txt

It reads the file for the list of files that you want to back up, then creates the same kind of folder as the original GUI version of the program, and copies all those files there as a backup for you. The console outputs the names of all the files it backs up.

I’ll try to get more added to it, e.g. zipping the backup, allowing for encryption, etc., as time allows.

Cheers,

Ryan

Cartesian Product Password Combination Generator

2

Posted by Cynic | Posted in Bitcoin, C#, Logic, Software | Posted on 01-01-2014

I was motivated to fix this up password combination generator after reading yet another poor fellow on Reddit’s /r/bitcoin who had lost his wallet password. Don’t know if this will help him, but hopefully he’ll get his Bitcoins back.

A while back I worked on a computing device artificial intelligence language corpus project for one of the top major mobile phone manufacturers. As part of the job I created a tool to help me create language variations using a Cartesian Product (CROSS JOIN). I’ve ripped the project apart, gutted it, and fashioned it into a password combination generator.

Here’s the basic usage and reason… Many people use password phrases instead of random passwords. They are easier to remember and can actually increase the level of entropy for a password, which makes it more secure. If you’re one of those people, then this utility is for you.

Now, imagine that your password follows this pattern:

  1. Favourite animal
  2. Favourite actor
  3. Favourite ice cream

All of those are strung together something like this:

alligatorbradpittchocolate

If you’re like many people, your favourite things change from time to time. Several months later, you may be wondering if your favourite animal was an ant, alligator or crocodile, and whether you thought Brad Pitt was better than Clint Eastwood, etc. etc.

Oh, and how did you spell Brad Pitt inside the password?

  • bradpitt
  • BradPitt
  • Brad Pitt
  • brad pitt

And was it chocolate or vanilla was it…???

Before you know it, your password combinations are insanely large. From just the very few options above (excluding Clint Eastwood just to make this shorter), those turn out to be like this:

  • antbradpittchocolate
  • antbradpittvanilla
  • antBradPittchocolate
  • antBradPittvanilla
  • antbrad pittchocolate
  • antbrad pittvanilla
  • antBrad Pittchocolate
  • antBrad Pittvanilla
  • alligatorbradpittchocolate
  • alligatorbradpittvanilla
  • alligatorBradPittchocolate
  • alligatorBradPittvanilla
  • alligatorbrad pittchocolate
  • alligatorbrad pittvanilla
  • alligatorBrad Pittchocolate
  • alligatorBrad Pittvanilla
  • crocodilebradpittchocolate
  • crocodilebradpittvanilla
  • crocodileBradPittchocolate
  • crocodileBradPittvanilla
  • crocodilebrad pittchocolate
  • crocodilebrad pittvanilla
  • crocodileBrad Pittchocolate
  • crocodileBrad Pittvanilla

Each of those are different. All 24. From 6 words. And we’ve not even looked at spacing between words, or capitalisation for the animals and ice cream yet… But add in dog, cat, blueberry and cinnamon, and now we’re up to 80… Add in those variations for Clint Eastwood, and it’s 160… And did you add in your favourite number, your age, your birth year, or your birth day at the end? Now we’re up to 640, and we’ve not even done any permutations yet. Was the number first?

The Password Combination Generator creates password list for you to help you crack old passwords that you kind of but not quite remember.

Password Combination Generator

There are 3 basic areas:

  1. Top symbol string
  2. Middle token inputs
  3. Bottom results

For the symbol string, you enter numbers in curly braces starting with 0. So, if your password has 4 elements in it, as described above with the addition of numbers at the end, then your symbol string will be:

{0}{1}{2}{3}

For each of those symbols, you need 1 token input field as you can see in the screenshot above. If you mismatch the number of symbols and inputs, you’ll get an error.

So, simply click the “Add Token Input” button 3 times to add 3 more inputs for a total of 4.

In each of the token inputs, enter the possible values with 1 per line, e.g.:

  • ant
  • alligator
  • crocodile
  • dog
  • cat

Continue adding to each token input. The buttons beside let you copy or duplicate a line or remove an input, etc.

Once you’re done, click the lightning button to generate the password combinations.

You can also add string literals to the symbol string. These never change. So, if you know that you always use an exclamation mark at the start of your password, you can write the above symbol string like this:

!{0}{1}{2}{3}

If you started your password with “my!”, it would be this:

my!{0}{1}{2}{3}

And so on. There’s really nothing you can’t do with that syntax for a password.

At the bottom, the “Current Results (#)” panel will have all your generated password combinations along with a number indicating how many there are. If you generate more than 1 set, you can use the green arrow button to add the Current Results to the “All Results” panel, then create a new set, which you can also add.

The program and source code are available. They require .NET 4.0.

Download Password Combination Generator

Download Password Combination Generator Source Code

The code isn’t commented very well, but there are some links in there to where I got the Cartesian Product code and maybe some other stuff. I just ripped apart the AI language corpus software and hacked it into a password combination generator.

Now, there is no actual password cracking utility in there, but the program will help you create dictionary lists to use in a brute force attack with another utility. If I have time, I may try to write a crypto currency wallet password cracking utility for people that have lost their passwords.

Hopefully this helps someone get back a lost password. If you’ve lost a Bitcoin wallet password, it’s really, really important to get that back.

Cheers,

Ryan

Crypto Wallet Backup – A simple, easy, open source wallet.dat backup program

0

Posted by Cynic | Posted in Bitcoin, C#, Money, Software | Posted on 19-12-2013

Tags: , ,

Crypto Wallet BackupCrypto Wallet Backup is an extremely simple, easy way to back up all your crypto currency wallets. And the source code is available for anyone to look at, add to, modify, or do whatever they want with.

Crypto Wallet Backup is designed to be run from a USB memory stick or portable storage, like a portable hard drive or USD memory card for a digital camera, but you can also run it from a NAS or whatever you have. Simply copy the program onto a USB stick and run it.

Here’s the main program:

Crypto Wallet Backup basic program

Simply click the “Find My Wallets!” button to populate the backup list with all your wallet files. You can see the result in the following screenshot.

Crypto Wallet Backup wallet list

(The Korean won symbol you see in the screenshot is simply due to the system language setting on the development testing machine it was taken on. Your system is likely different. Rest assured, it will look normal.)

After clicking the “Back Up Files” button, Crypto Wallet Backup will create a new folder and back up all your wallet.dat files, along with any other files you choose to back up.

A back up folder then looks like this:

Crypto Wallet Backup backup

Your back ups can then be copied back to the folder that you see in the file name, and the file renamed to “wallet.dat”.

So, it’s 2 clicks to back up all your wallets! It can’t get much easier than that!

Also, the program stores your backup list for the next time you want to run it.

Some additional information and details are in the “readme.txt” file in the download.

HINT: As one additional hint, if you attach your mobile phone, digital camera, or video camera to your computer and can see it as a regular storage device, you can back up to those as well. Just make sure that your wallets are encrypted in case you lose your mobile phone. You can do that in the crypto client.

REQUIREMENTS

  • Windows
  • .NET 4

There are no other special considerations. Basically, if your computer isn’t ancient and is up to date, it will run smooth as silk.

DOWNLOADS

Download Crypto Wallet Backup

Simply unzip the file, copy the “CryptoWalletBackup.exe” file to a USB stick or other portable storage, and run it.

Download Source Code

I’ll make the source available on Github later (when it stops crashing on me).

TIPS? 🙂

If you find the program useful and would like to give me a small tip, I’d appreciate it. Tips will certainly help motivate me to create more open and free software for the crypto currency community.

Bitcoin (BTC): 1Fs9QjjnS6E4KhPDxPruCsMpUAqNKjLE4Z

Bitcoin tip QR code(Bitcoin QR code there.)

Litecoin (LTC): LQm377keifsMYSmNnp7ApMbSYrwYEehiZq
Dogecoin (DOGE): DAVvDWXazxDCoF3YZu8P6GQhgQ3wN2CzU8
Philosopher Stones (PHS): 9byx4GBJfLwYXWPvMuEVXbh62V1e9PuPX4
Your favourite crypto here? 😉

If you’d like to tip me in any other crypto currency, I can certainly give you an address! 🙂

In crypto we trust!

Or, if you’re into Ðogecoin, in crypto we truss! wow! so backup! much safe! very computer! much free!

Cheers,

Ryan

UPDATE 2013-12-19: Fixed a tiny bug that caused an exception dialog the first time the program was run and a zero-padding issue for months in folder names. EXE and source code ZIP files both updated.

Back Doing Guitar & Drum Trainer Development

0

Posted by Cynic | Posted in .NET, C#, Music, Software | Posted on 15-07-2013

Tags:

GDTBuyNowWhile I’ve been back doing some more development on Guitar & Drum Trainer, I noticed a few bugs and fixed them. The funny thing is that with thousands of people using it, nobody has ever noticed the bug or at least not reported them. They were very minor, but still… one would have thought that somebody would notice.

Frackin’ Reserve! for Android

0

Posted by Cynic | Posted in Awake, Banking, C#, Google, Logic, Mobile, Money, Philosophy, Politics, Software | Posted on 27-01-2013

Tags: , , , , , , ,

Frackin’ Reserve is now available for Android!

In an effort to try and help educate people about the inevitable mathematical fraud of fractional reserve banking, I’ve released an Android version. It’s 100% free. Pass it around, and let’s END THE FED!

Frackin’ Reserve lets you simulate what happens in the money cycle with fractional reserve banking. It demonstrates how banksters print money out of thin air and how that money very quickly mushrooms into massive quantities of debt.

Make sure to check the articles listed below as they fully explain the fraudulent nature of fractional reserve banking.

“Once a nation parts with the control of its credit, it matters not who makes the laws. Usury, once in control, will wreck any nation. Until the control of the issue of currency and credit is restored to government and recognized as its most conspicuous and sacred responsibility, all talks of the sovereignty of Parliament and of democracy is idle and futile.” — William Lyon MacKenzie King

GET FRACKIN’ RESERVE FOR ANDROID

You can find Frackin’ Reserve for Android in the Google Play store here:

https://play.google.com/store/apps/details?id=com.renegademinds.frackinreserve

GET THE SOURCE CODE

As with all other versions, I’ve made the full source code is available for free. There are notes in there to help you compile it as it requires some very minor tweaks to compile (you must have a strong name file).

DOWNLOAD: Frackin Reserve Android source code

However, in a massive departure from my norm, I did put Google ads in the version that you download from the Google Play store. (I pretty much never put any kind of advertising in my free software, and am generally not very fond of ads in my own software or web sites.) It takes a lot of time and effort, and I figure that if I want to keep up with some of this activism, I need to try and make some money from it in order to off-set the costs of me spending my time elsewhere trying to make a living. I do hope that people appreciate that I’m not trying to get rich or anything – just trying to pay bills. While I thoroughly enjoy this, it takes away from development time for other things that I need to put food on the table. (If you would like to help support Frackin’ Reserve, please consider having a look at my commercial audio software to help musicians learn new songs – Guitar & Drum Trainer.)

FRACKIN’ RESERVE FOR ANDROID SCREENSHOTS

Here are some screenshots on tablets and phones, with both older and newer versions of Android for the phone screenshots. Click to zoom on any of them.

MORE PLATFORMS & INFORMATION

For versions for other platforms and articles on fractional reserve banking, please see below.

Windows: Frackin’ Reserve
Linux and Mac OS X: Frackin’ Reserve
Web Edition: Frackin’ Reserve

You can download the entire package of all device software here (excludes the web version):

ALL PLATFORMS: Frackin’ Reserve

Just extract the file, go into the platform folder, and choose what you are looking for, either the program that you can run, or the source code.

Articles:

Part 1 – The Mechanics of Fractional Reserve Banking
Part 2 – What is Money?
Part 3 – “How” Fractional Reserve Banking Creates Money and “Why” it is Fraudulent
Part 4 – Run on the Banks? Or Run on the People?
Part 5 – Compound Interest as Invisible Slavery
Part 6 – Summary & Additional Resources

Please remember to rate Frackin’ Reserve and pass it on to friends and family. When enough people discover just how evil fractional reserve banking is, together we can END THE FED and end the control of the money supply by private banksters.

Cheers,

Ryan

Recover Lost FreeNAS User and Password

5

Posted by Cynic | Posted in .NET, C#, Logic, Software, Solutions to Problems | Posted on 21-11-2012

“Brute Force FreeNAS” is a simple, quick utility to get back a forgotten user name and password.

It works very simply. You must enter a list of possible user names that you had for your FreeNAS and a list of possible passwords. The utility then combines them all (in a Cartesian product) and brute forces your FreeNAS web interface until you are logged in. Once you’re logged in, you then know which user name and password is correct.

Further instructions on how to use it are in the program. You can download it here:

DOWNLOAD FreeNAS Brute Forcer

Brute force freenas user password

Why did I write this?

Well, I had a problem where I couldn’t login. For some reason, there was an error in my FreeNAS box, and the proper login didn’t work. So, I started to write this utility, thinking that I’d forgotten the right login, and knowing that I knew or could guess the right user name, and the right password, but not the right combination of the two.

I then had further problems, and had to hard reset my FreeNAS box. And therein lies the key… Once I had reset it, I was able to login. However, I was already writing the utility, finished it, and tried the proper login then. However, since it works, and does what it is intended to do, I’m releasing it for others to use.

Make certain to read the instructions in the program.

The code in included in the download for anyone that wants to tweak it or whatever. There is no license – this is in the public domain. I have noted some code in there that I used from elsewhere to get some things done.

Notably, there’s a very cool bit of code that lets you do an N-ary Cartesian product, which is the core of this program as it combines the user names and passwords. You can find that here:

http://www.interact-sw.co.uk/iangblog/2010/07/28/linq-cartesian-1

I first found that article and piece of code while creating some custom software to create a corpus for the Samsung S Voice artificial intelligence – the Samsung version of Siri. I needed an N-ary Cartesian product, and not just a simple cross join on 2 sets.

Anyways, hopefully that helps someone out there.

Cheers,

Ryan

 

 

Frackin’ Reserve! for Linux and Mac OS X

0

Posted by Cynic | Posted in Awake, Banking, C#, Money, Politics, Software | Posted on 27-07-2012

Tags: , ,

The first version of Frackin’ Reserve! was only for Windows, and the second version was a web version, but suffered from some typical web limitations. This version is cross platform for Windows, Linux, and Mac OS X. It requires Mono, which is a free download that you can get here.

Frackin’ Reserve! is a fractional reserve banking and compound interest simulator to help explain the fraudulent nature of the monetary system. A 6-part series that explains the fraud can be found here.

As with the previous versions, you can download the complete source code here:

https://github.com/RenegadeMinds/Frackin-Reserve

It’s not all perfectly clean as much of it is directly from the first Windows version where the programming style is more linear so that non-programmers can easily follow along and read the tutorial comments.

You can also download a stand-alone version here. Depending on your computer setup, you may need to open a terminal and run it with the following command:

mono FrackinReserve.exe

The program will then run natively. (GTK# does an excellent job with the native platform GUI look and feel.)

On Mac OS X, you can download and extract the program, then open a terminal and run it like this:

And it looks like this:

Similarly, on Linux (Ubuntu):

Which looks like:

I have no setup packages or installers for Linux or OS X yet, and don’t know when I’ll have time for them.

Cheers,

Ryan