summaryrefslogtreecommitdiffstats
path: root/src/target/fake_trx/ctrl_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/fake_trx/ctrl_cmd.py')
-rwxr-xr-xsrc/target/fake_trx/ctrl_cmd.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/target/fake_trx/ctrl_cmd.py b/src/target/fake_trx/ctrl_cmd.py
index e362408f..30b19bdc 100755
--- a/src/target/fake_trx/ctrl_cmd.py
+++ b/src/target/fake_trx/ctrl_cmd.py
@@ -28,6 +28,13 @@ import sys
from udp_link import UDPLink
+COPYRIGHT = \
+ "Copyright (C) 2017 by Vadim Yanitskiy <axilirator@gmail.com>\n" \
+ "License GPLv2+: GNU GPL version 2 or later " \
+ "<http://gnu.org/licenses/gpl.html>\n" \
+ "This is free software: you are free to change and redistribute it.\n" \
+ "There is NO WARRANTY, to the extent permitted by law.\n"
+
class Application:
def __init__(self, remote_addr, remote_port, bind_port, fuz = False):
# Init UDP connection
@@ -39,6 +46,9 @@ class Application:
# Set up signal handlers
signal.signal(signal.SIGINT, self.sig_handler)
+ # Print copyright
+ print(COPYRIGHT)
+
def run(self):
while True:
self.print_prompt()