Skip to content
Permalink
Browse files

fix format string errors due to line length limit (#133)

* fix format string errors due to line length limit

* bumped version to 1.4.10

Co-authored-by: Paul <tarterp@gmail.com>
  • Loading branch information
mlhaigh and tarterp committed Jan 3, 2020
1 parent aa1d7e9 commit e8a6c9ab58211f03846242836c585d412fed61f7
Showing with 12 additions and 10 deletions.
  1. +4 −0 CHANGELOG.txt
  2. +4 −6 fakenet/diverters/winutil.py
  3. +1 −1 fakenet/fakenet.py
  4. +2 −2 fakenet/listeners/DNSListener.py
  5. +1 −1 setup.py
@@ -1,3 +1,7 @@
Version 1.4.10
--------------
* Fix format string errors due to line length limit

Version 1.4.9
-------------
* Fully customizable HTTP responses without building a full listener
@@ -380,13 +380,11 @@ def fix_gateway(self):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
except subprocess.CalledProcessError, e:
self.logger.error(" Failed to set gateway %s" +
"on interface %s." % (gw_address,
interface_name))
self.logger.error(" Failed to set gateway %s on interface %s."
% (gw_address, interface_name))
else:
self.logger.info(" Setting gateway %s on " +
"interface %s" % (gw_address,
interface_name))
self.logger.info(" Setting gateway %s on interface %s"
% (gw_address, interface_name))
fixed = True

return fixed
@@ -331,7 +331,7 @@ def main():
| | / ____ \| . \| |____| |\ | |____ | | | |\ | |__| |
|_|/_/ \_\_|\_\______|_| \_|______| |_| |_| \_|\_____|
Version 1.4.9
Version 1.4.10
_____________________________________________________________
Developed by FLARE Team
_____________________________________________________________
@@ -158,8 +158,8 @@ def parse(self,data):
fake_record = socket.gethostbyname(socket.gethostname())

if self.server.nxdomains > 0:
self.server.logger.info('Ignoring query. NXDomains:' +
' %d', self.server.nxdomains)
self.server.logger.info('Ignoring query. NXDomains: %d',
self.server.nxdomains)
self.server.nxdomains -= 1
else:
self.server.logger.debug('Responding with \'%s\'',
@@ -23,7 +23,7 @@

setup(
name='FakeNet NG',
version='1.4.9',
version='1.4.10',
description="",
long_description="",
author="FireEye FLARE Team with credit to Peter Kacherginsky as the original developer",

0 comments on commit e8a6c9a

Please sign in to comment.
You can’t perform that action at this time.