Commit 9093ed79 authored by Mati's avatar Mati

Pre-build commit

parent 4963ddb0
......@@ -16,9 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
sys.path.append("/usr/share/responder/")
import struct,SocketServer,re,optparse,socket,thread,Fingerprint,random,os,ConfigParser,BaseHTTPServer, select,urlparse,zlib, string
import sys,struct,SocketServer,re,optparse,socket,thread,Fingerprint,random,os,ConfigParser,BaseHTTPServer, select,urlparse,zlib, string
from SocketServer import TCPServer, UDPServer, ThreadingMixIn, StreamRequestHandler, BaseRequestHandler,BaseServer
from Fingerprint import RunSmbFinger,OsNameClientVersion
from odict import OrderedDict
......@@ -55,7 +53,7 @@ if options.OURIP is None and options.Analyse is None:
parser.print_help()
exit(-1)
ResponderPATH = '/usr/share/responder/' #os.path.dirname(__file__)
ResponderPATH = os.path.dirname(__file__)
#Config parsing
config = ConfigParser.ConfigParser()
......
Index: responder/Responder.py
===================================================================
--- responder.orig/Responder.py 2014-01-30 16:06:55.085203050 -0500
+++ responder/Responder.py 2014-01-30 16:09:45.934127995 -0500
@@ -16,7 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import sys,struct,SocketServer,re,optparse,socket,thread,Fingerprint,random,os,ConfigParser,BaseHTTPServer, select,urlparse,zlib, string
+import sys
+sys.path.append("/usr/share/responder/")
+import struct,SocketServer,re,optparse,socket,thread,Fingerprint,random,os,ConfigParser,BaseHTTPServer, select,urlparse,zlib, string
from SocketServer import TCPServer, UDPServer, ThreadingMixIn, StreamRequestHandler, BaseRequestHandler,BaseServer
from Fingerprint import RunSmbFinger,OsNameClientVersion
from odict import OrderedDict
@@ -53,7 +55,7 @@
parser.print_help()
exit(-1)
-ResponderPATH = os.path.dirname(__file__)
+ResponderPATH = '/usr/share/responder/' #os.path.dirname(__file__)
#Config parsing
config = ConfigParser.ConfigParser()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment