-
Notifications
You must be signed in to change notification settings - Fork 86
Description
First of all, thanks for the excellent technique!
So.. for the first time which i utilized the script i've noticed that when i tried to select my interface through the script, i couldn't peform bindings to outside network because my interface (eth0) was point to local IP (172.x.x.x:445 ...) and not (0.0.0.0:445 ...). Then I've changed a little bit the source-code to do it as well.
Also, i would recommend to add a new feature do deal with it, allowing users to set manually the IP address on parameters (like -i parameter on Responder.py).
If someone have the same issues, there are some modifications which should be usefull:
[SMBetray/smbetray.py]
<..snippet..>
269 logging.getLogger().setLevel(logging.NOTSET)
270
271
272 config = dict()
273 #config['interface'] = args.I
274 config['interface'] = "0.0.0.0"
<../snippet..>
[SMBetray/lib/ebcLib.py]
<..snippet..>
101 self.protocol = protocol.upper()
102 self.interface = iface
103 self.mitmInstance = mitmInstance
104 #self.myIp = netifaces.ifaddresses(self.interface)[2][0]['addr']
105 self.myIp = "0.0.0.0"
106 self.newInstance = newInstance # Every new connection should/should not be handled by a new copy of the mitmInstance
107
<../snippet..>
Thanks, have a nice day.