Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 11:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C++ Release] NOS Unpacker + Decrypter

Discussion on [C++ Release] NOS Unpacker + Decrypter within the Nostale forum part of the MMORPGs category.

Reply
 
Old 09/30/2013, 21:06   #16
 
ernilos's Avatar
 
elite*gold: 20
Join Date: Jan 2012
Posts: 766
Received Thanks: 645
Quote:
Originally Posted by Vilius242lt View Post
The program crashes when you open a .nos file with it
Only works for text files
ernilos is offline  
Old 11/27/2013, 18:27   #17
 
malek00810's Avatar
 
elite*gold: 0
Join Date: Nov 2013
Posts: 38
Received Thanks: 15
I've a problem.
When I run the extractor I got this error :
The NTVDM CPU has encountered an illegal instruction.
Choose 'Close' to terminate the application
malek00810 is offline  
Old 04/12/2014, 17:10   #18
 
elite*gold: 0
Join Date: Mar 2014
Posts: 5
Received Thanks: 0
I use vs2013 but should not be what the problem is
gaetano1291 is offline  
Old 08/30/2014, 04:17   #19
 
elite*gold: 0
Join Date: Dec 2011
Posts: 367
Received Thanks: 199
Clear code

Code:
unsigned int Decrypt(unsigned char *encBuffer, unsigned int encBufferLen, unsigned char *decBuffer)
{
	unsigned int decBufferLen;

	unsigned char table[] = { NULL, ' ', '-', '.', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 0x0D };

	unsigned int offset = 0, i = 0;
	unsigned char encStrLen = 0, c = 0;

	while (offset < encBufferLen)
	{
		if (encBuffer[offset] == 0xFFU) // if byte is 0xFF then add 0x0D to new buffer and continue
		{
			*(decBuffer + decBufferLen++) = 0x0D;
			offset++;
			continue;
		}

		encStrLen = encBuffer[offset++]; // get string length

		i = 0;
		if ((encStrLen & 0x80U) == 0) // if result is 0 then decrypt the string by Xor 33
		{
			while ((i++ < encStrLen) && (offset < encBufferLen))
			{
				*(decBuffer + decBufferLen++) = (encBuffer[offset++] ^ 0x33U);
			}
		}
		else // otherwise
		{
			encStrLen &= 0x7FU;
			while ((i < encStrLen) && (offset < encBufferLen))
			{
				c = encBuffer[offset++]; // c = current byte, increment the index
				*(decBuffer + decBufferLen++) = (table[(c & 0xF0U) >> 4]);

				if (table[c & 0x0FU] != NULL)
				{
					*(decBuffer + decBufferLen++) = table[c & 0x0FU];
				}

				i += 2;
			}
		}
	}

	return decBufferLen;
}
Kingrap is offline  
Reply


Similar Threads Similar Threads
GoT HaCk- mrs decrypter/unpacker
10/04/2013 - GunZ - 6 Replies
easy to use mrs decrypter install the file from your desktop after it installs, look on your desktop for system press.exe when the menu comes up you can go to number 3 for further instructions made by me(hellrazEr) you can post anywhere as long as you give credit to me. Download Here
[RELEASES] warCrypt [ Bin EN/DEcrypter and Packet EN/DEcrypter ]
12/26/2012 - WarRock Hacks, Bots, Cheats & Exploits - 18 Replies
Informations: This Lib is coded for WarRock you 2 different classes inside this Lib: The 'BinFile' class and the 'PacketData' class. The BinFile class has the options: - EncryptBinRaw(byte) - DecryptBinRaw(string) The function 'DecryptBinRaw' returns the the decrypted result of the used input string. The function 'EncryptBinRaw' returns the the crypted result of the used input bytes.



All times are GMT +1. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.