Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
reduce output for deamon mode
Browse files Browse the repository at this point in the history
  • Loading branch information
foospidy committed Feb 14, 2017
1 parent 1a77b08 commit c30cf66
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions Honey.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,15 @@
plugin = importlib.import_module(plugin_module)
service_object = None

if int(low_port) < 1024:
if display_low_port_message:
print('Your service configuration suggests that you want to run on at least one low port!')
print('To enable port redirection run the following ipt-kit (https://github.com/foospidy/ipt-kit) commands as root:')
print('')
display_low_port_message = False

print('./ipt_set_' + low_protocol + ' ' + low_port + ' ' + port )
if False == args.d:
if int(low_port) < 1024:
if display_low_port_message:
print('Your service configuration suggests that you want to run on at least one low port!')
print('To enable port redirection run the following ipt-kit (https://github.com/foospidy/ipt-kit) commands as root:')
print('')
display_low_port_message = False

print('./ipt_set_' + low_protocol + ' ' + low_port + ' ' + port )

try:
if 'tcp' == protocol.lower():
Expand Down

0 comments on commit c30cf66

Please sign in to comment.