We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa0a731 + c4f15e7 commit 767fb19Copy full SHA for 767fb19
dirsearch.py
@@ -66,6 +66,11 @@ def main():
66
67
options.update(parse_options())
68
69
+ if options["session_file"]:
70
+ print("WARNING: Running an untrusted session file might lead to unwanted code execution!")
71
+ if input("[c]ontinue / [q]uit: ") != "c":
72
+ exit(1)
73
+
74
from lib.controller.controller import Controller
75
76
Controller()
lib/controller/controller.py
@@ -72,11 +72,6 @@
class Controller:
def __init__(self) -> None:
if options["session_file"]:
- print("WARNING: Running an untrusted session file might lead to unwanted code execution!")
- interface.in_line("[c]continue / [q]uit: ")
77
- if input() != "c":
78
- exit(1)
79
-
80
self._import(options["session_file"])
81
self.old_session = True
82
else:
0 commit comments