Page 1 of 1
Deobfuscation wrongly corrects file extension
Posted: October 10th, 2023, 11:10 pm
by hypersucker
I'm testing my own uploads and when downloading e.g. bla.mkv that is accompanied by bla.idx and bla.sub sabnzbd renames the idx file to a txt file extension and the sub file to a vob file extension.
All 3 files are separately file name obfuscated and have their own password and nzb file.
Do I need to do something different for this not to happen? All file names are obfuscated the rars are password protected. sabnzbd gathers password from the nzb file and uses the nzb's file name as source for the deobfuscation, which is what I want.
Re: Deobfuscation wrongly corrects file extension
Posted: October 10th, 2023, 11:29 pm
by sander
.idx and .sub are already in
https://github.com/sabnzbd/sabnzbd/blob ... on.py#L206
So I don't know what that happens.
Can you share an .NZB, via DM/PM or mail?
Re: Deobfuscation wrongly corrects file extension
Posted: October 11th, 2023, 8:00 am
by hypersucker
sure. gimme a minute.
Re: Deobfuscation wrongly corrects file extension
Posted: October 11th, 2023, 9:11 am
by hypersucker
I'm apparently too stupid to figure out how to attach something to a PM/DM so I sent an email and assumed your address is
sander@sabnzbd.org since I only had safhire's address on file.
Re: Deobfuscation wrongly corrects file extension
Posted: October 11th, 2023, 9:19 am
by hypersucker
I tested the whole current batch and for some of the sub files sabnzbd doesnt even rename the obfuscated file name but still changes the file extension to vob from sub. I'll send one of those nzbs as well.
Re: Deobfuscation wrongly corrects file extension
Posted: October 11th, 2023, 12:20 pm
by sander
Well, yes, that is a mailbox ... but I don't have access to it.
So:
send to safhire, with in subject "sander: Deobfuscation wrongly corrects file extension"
Re: Deobfuscation wrongly corrects file extension
Posted: October 11th, 2023, 12:38 pm
by hypersucker
Re: Deobfuscation wrongly corrects file extension
Posted: October 12th, 2023, 1:16 pm
by sander
OK, I received them.
What a small .NZBs: 1kB a piece?
Let's download ... posts of 1-4 MB a piece? Weird.
Result: per download one weird named file, like QO1Yxv1xA72OxbZz1QO74Z. Inspection: a text file, with first line "VobSub index file, v7 (do not modify this line!)"
And deobfuscate is not kicking in at all on my downloads.
My conclusion: total nonsense what this poster is posting.
Re: Deobfuscation wrongly corrects file extension
Posted: October 13th, 2023, 4:07 pm
by safihre
I think there is a misunderstanding.
The files as they were sent to us won't work well because they are just the sub/idx files and not the whole download.
We need the whole download for us to see how it works. Because with these small sub-sets, the Deobfuscate triggers differently then on a normal download.
Or are these really the jobs you get unexpected results on? Because then I can explain why, it has to do with the original job name and the vob extension being ignored by deobfusacte.
Re: Deobfuscation wrongly corrects file extension
Posted: October 13th, 2023, 5:25 pm
by hypersucker
safihre, I've resent the nzbs with the corresponding movie, not just the idx and sub nzbs.
to clarify, there's a filename.mkv, filename.idx and filename.sub for every episode. each file gets name obfuscated and added to its own rar file with an obfuscated filename and password for the rar. the created nzbs have the unobfuscated filenames (filesname.nzb, filename.idx.nzb, filename.sub.nzb).
when I re-download these to test, I get 3 folders with the proper names (filename, filename.idx and filename.sub) but only the mkv inside the folder is named correctly, the idx gets renamed to filename.idx.txt and the sub to obfuscatedfilename.vob.