modzero/mod0BurpUploadScanner

Bug

mhassan772 opened this issue · 0 comments

Traceback (most recent call last):
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 5225, in getInsertionPoints
    insertion_points.append(InsertionPointForActiveScan(injector, upload_type, function, args, kwargs))
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 5423, in __init__
    payload, expect, name, ext, content = self._create_content("TestWithAPayloadThatHasAGoodLength")
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 5423, in __init__
    payload, expect, name, ext, content = self._create_content("TestWithAPayloadThatHasAGoodLength")
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 5434, in _create_content
    return next(iter(self.function(*args, **self.kwargs)))
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 5770, in get_exiftool_images
    x = ImageHelpers.new_image(size[0], size[1], ext[1:])
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 4649, in new_image
    g2d.setColor(Color(color))
  File "/Users/mohamed/.BurpSuite/bapps/b2244cbb6953442cb3c82fa0a0d908fa/UploadScanner.py", line 4649, in new_image
    g2d.setColor(Color(color))
IllegalAccessException: java.lang.IllegalAccessException: class org.python.core.PyReflectedFunction cannot access class sun.java2d.SunGraphics2D (in module java.desktop) because module java.desktop does not export sun.java2d to unnamed module @6f607cd4

Upload Scanner Version: 1.0.8a

Extension code location: InsertionPointProviderForActiveScan.getInsertionPoints
Jython version: 2.7.1 (default:0df7adb1b397, Jun 30 2017, 19:02:43) 
[OpenJDK 64-Bit Server VM (Oracle Corporation)]
Java version: 19.0.2
Burp version: Burp Suite Professional 2023 3.5
Command line arguments: 
Was loaded from BApp: True
Request: None