View Single Post
  #6  
Old 07-01-2019, 14:55
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Shateiel View Post
Don't think there is any other way but to look for "PAK " and then parse and decrypt. You could've looked for encrypted headers as RC4 is simple, made a class reader to decrypt while reading to decompress, but thats out of option when recompressor and decyptor are two different exe.

Unless you got some some other brilliant idea which you can share (:
Well I managed to do it without looking for "PAK " and parsing any of the headers

using bdt+oo2reck:
Code:
Compressed 1 file, 4,339,674 => 16,546,064 bytes. Ratio 381.27%
Compression time: cpu 0.03 sec/real 2.79 sec = 1%. Speed 1.56 mB/s

Extracted 1 file, 16,546,064 => 4,339,674 bytes. Ratio 381.27%
Extraction time: cpu 0.00 sec/real 0.77 sec = 0%. Speed 5.63 mB/s

4,13 MB (4 339 674 bytes) >> 15,7 MB (16 546 306 bytes)
using QuickBMS and nfsshift.bms:
Code:
4,13 MB (4 339 674 bytes) >> 15,7 MB (16 543 104 bytes)
Edit:

A bit bigger input this time and here are the results:
Code:
Compressed 1 file, 332,106,505 => 1,904,256,950 bytes. Ratio 573.39%
Compression time: cpu 0.70 sec/real 126.43 sec = 1%. Speed 2.63 mB/s

Tested 1 file, 1,904,256,950 => 332,106,505 bytes. Ratio 573.39%
Testing time: cpu 0.75 sec/real 27.13 sec = 3%. Speed 12.24 mB/s

Last edited by Razor12911; 07-01-2019 at 15:40.
Reply With Quote
The Following 6 Users Say Thank You to Razor12911 For This Useful Post:
doofoo24 (07-01-2019), KaktoR (08-01-2019), oltjon (08-01-2019), ShivShubh (24-11-2019), Simorq (07-01-2019), yasitha (07-01-2019)