Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied when begins analyze #137

Open
distiny-cool opened this issue Apr 6, 2024 · 1 comment
Open

Permission denied when begins analyze #137

distiny-cool opened this issue Apr 6, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@distiny-cool
Copy link

I downloaded https://github.com/doyensec/inql/releases/download/v5.0.2/InQL.jar as an extension of burp. But when I click"Generate queries with InQL Scanner“, it will pop up an error as shown in the screenshot.

Error Log

[thread#170 ui.py:34 :: visual_error()]    Got exception and converted it to popup error: '[Errno 13] Permission denied: '111.186.57.85:40472/2024-04-06_150507\\request_template.txt''
[thread#178 introspection.py:132 :: _analyze()]    Failed to create a new directory for the reports '%s' - as it already exists
[thread#178 ui.py:27 :: visual_error()]    Traceback (most recent call last):
  File "__pyclasspath__/inql/scanner/introspection.py", line 70, in analyze
    _analyze(url, filename, headers)
  File "__pyclasspath__/inql/scanner/introspection.py", line 133, in _analyze
    log.debug("Created the directory structure for the '%s'", url)
IOError: [Errno 13] Permission denied: '111.186.57.85:40472/2024-04-06_151126\\request_template.txt'

[thread#178 ui.py:34 :: visual_error()]    Got exception and converted it to popup error: '[Errno 13] Permission denied: '111.186.57.85:40472/2024-04-06_151126\\request_template.txt''

Screenshots
image

  • OS: Windows 11
  • Java Version: java 21.0.2 2024-01-16 LTS
  • Python Version: Python 3.12.2
  • Burp Version: BurpSuite pro V2024.2.1
@IktaS
Copy link

IktaS commented Apr 11, 2024

Hi, just checked this out and it seems like it's the combination of the host having a port, and windows naming restriction of not allowing colon (:). I ended up creating a fork and made a small change to replace the colon with an underscore and now the extension is working as intended https://github.com/IktaS/inql/tree/fix-windows-port-dir

@execveat execveat added the Bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants