116 questions
1
vote
1
answer
214
views
PowerShell/Unrar - Use securestring with Unrar Password switch
I have a configuration file with secure strings. These strings are passwords I use for automation.
Typically, I can encrypt my passwords with
Read-Host -AsSecureString | ConvertFrom-SecureString
A ...
0
votes
0
answers
116
views
How to unrar from different subfolders into each specific subfolder?
I use this piece of command to unrar a bunch of files from a folder (which has a lot of subfolders).
All the unpacked files do end up in the same main folder though. How do I unrar every file to it's ...
0
votes
0
answers
164
views
Python package RarFile password protected excraction raises 'NoneType' object is not iterable
What am I missing, when using the package rarfile when simply extracting a password protected rar file? The same exception is raised, when the password is byte-encoded. Right and wrong passwords raise ...
1
vote
0
answers
227
views
get a list of elements into the *.rar file in Linux
I want to get a list of elements (files and folders) that are into the *.rar file.
I have a folder with a lot of *.rar files, each of *.rar have folders and files, I would to get a list of name of ...
0
votes
1
answer
777
views
Couldn't find path to unrar library in aws lambda (Python)
I have a rar file, which I want to unrar in AWS lambda using python. I learned about unrar library in python. I have created the layer for unrar in AWS. But now when I execute the code
from unrar ...
0
votes
2
answers
2k
views
List directories in zip and rar files
I trying to do a data frame/list/vector with a list of folders inside a zip and rar file.
I have a folder with a lot of zip and rar files;
Each zip and rar file has one folder and inside this folder ...
0
votes
0
answers
1k
views
RarFile Python module error: rarfile.RarCannotExec: Cannot find working tool
I want to extract a RAR with rarfile python module:
import rarfile
rar_path = r'C:\...\Test.rar'
rar_password = '123'
# rarfile.UNRAR_TOOL = r'path to what .exe? I cant find it, is this line ...
0
votes
1
answer
342
views
UnRAR DLL unable to be referenced in C#
I was trying to make a program to clean out some directories on my NAS and I noticed that a lot of folders contained nested rar and zip files and I have plenty of space to unpack them. The program ...
0
votes
1
answer
125
views
Memory usage buildup while dictionary password checking using unrar lib in python
I wrote some crude code in python for checking passwords from a dictionary file for password protected rar archive. I even added some multi-threading, runs great. Unfortunately as the script goes ...
0
votes
1
answer
232
views
remove '.part1' from Output directory in 7z
I have 2 files test.part1.rar and test.part2.rar
When extracting them using command
7z x -o* test.part1.rar
The output directory is a folder with test.part1 name
I want the output directory to be a ...
0
votes
1
answer
317
views
The handle is invalid with python patoolib executable file
My python file is working fine
import patoolib patoolib.extract_archive("test.7z")
But when I use pyinstaller to make an executable on windows I got this error:
Traceback (most recent ...
-3
votes
1
answer
1k
views
Can't unrar file
So I used unrar-free to unrar a file that I wanted to extract. When I gave the command in the CMD it showed me this:
unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers
Extracting from /...
0
votes
1
answer
459
views
How to do unrar operation in SageMaker?
I am trying to unrar the dataset for my object detection model, but I couldn't unrar the compressed file in AWS's SageMaker.
0
votes
1
answer
929
views
PackagesNotFoundError when trying to install unrar with conda
I'm trying to install unrar with conda, with no luck. I installed other packages with no issues before.
Here's the commands I used:
user: conda activate username
user: conda install unrar
Which led ...
0
votes
1
answer
951
views
How to unrar file with password hidden inside rar file as text?
There is rar file with password-protected that I need to extract, but the password to extract is in a text file inside that rar file. How can I extract it without using brute-force method because the ...
