Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ThEpRoFeSSoR

Pages: [1]
1
Hacking and Security / Re: [Software Crack] YNAB - You Need A Budget
« on: October 13, 2015, 05:41:10 pm »
Sorry xor I am new into programming and self learning from books and articles on the net on my spare time... can you please explain what do you mean by "input data"

I am using M$ Visual studio to packaged the file using your source code and getting that message while in the process...

Thank you for your info and time

2
Hacking and Security / Re: [Software Crack] YNAB - You Need A Budget
« on: October 13, 2015, 03:13:39 am »
Hello everyone, I was intrigue about this source code. I try it and I am getting an error that at " sb = sb + ValidChars[index]; "

An unhandled exception of type 'System.IndexOutOfRangeException' occurred in YNABKeyGen.exe

Additional information: Index was outside the bounds of the array.


can any one please explain in details what I did wrong? I will really appreciate the help, Thank you!

=========================================================
using System;

namespace YNABKeyGen
{
public static class Base32
{
private const string ValidChars = "QAZ2WSX3EDC4RFV5TGB6YHN7UJM8K9LP";

public static String EncodeByteArray(byte[] bytes)
{
var sb = "";
var hi = 5;
var currentByte = 0;
while (currentByte < bytes.Length)
{
int index;
if (hi > 8)
{
index = bytes[currentByte++] >> hi - 5;
if (currentByte != bytes.Length)
{
index = bytes[currentByte] << 16 - hi >> 3 | index;
}
hi = hi - 3;
}
else if (hi == 8)
{
index = bytes[currentByte++] >> 3;
hi = hi - 3;
}
else
{
index = bytes[currentByte] << 8 - hi >> 3;
hi = hi + 5;
}

sb = sb + ValidChars[index];
}
return sb;
}
}
}

Pages: [1]