mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Adjusted impacket import check
This commit is contained in:
parent
ed1f2da43f
commit
26cf6c2136
2 changed files with 15 additions and 2 deletions
|
|
@ -25,8 +25,11 @@ import select
|
|||
import socket
|
||||
import sys
|
||||
|
||||
from impacket import ImpactDecoder
|
||||
from impacket import ImpactPacket
|
||||
try:
|
||||
from impacket import ImpactDecoder
|
||||
from impacket import ImpactPacket
|
||||
except ImportError, _:
|
||||
pass
|
||||
|
||||
def main(src, dst):
|
||||
# Make standard input a non-blocking file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue