Questions tagged [rar]

RAR is a proprietary archive file format that supports data compression, error recovery, and file spanning.

351 questions
5
votes
1 answer

finding a corrupted part from the parts of a split archive

I have 7 files with extensions like xyz.rar.001 - xyz.rar.007 clearly they are parts of a single file. I have all the 7 parts. I join them using a file joiner into a single file xyz.rar and try to unrar them with WINRAR , it says that archive is…
MMK
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

Test only password on rar archive

I'm trying to do a bruteforce attack on a rar archive and I need the password-check to be as fast as possible. I call rarlab's "unrar" command line utility from my program in this way: unrar t -p[password] archive.rar And it works, but is extremely…
yggdrasil
  • 737
  • 5
  • 14
4
votes
2 answers

Determine if rar file is password protected

I'd like to be able to determine if the beginning portion (ideally first MB or so) of a file is of a password protected rar file. I don't just need to know if it's a rar file, I need to ensure that the file is password protected. Is this possible? I…
GoldenNewby
  • 4,382
  • 8
  • 33
  • 44
4
votes
1 answer

Scanning .rar file content entries on multi volume archive

I am playing around with php rar http://www.php.net/manual/en/intro.rar.php Goal : Gather file (name) information of multi volume rar archives, from only the first volume. Example : Complete volume : testArchive.rar , testArchive.r00…
Paolo_Mulder
  • 1,233
  • 1
  • 16
  • 28
4
votes
4 answers

How to check rar install or not in linux via Bash Script?

How to check rar unrar installed or not in Linux via Bash Script ?
M Sona
  • 33
  • 7
4
votes
0 answers

unrar.exe and | pipe on windows

I just downloaded the freeware unrar.exe from winrar website. If, from the command line, you tipe unrar.exe p -inul myarchive.rar It "prints" out to default std the content of my archive. Since the archive is just one .avi file, if I do: unrar.exe…
Matteo Monti
  • 8,362
  • 19
  • 68
  • 114
4
votes
3 answers

unrar archive while downloading it

I've got a program that downloads part01, then part02 etc of a rar file split across the internet. My program downloads part01 first, then part02 and so on. After some tests, I found out that using, on example, UnRAR2 for python I can extract the…
Matteo Monti
  • 8,362
  • 19
  • 68
  • 114
4
votes
1 answer

unraring/unzipping a file using python+django

I'm trying to write a distributable web app that will allow the user to upload a compressed archive (rar or zip), extract it on the server side, then do something else with the files. Is there a default library I can hook into to do this? Or is…
Phil Downey
  • 181
  • 2
  • 10
4
votes
3 answers

Searching for compression library in c# that supports rar format

I want to add in my application functionality to decompress (and optionally compress) files in various format. I have libraries that supports zip, gzip, 7zip and bzip2. But still not found library that support rar. I know that rar is commercial, but…
Marek Kwiendacz
  • 9,524
  • 14
  • 48
  • 72
4
votes
0 answers

Unrar WinRar 5.5 archives in C#

In July 2017 WinRar released version 5.5 which made changes to the rar standard. Since then, our library of choice, SharpCompress, fails with any archives produced by that version: System.InvalidOperationException: Cannot determine compressed stream…
Flai
  • 160
  • 1
  • 8
4
votes
1 answer

How to Extract A RAR file selected by dialogbox

I have a code in C# to extract a zip file to a specific folder. I want to extract a RAR file from that code. I tried some other things like 7-zip, IO.Compression but it was not suitable for me. here is the code which I used to extract the zip…
Uniquedesign
  • 423
  • 1
  • 7
  • 23
4
votes
2 answers

How to calculate CRC of a WinRAR file?

I know CRC calculation algorithm from Wikipedia. About structure of RAR file I read here. For example, there was written: The file has the magic number of: 0x 52 61 72 21 1A 07 00 Which is a break down of the following to describe an Archive…
Doman
  • 51
  • 1
  • 5
4
votes
3 answers

Minimum memory for RAR decompression

What's the minimum memory needed to run a RAR decompression algorithm? I want to port a RAR decompression algorithm to mobiles (iPhone, Android and BlackBerry) and want to know if there's a bare minimum of memory needed before starting. I've heard…
hpique
  • 119,096
  • 131
  • 338
  • 476
4
votes
2 answers

How to create Windows compatible rar sfx archive on Linux

I want to create a rar SFX archive that can be executed on Windows, using Linux. Suppose I want to put in the archive the file myprog.exe and automatically execute the file when the archive is extracted. I've created a init script (myinit.txt) ;The…
tano
  • 836
  • 1
  • 10
  • 25
4
votes
1 answer

Is Resource Adapter Archive (RAR) the same as Roshal ARchive (RAR)?

Are they both referring to the same thing? Are they related at all? Resource Adapter Archive (RAR) according to Oracle is: Resource Adapter Archive (RAR): A RAR file holds a resource adapter. Defined by the J2EE Connector Architecture…
M. A. Kishawy
  • 5,001
  • 11
  • 47
  • 72
1 2
3
23 24