mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Avoid deprecation warning on sha and md5 libraries on Python >= 2.6
This commit is contained in:
parent
6f4035938b
commit
546a6c32e3
2 changed files with 6 additions and 3 deletions
|
|
@ -28,6 +28,9 @@ import os
|
|||
import sys
|
||||
import time
|
||||
import traceback
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings(action="ignore", message=".*(md5|sha) module is deprecated", category=DeprecationWarning)
|
||||
|
||||
try:
|
||||
import psyco
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue