all .nsp extensions being renamed to .pfm via deobfuscation but why?

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
lvving
Newbie
Newbie
Posts: 7
Joined: April 3rd, 2023, 6:49 am

all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by lvving »

Edited original title and subject.
In the sabnzbd.log I can see all downloaded files with the .nsp extension being renamed to .pfm but I am not sure why or how I can disable it for just this extension. Very strange and I don't know why it is suddenly happening when it never did this in previous versions.
Last edited by lvving on August 27th, 2024, 10:47 pm, edited 1 time in total.
lvving
Newbie
Newbie
Posts: 7
Joined: April 3rd, 2023, 6:49 am

Re: all .nsp extensions being renamed to .pfm

Post by lvving »

I found a line in sabnzbd.log
024-08-24 16:04:59,412::INFO::[deobfuscate_filenames:255] Deobfuscate renaming (adding extension) \\?\Z:\dl\<folder name>\<filename>.nsp to \\?\Z:\dl\<folder name>\<filename>.nsp.pfm
This appears to only have started when I upgraded to version 4.3.3 but I am not entirely sure about that.

Is there a way to disable deobfuscation on certain files only?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by sander »

Turn off Deobfuscatiion

... until I fix it in Sabnzbd (sabnzbd/utils/file_extension.py)

I might consider adding a Special option "custom_known_extension" ... but YAO (Yet Another Option) >:(
lvving
Newbie
Newbie
Posts: 7
Joined: April 3rd, 2023, 6:49 am

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by lvving »

sander wrote: August 27th, 2024, 11:32 pm Turn off Deobfuscatiion

... until I fix it in Sabnzbd (sabnzbd/utils/file_extension.py)

I might consider adding a Special option "custom_known_extension" ... but YAO (Yet Another Option) >:(
I'm using v4.3.3 and I don't see a file named "file_extension.py" anywhere. Could it be a different name in 4.3.3? If it is just a python script, it should be easy (I hope) to edit until a fix comes out.
Thanks for your help.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by sander »

I think you'll only see that script if you run SABnzbd from source. So typically not on Windows nor Mac
lvving
Newbie
Newbie
Posts: 7
Joined: April 3rd, 2023, 6:49 am

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by lvving »

sander wrote: August 29th, 2024, 1:10 am I think you'll only see that script if you run SABnzbd from source. So typically not on Windows nor Mac
Thanks for replying and that makes sense since I am running it under windows. I will try turning off deobfuscarion for now. Just concerned about other file names not being named correctly but I will keep an eye on it.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by sander »

Ouch ... the feature I suggested is already in SABnzbd:

http://127.0.0.1:8080/sabnzbd/config/sp ... ame_ignore

... and I think I made it myself.

So: fill out "nsp" and you should be ok.
lvving
Newbie
Newbie
Posts: 7
Joined: April 3rd, 2023, 6:49 am

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?

Post by lvving »

sander wrote: August 30th, 2024, 2:24 pm Ouch ... the feature I suggested is already in SABnzbd:

http://127.0.0.1:8080/sabnzbd/config/sp ... ame_ignore

... and I think I made it myself.

So: fill out "nsp" and you should be ok.
Excellent. Thanks.
Post Reply