Skip to content

Commit

Permalink
How intrusive are the modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kazet committed Jul 31, 2024
1 parent 0c33cf2 commit 84f7f93
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions forti_vuln/forti_vuln.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import ssl
from typing import Optional, Tuple

from artemis import load_risk_class
from artemis.binds import Device, TaskStatus, TaskType
from artemis.config import Config
from artemis.module_base import ArtemisBase
Expand Down Expand Up @@ -30,6 +31,7 @@
"""


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.MEDIUM)
class FortiVuln(ArtemisBase): # type: ignore
"""
Checks FortiOS instance for CVE-2024-21762 vulnerability
Expand Down
2 changes: 2 additions & 0 deletions karton_dns_reaper/karton_dns_reaper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
import json
import subprocess

from artemis import load_risk_class
from artemis.binds import TaskStatus, TaskType
from artemis.module_base import ArtemisBase
from karton.core import Task


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.LOW)
class DNSReaper(ArtemisBase): # type: ignore
"""
Runs DNSReaper
Expand Down
3 changes: 2 additions & 1 deletion karton_sqlmap/karton_sqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from typing import List, Optional, Tuple

import timeout_decorator
from artemis import http_requests
from artemis import http_requests, load_risk_class
from artemis.binds import Service, TaskStatus, TaskType
from artemis.config import Config
from artemis.module_base import ArtemisBase
Expand Down Expand Up @@ -40,6 +40,7 @@ class FoundSQLInjection:
used_tamper_script: Optional[str] = None


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.HIGH)
class SQLmap(ArtemisBase): # type: ignore
"""
Runs sqlmap
Expand Down
3 changes: 2 additions & 1 deletion karton_ssl_checks/karton_ssl_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import hstspreload
import requests
from artemis import http_requests
from artemis import http_requests, load_risk_class
from artemis.binds import TaskStatus, TaskType
from artemis.config import Config
from artemis.domains import is_subdomain
Expand All @@ -23,6 +23,7 @@
from extra_modules_config import ExtraModulesConfig


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.LOW)
class SSLChecks(ArtemisBase): # type: ignore
"""
Runs SSL checks
Expand Down
2 changes: 2 additions & 0 deletions karton_wpscan/karton_wpscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import subprocess
import urllib.parse

from artemis import load_risk_class
from artemis.binds import TaskStatus, TaskType
from artemis.module_base import ArtemisBase
from karton.core import Task
Expand All @@ -14,6 +15,7 @@ class ScanningException(Exception):
pass


@load_risk_class.load_risk_class(load_risk_class.LoadRiskClass.MEDIUM)
class WPScan(ArtemisBase): # type: ignore
"""
Runs WPScan -> WordPress Vulnerability Scanner
Expand Down

0 comments on commit 84f7f93

Please sign in to comment.