Automated Password Extraction from NZB Filename Fails
Posted: March 19th, 2016, 1:35 am
I have a very specific scenario, where passwords are not extracted from the filename:
I drop an archive with an nzb file inside into the nzb folder to automatic detection: something {{password}}.nzb.rar
Sab unpacks it to something.nzb.
The password gets dropped.
Sab adds that nzb, the password is never added.
If the nzb file inside the archive has the name something {{password}}.nzb it works, but only then.
Proposed fix: look for the password after *and before* extracting the archive to get the nzb.
Might be related: https://github.com/sabnzbd/sabnzbd/issues/243
I drop an archive with an nzb file inside into the nzb folder to automatic detection: something {{password}}.nzb.rar
Sab unpacks it to something.nzb.
The password gets dropped.
Sab adds that nzb, the password is never added.
If the nzb file inside the archive has the name something {{password}}.nzb it works, but only then.
Proposed fix: look for the password after *and before* extracting the archive to get the nzb.
Might be related: https://github.com/sabnzbd/sabnzbd/issues/243