Skip to content

Commit 80f7f84

Browse files
author
ekultek
committed
minor update to catch a an error
1 parent 7c3ca6a commit 80f7f84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

autosploit.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
from autosploit.main import main
2+
from lib.output import error
23

34

45
if __name__ == "__main__":
5-
main()
6+
try:
7+
main()
8+
except KeyboardInterrupt:
9+
error("user aborted session")

0 commit comments

Comments
 (0)