Adjusted impacket import check

This commit is contained in:
Bernardo Damele
2010-10-27 21:10:56 +00:00
parent ed1f2da43f
commit 26cf6c2136
2 changed files with 15 additions and 2 deletions

View File

@@ -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