Skip to content

Improve deobfuscation#469

Merged
dnzbk merged 1 commit intodevelopfrom
fix/deobfuscation
Dec 17, 2024
Merged

Improve deobfuscation#469
dnzbk merged 1 commit intodevelopfrom
fix/deobfuscation

Conversation

@dnzbk
Copy link
Copy Markdown
Collaborator

@dnzbk dnzbk commented Dec 16, 2024

Description

  • improved deobfuscation:
    • enhanced parsing of the subject field in NZB files, along with improved validation of downloaded article filenames
    • added a check for filename obfuscation after unpacking; excessively obfuscated filenames are renamed to the NZB filename if the NZB filename is not also obfuscated
  • new options:
    • "RenameAfterUnpack" - enables/disables renaming of extracted and obfuscated files using the NZB filename
    • "RenameIgnoreExt" - a comma separated list of file extensions to ignore when renaming files after unpacking
  • new value for field "Status" in API-method "listgroups": "POST_UNPACK_RENAMING"

Testing

  • Windows 11
  • Linux Debian 12
  • macOS Ventura

@dnzbk dnzbk requested review from luckedea and phnzb December 16, 2024 06:19
This was linked to issues Dec 16, 2024
@dnzbk dnzbk marked this pull request as draft December 16, 2024 08:44
@dnzbk dnzbk force-pushed the fix/deobfuscation branch from 1f09c11 to eba8d02 Compare December 16, 2024 09:44
@dnzbk dnzbk marked this pull request as ready for review December 16, 2024 13:30
@dnzbk dnzbk merged commit 9f755bf into develop Dec 17, 2024
@dnzbk dnzbk deleted the fix/deobfuscation branch December 17, 2024 07:41
@dnzbk dnzbk mentioned this pull request Feb 24, 2025
dnzbk added a commit that referenced this pull request Feb 24, 2025
## Description
  - Features:
    - Improved deobfuscation [#469](#469)
      - enhanced parsing of the subject field in NZB files and improved validation of downloaded article filenames 
      - added a check for filename obfuscation after unpacking; excessively obfuscated filenames are renamed to the NZB filename 
      - added new options:
        - `RenameAfterUnpack` - enables/disables renaming of extracted and obfuscated files using the NZB filename
        - `RenameIgnoreExt` - a comma-separated list of file extensions to ignore when renaming files after unpacking
      - added a new value for the `Status` field in the `listgroups` API method: `POST_UNPACK_RENAMING`
    - Network speed tests
      - the new API-method:
        - `struct testnetworkspeed()` - returns the measured network speed in `Mbps` [#489](#489)
    - Added support by `DirectRename` and `ParRename` of nested file paths found in par files [#497](#497)
    - Added a filter to the nzb manual upload dialog [#505](#505)
  - Bug fixes:
    - Fixed: `HealthCheck=None` with `ParCheck=Force` can cause a segmentation fault on unhealthy downloads [#475](#475)
    - Fixed: Attempting to load the certificate even if CertCheck is turned off [#479](#479)
    - Fixed: Loading icon display for NZB uploads in light and dark modes [#486](#486)
    - Fixed PowerPC (ppc500) support [#491](#491)
beertje44 pushed a commit to beertje44/nzbget that referenced this pull request Mar 4, 2025
- improved deobfuscation:
  - enhanced parsing of the subject field in NZB files, along with improved validation of downloaded article filenames 
  - added a check for filename obfuscation after unpacking; excessively obfuscated filenames are renamed to the NZB filename if the NZB filename is not also obfuscated
- new options:
  - "RenameAfterUnpack" - enables/disables renaming of extracted and obfuscated files using the NZB filename
  - "RenameIgnoreExt" - a comma separated list of file extensions to ignore when renaming files after unpacking
- new value for field "Status" in API-method "listgroups": "POST_UNPACK_RENAMING"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WtFnZb nzbs Support Wrong filenames decoding

2 participants