mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 09:29:26 +00:00
Fixes #2691
This commit is contained in:
parent
2496db9d96
commit
942ac7733a
3 changed files with 10 additions and 5 deletions
|
|
@ -5,14 +5,19 @@ Copyright (c) 2006-2017 sqlmap developers (http://sqlmap.org/)
|
|||
See the file 'doc/COPYING' for copying permission
|
||||
"""
|
||||
|
||||
import logging
|
||||
import optparse
|
||||
import sys
|
||||
|
||||
sys.dont_write_bytecode = True
|
||||
|
||||
__import__("lib.utils.versioncheck") # this has to be the first non-standard import
|
||||
|
||||
import logging
|
||||
import optparse
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings(action="ignore", message=".*was already imported", category=UserWarning)
|
||||
warnings.filterwarnings(action="ignore", category=DeprecationWarning)
|
||||
|
||||
from sqlmap import modulePath
|
||||
from lib.core.common import setPaths
|
||||
from lib.core.data import logger
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue