Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Where can I find Volume number, like "Details: RAR 5, volume 483" #16

Open
sanderjo opened this issue Jul 29, 2019 · 0 comments
Open

Comments

@sanderjo
Copy link

sanderjo commented Jul 29, 2019

Short question:

How can retrieve the Volume number of a specific rar file, like Details: RAR 5, volume 483 as reported by "rar l <rarfile".
I need this for obfuscated rar files of which the file name is unknown.

I can't find it in https://python-unrar.readthedocs.io/en/v0.3/rarfile.html

EDIT:
I checked the unrar source code, and I think this line in list.cpp prints it:

mprintf(St(MVolumeNumber),Arc.VolNumber+1);

So official name would then be VolNumber.

$ unrar l blabla-nothinghere.rar

UNRAR 5.71 freeware      Copyright (c) 1993-2019 Alexander Roshal

Archive: blabla-nothinghere.rar
Details: RAR 5, volume 483

 Attributes      Size     Date    Time   Name
----------- ---------  ---------- -----  ----
 -rw-r--r-- 524288000  2019-07-29 20:28  500MB.bin
----------- ---------  ---------- -----  ----
                    0                    0
@sanderjo sanderjo changed the title Q: Where is Volume number, like "Details: RAR 5, volume 483" Q: Where can I find Volume number, like "Details: RAR 5, volume 483" Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant