mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 08:22:15 +01:00
Fix indentation and exception handling in sqlmap.py
This commit is contained in:
parent
6d4123c27d
commit
6cd11e422c
1 changed files with 11 additions and 0 deletions
11
sqlmap.py
11
sqlmap.py
|
|
@ -635,3 +635,14 @@ if __name__ == "__main__":
|
|||
else:
|
||||
# cancelling postponed imports (because of CI/CD checks)
|
||||
__import__("lib.controller.controller")
|
||||
if __name__ == " __main__":
|
||||
try:
|
||||
main()
|
||||
except keyboardinterrupt:
|
||||
pass
|
||||
except systemexit:
|
||||
raise
|
||||
except
|
||||
traceback.print_exc()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue