AnalyzePDF icon indicating copy to clipboard operation
AnalyzePDF copied to clipboard

Python3 migration

Open KoikyLansoy opened this issue 4 months ago • 0 comments

Migration from Python 2.7 to Python 3

Summary

This PR migrates the AnalyzePDF script from Python 2.7 to Python 3, ensuring compatibility with modern Python environments while keeping existing functionality unchanged.

🧪 Testing

  • [x] Script compiles without syntax errors
  • [x] YARA rules compile successfully
  • [x] All print statements display properly
  • [x] Tested with : classic pdf, multiple filtering, invalid_xref_numbers as I changed the regex

🔍 Changes

  • None - All functionality preserved
  • Script now requires Python 3.x instead of Python 2.7
  • YARA library dependency updated to yara-python in doc

KoikyLansoy avatar Sep 21 '25 21:09 KoikyLansoy