Skip to content

Commit

Permalink
Generate "Points of Interests" report #82, #101
Browse files Browse the repository at this point in the history
  • Loading branch information
execveat committed Apr 27, 2023
1 parent d7dfdd3 commit 430ed38
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 111 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ repos:
language: system
types: [python]

- id: pylint
name: pylint
entry: pylint -j2 --output-format=parseable python/inql
language: system
types: [python]
require_serial: true
# - id: pylint
# name: pylint
# entry: pylint -j2 --output-format=parseable python/inql
# language: system
# types: [python]
# require_serial: true
4 changes: 2 additions & 2 deletions python/inql/extender.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
from .logger import log, set_log_level
from .menu.context_menu import ContextMenu
from .scanner.tab import ScannerTab
from .scraper.headers_scraper import CustomProxyListener
from .timer.tab import TimerTab
from .traffic_scan.scan_handler import BurpScannerCheck
from .utils.decorators import unroll_exceptions
from .utils.ui import ui_panel
from .scraper.headers_scraper import CustomProxyListener

DEBUG = True

Expand Down Expand Up @@ -94,7 +94,7 @@ def registerExtenderCallbacks(self):
montoya.userInterface().registerHttpRequestEditorProvider(provideHttpRequestEditor)
# Register ourselves as a custom scanner check
callbacks.registerScannerCheck(BurpScannerCheck())
# Register the proxy listener
# Register the proxy listener
montoya.proxy().registerRequestHandler(CustomProxyListener(app.scraped_headers))


Expand Down
5 changes: 2 additions & 3 deletions python/inql/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,11 @@ class App(object):
# This is the current selected session, by default the session is set to inql
app.session_name = "InQL"

# Custom Headers will be a dictionary of sessions.
# Custom Headers will be a dictionary of sessions.
# Each session will be a dictionary where all the domains have a list of headers
app.custom_headers = {}
app.custom_headers[app.session_name] = {}

# Scraped Header will be a dictionary of domains with associated scraped headers
# Scraped Header will be a dictionary of domains with associated scraped headers
# TODO decide if the headeres will be stored in dicsts or lists.
app.scraped_headers = {}

Loading

0 comments on commit 430ed38

Please sign in to comment.