FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   CLS for Razor Archiver(cls-rz) (https://fileforums.com/showthread.php?t=99756)

KaktoR 18-11-2017 10:36

Quote:

Originally Posted by Randy2 (Post 464189)
Yeah keep it in your secret pocket
Fuck you guys.
Your all are shit.
Not helping at all.
Just nothing.

And that's the reason why nobody want to make sources public anymore. Just because of ungratefull guys who not to be able to get enough. And because of bloodsucking vultures

ravencrow 19-11-2017 03:39

Quote:

Originally Posted by 78372 (Post 464182)
I don't know if cls-srep source by profager is available or not, better ask profager.

Download srep's source and CLS example in CPP, add all the libraries in cls project, instead of creating file use clsstream to process, remove executable part codes like detecting params and stuff. Change default value of mem cause CLS can't use more than 2 GB, and you're done.

Of course you can do all that if you have knowledge else it'd turn up to be a disaster.

78372 19-11-2017 03:45

rz.exe has no libraries or dlls, and I don't program in C++ :P

ravencrow 19-11-2017 03:47

Quote:

Originally Posted by 78372 (Post 464209)
rz.exe has no libraries or dlls, and I don't program in C++ :P

Razor can be made to work with stdio if ya know how to make splash screen easily ;)

78372 19-11-2017 03:49

You are talking about creating a decoy dll, right?

ravencrow 19-11-2017 03:52

Quote:

Originally Posted by 78372 (Post 464212)
You are talking about creating a decoy dll, right?

Nopes, decoy DLL won't work in its case cause it doesn't use loadlibrary

78372 19-11-2017 04:29

Quote:

Originally Posted by ravencrow (Post 464213)
Nopes, decoy DLL won't work in its case cause it doesn't use loadlibrary

Sure? Because rz somehow loads a windows dll afaik

ravencrow 19-11-2017 04:33

Quote:

Originally Posted by 78372 (Post 464214)
Sure? Because rz somehow loads a windows dll afaik

When we use decoy DLL, we exploit the fact that loadlibrary first looks for the DLL in the directory where the exe is and then looks up in windows index, but in razor's case it different.

Razor12911 23-11-2017 17:13

Quote:

Originally Posted by ravencrow (Post 464215)
When we use decoy DLL, we exploit the fact that loadlibrary first looks for the DLL in the directory where the exe is and then looks up in windows index, but in razor's case it different.

I tested this a few days ago and it works and I don't think it matters whether implicit or explicit method of linking a library was used, might be wrong but method works.

ravencrow 24-11-2017 12:27

Quote:

Originally Posted by Razor12911 (Post 464316)
I tested this a few days ago and it works and I don't think it matters whether implicit or explicit method of linking a library was used, might be wrong but method works.

Would be nice if it worked, will save the trouble of using asm to patch it, did you try it for the library which exports CreatefileW? (Or whichever one it uses)

Razor12911 24-11-2017 14:10

Well it worked alright and asm is not for all of us, I'm pascal based.

Code:

C:\Users\Zee\Desktop\razor>arc.exe x -w.\ -dpunpacked\ data.arc
FreeArc 0.67 (March 15 2014) extracting archive: data.arc
Extracting 1 file, 86,347,072 bytes. Processed  0%
  Overwrite unpacked\UI.sb?
  (Y)es / (N)o / (A)lways / (S)kip all / (U)pdate all / (Q)uit? a
Extracted 1 file, 13,722,028 => 86,347,072 bytes. Ratio 15.89%
Extraction time: cpu 0.30 sec/real 1.07 sec = 28%. Speed 80.35 mB/s
All OK


C:\Users\Zee\Desktop\razor>pause
Press any key to continue . . .

Code:

[External compressor:razor]
header    = 0
packcmd  = rz a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = rz e -y $stdio$ <stdin> <stdout>


shazzla 25-11-2017 01:24

Quote:

Originally Posted by Razor12911 (Post 464344)
[External compressor:razor]
header = 0
packcmd = rz a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = rz e -y $stdio$ <stdin> <stdout>

what version of rz.exe can be used like this ? :eek:
am i missed something ?

78372 25-11-2017 05:53

Quote:

Originally Posted by shazzla (Post 464347)
what version of rz.exe can be used like this ? :eek:
am i missed something ?

This only works when you managed to create a decoy dll for rz, else not.

shazzla 25-11-2017 06:08

ok ,thanks ,but how can i create/use one ?
im totally noob for this. :/

78372 25-11-2017 06:09

Not much easy :D only programmers like Razor12911 can do it :p


All times are GMT -7. The time now is 03:53.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com