Deobfuscation wrongly corrects file extension

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Deobfuscation wrongly corrects file extension

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Deobfuscation wrongly corrects file extension

Post 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?
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Re: Deobfuscation wrongly corrects file extension

Post by hypersucker »

sure. gimme a minute.
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Re: Deobfuscation wrongly corrects file extension

Post 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 [email protected] since I only had safhire's address on file.
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Re: Deobfuscation wrongly corrects file extension

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Deobfuscation wrongly corrects file extension

Post 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"
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Re: Deobfuscation wrongly corrects file extension

Post by hypersucker »

User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Deobfuscation wrongly corrects file extension

Post 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.
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Deobfuscation wrongly corrects file extension

Post 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.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
hypersucker
Newbie
Newbie
Posts: 43
Joined: September 15th, 2019, 6:00 pm

Re: Deobfuscation wrongly corrects file extension

Post 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.
Post Reply