Discuss newly added features or request new features.
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 22 Jan 2015, 21:03
As requested - added support for password list file:
- new option "UnpackPassFile" to set the location of the file;
- during unpack the passwords are tried from the file until unpack succeeds or all passwords were tried;
- implemented different strategies for rar4 and rar5-archives taking into account the features of formats;
- for rar5-archives a wrong password is reported by unrar unambiguously and the program can immediately try other passwords from the password list;
- for rar4-archives and for 7z-archives it is not possible to differentiate between damaged archive and wrong password; for those archives if the first unpack attempt (without password) fails the program executes par-check (preferably quick par-check if enabled via option "ParQuick") before trying the passwords from the list;
- another optimization is that the password list is tried only when the first unpack attempt (without password) reports a password error or decryption error; this saves unnecessary unpack attempts for damaged unencrypted archives.
Implemented in r1189 (15.0-testing).
-
clintonhall
- Posts: 449
- Joined: 15 Dec 2012, 01:52
- Location: Australia
-
Contact:
Post
by clintonhall » 23 Jan 2015, 06:00
Nice... I'll gladly give up on the password-list script
It is much cleaner to do that internally
-
picardtux
- Posts: 71
- Joined: 05 Sep 2012, 12:45
-
Contact:
Post
by picardtux » 20 Mar 2015, 21:07
very good thank you hugbug
-
PTRCK
- Posts: 46
- Joined: 04 Dec 2014, 12:32
Post
by PTRCK » 29 Apr 2015, 20:54
Is it possible to read out the correct used password and use this in another script?
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 29 Apr 2015, 21:01
Before each password is tried a message like "Trying password xxx for <nzb-name>" is printed.
In the pp-script you can obtain all messages printed for this nzb (see Logger.py) and then extract the password from the last message of this type.
-
r4dd3
- Posts: 2
- Joined: 14 Jun 2015, 12:02
Post
by r4dd3 » 14 Jun 2015, 12:07
first of all, please excuse my bad english.
i have some problems with the password file.
all passwords are in a txt file named password.txt.
in which form I need to specify the path?
${MainDir}/password/password.txt
or
/volume1/downloads/nzbget/password/password.txt ?
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 14 Jun 2015, 14:06
Both forms are OK. Something doesn't work?
-
r4dd3
- Posts: 2
- Joined: 14 Jun 2015, 12:02
Post
by r4dd3 » 14 Jun 2015, 14:21
yes, the passwords in the list are correct.
but it files are not extractet. in the history i get the message: "Unpack: PASSWORD"
-
hugbug
- Developer & Admin
- Posts: 7645
- Joined: 09 Sep 2008, 11:58
- Location: Germany
Post
by hugbug » 14 Jun 2015, 14:25
In the history item click on button "Log" and then check the messages. For each tried password it prints a message. If not sure post the log (via pastern.com) or send the log-file to me at
nzbget@gmail.com.
-
phloo
- Posts: 2
- Joined: 26 Dec 2015, 19:47
Post
by phloo » 26 Dec 2015, 20:24
The feature worked with the version before I upgraded to the current one.
Since using 16.4 it wont unrar on Mac with Yosemite. It just fails.
Example log:
Unpack for __foldername___ failed.
Second unpack attempt skipped for __foldername___ due to par-check not repaired anything
Repair not needed for __foldername___/5gLzibv1MvTEgAM3vd72EvZ11Y
Replaced the original foldername with __foldername___
UnpackPassFile is unchanged and contains the path to the password list.
Any ideas?
Who is online
Users browsing this forum: No registered users and 19 guests