Page 1 of 1
all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 27th, 2024, 9:36 pm
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.
Re: all .nsp extensions being renamed to .pfm
Posted: August 27th, 2024, 9:53 pm
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?
Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 27th, 2024, 11:32 pm
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)

Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 29th, 2024, 12:19 am
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.
Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 29th, 2024, 1:10 am
by sander
I think you'll only see that script if you run SABnzbd from source. So typically not on Windows nor Mac
Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 29th, 2024, 1:18 am
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.
Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 30th, 2024, 2:24 pm
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.
Re: all .nsp extensions being renamed to .pfm via deobfuscation but why?
Posted: August 30th, 2024, 8:45 pm
by lvving