Page 7 of 8

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 16 Jan 2015, 09:47
by hugbug
get39678 wrote:No idea if it will work for the stable release.
Yes it will.

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 08 Apr 2015, 02:38
by JVM
Updated to follow similar developments as FakeDetector. I haven't got any password protected files anymore to test completely:
hugbug wrote:Update - version 1.6:
hugbug wrote:Update: version 1.7:
  • added support for rar-archives with old naming scheme (.rar, .r00, .r01, etc.);
  • extra exception info is printed if an error occurs.

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 14 Jun 2015, 23:25
by chester0
I'v e had quite a few nzbs that bypass this script
the format they seems to have:

Movie.name.avi folder
-archive.rar this is password protected
-readme.txt

or

movie.name.part.xx
movie.name.part..
-movie.name.rar password protected
-readme.txt

most of the time they have WEB-DL in the release name

is there a way to detect these?

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 26 Jun 2015, 04:08
by JVM
chester0 wrote:I'v e had quite a few nzbs that bypass this script
the format they seems to have:

Movie.name.avi folder
-archive.rar this is password protected
-readme.txt

or

movie.name.part.xx
movie.name.part..
-movie.name.rar password protected
-readme.txt

most of the time they have WEB-DL in the release name

is there a way to detect these?
All this script does is use unrar to get the properties of the .rar and pause/delete if unrar said it is password protected. Sounds like what you've downloaded is double rar-ed, so once NZBGet unpacks the downloaded .rar, there is another password protected rar? If this is the case, I haven't tried to determine whether the rar 2 or more levels deep is passworded, but I doubt it's possible.

Sounds like you want to detect password nzbs just looking at the nzb file names? Do you have the script FakeDetector.py? That was made to stop downloading nzbs that look initially like fakes, like videos with bad extenstions inside, like .exe, .bat or .sh. You could add .txt files as well by editing line 115 to exExtensions = [ '.exe', '.bat', '.sh', '.txt'] and it should pick up those readme.txt files.

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 08 Jul 2015, 05:29
by cezare
Hi there,

I just upgraded to nzbget 15.0 on Synology NAS via Synocommunity package.
I cannot seem to get PasswordDetector.py to load up.

I downloaded and placed the current 1.7 version under the scripts folder (in my case /volume/@appstore/nzbget/share/nzbget/scripts)
Tried changing user for the file to match the one used for nzbget. Tried making it executable. No go.
I am a bit stumped as to why it refuses to load.
I have FakeDetector and FailureLink in the same scripts folder and they load up fine.

Any suggestions?

Many thanks!

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 11 Jul 2015, 04:15
by JVM
cezare wrote:Hi there,

I just upgraded to nzbget 15.0 on Synology NAS via Synocommunity package.
I cannot seem to get PasswordDetector.py to load up.
...
Tried changing user for the file to match the one used for nzbget. Tried making it executable. No go.
I am a bit stumped as to why it refuses to load.
I have FakeDetector and FailureLink in the same scripts folder and they load up fine.
Hey,

That's weird, a lot of the code is the same as FakeDetector, like the way it uses unrar. So there are no python errors? Usually they are listed in the nzbget messages log.

I'm not a unix expert but sounds like you've tried chown and chmod, I'm not sure what else to try, have you tried downloading it again?

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 20 Sep 2015, 02:58
by cezare
I know its been a few months. I decided, out of the blue, to tinker with this issue today again as it randomly stumbled into my head.
It ended up being the source.
Initially, during my previous post, I "wget" PasswordDetector.py directly from GitHub while being SSHed into my NAS.
Today, i downloaded it using my workstation from the first post of this thread and then moved the file into the nzbget scripts folder on the NAS.
Restarted nzbget and BAM, all is well, its there.
The file size was completely different. I am fairly new to Linux commands so let me ask you this ... does wget somehow skew the file in any way?

Thanks,

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 26 Sep 2015, 10:53
by JVM
Yeah I've experienced the same in the past, maybe the download link was wrong?

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 26 Sep 2015, 10:58
by JVM
Did you happen to follow a guide, as I fould a comment that mentions the wget link pulled down the webpage instead: http://www.htpcguides.com/abort-passwor ... 2050597049

Re: [Queue-Script] PasswordDetector - stop dl of protected .

Posted: 01 Oct 2015, 23:26
by cezare
Yah, as a matter of fact, I did indeed follow that guide.
Hmm, that would explain it. Strange that it is still doing it then since in the comments, it was corrected.
I remember doing the same thing for version 14 and it was fine half a year or so.