[Bug Fix] Nostale Password Decrypter

08/02/2013 04:25 Sm•ke#1
I open this thread to give the bug fix of "Trollface Password Decrypter"..
I rewrote the function of password with "str.size() % 4"

Language: C++

Code:
std::string pwDecrypt(std::string str)
{
	int rm = str.size() % 4;
	str = str.erase(0,rm != 0 ? rm : 4);
	std::string str_dec;
	for(unsigned int i = 1; i < str.size(); i += 2) str_dec += str[i];
	str = str_dec;
	str_dec.clear();
	for(unsigned int i = 0; i < str.size(); i++)
	{
		if(i != 0 && i % 2 == 0) str_dec += " ";
		str_dec += str[i];
	}
	std::stringstream ss(str_dec);
	str.clear();
	str_dec.clear();
	int convert;
	while(ss >> std::hex >> convert) str_dec.push_back(convert);
	return str_dec;
}
i tryed with 1.800 logins and it worked perfectly !
08/02/2013 10:40 ernilos#2
U just decrypt the password, the algorythm is more complex :P
08/02/2013 10:57 Cholik#3
Quote:
Originally Posted by ernilos View Post
U just decrypt the password, the algorythm is more complex :P
Do you even know what you're talking about?

The "algorithm" is pretty useless, just splitting the password into bytes, then splitting each byte by chars and creating a pseudo obfuscation using a useless chartable and adding everything together.

It seems like you just try to bash anyone here who's releasing stuff. Pretty poor that you never accomplished anything like that since you only know how to copy paste code in VB.Net and use the .Net Reflector.

Just learn a bit about programming or algorithms and take a look at around Nostalex.dat@0051E05A. Maybe you'll get the clue someday.

Meanwhile stop posting stupid comments when someone is contributing.
08/02/2013 11:20 ernilos#4
Quote:
Originally Posted by Nathan Explosion View Post
Do you even know what you're talking about?

The "algorithm" is pretty useless, just splitting the password into bytes, then splitting each byte by chars and creating a pseudo obfuscation using a useless chartable and adding everything together.

It seems like you just try to bash anyone here who's releasing stuff. Pretty poor that you never accomplished anything like that since you only know how to copy paste code in VB.Net and use the .Net Reflector.

Just learn a bit about programming or algorithms and take a look at around Nostalex.dat@0051E05A. Maybe you'll get the clue someday.

Meanwhile stop posting stupid comments when someone is contributing.
A ha, okay, just the other bytes are random, sure... ;)
08/02/2013 11:32 Cholik#5
Quote:
Originally Posted by ernilos View Post
A ha, okay, just the other bytes are random, sure... ;)
The chartable is static tho pretty useless. But you don't seem to have enough knowledge to figure that out yourself.

Randomstring
52616E646F6D737472696E67
5 2 6 1 6 E 6 4 6 F 6 D 7 3 7 4 7 2 6 9 6 E 6 7
<randomuseless calculation to fill the bytes>
542163176aE86e4f64F162D4763778497023649562E2647

Oh what a great algorithm mr ernilos. Hope you learned something. See you soon in the next episode of "ernilos discovers the world of computers"
08/02/2013 15:16 Sm•ke#6
I reversed the client and i can assure that second byte is random..

Example..

Password = 1

1 to Hex = 0x31

client add random byte ( in this example 0x45 ) and invert the position of bytes..

3145 = 4531

now the client invert the internal..

4531 = 4351

and add random byte first of this ( in this example 112 )

1124351

this is the encrypted password..

sorry for my grammatical errors but i'm not english and not german..
08/02/2013 16:50 Cholik#7
Yes Smoke, and keep working and contributing!

Don't listen to people like ernilos.
Envy is the highest form of acknowledgement.
08/02/2013 16:59 Sm•ke#8
Quote:
Originally Posted by Nathan Explosion View Post
Yes Smoke, and keep working and contributing!

Don't listen to people like ernilos.
Envy is the highest form of acknowledgement.
Thanks man :rolleyes:
08/02/2013 18:43 DoDo1997#9
hmm thanks for the help the Community :)
i hope you will stay here for a while ...
Guys like you the Section really need :D
08/02/2013 20:29 Sm•ke#10
Yeah, thanks.. I like this community..
I think that i release something when i've free time ^^
08/02/2013 20:34 _RowLegend_#11
Quote:
Originally Posted by Sm•ke View Post
I like this community..

[Only registered and activated users can see links. Click Here To Register...]
08/02/2013 23:54 Sm•ke#12
Ahah, what u mean with Impossibru ?!
08/02/2013 23:58 IceTrailer#13
Quote:
Originally Posted by Sm•ke View Post
Ahah, what u mean with Impossibru ?!
That it's impossible to like the community.
The community is a piece of dirt.
08/03/2013 03:40 Sm•ke#14
I believe that in the life there is worse !
you must be patient with others, even if they don't understand.. they haven't the brain, isn't their fault.. lolz