Added TCP80 Talker
This commit is contained in:
parent
6a78dcbb28
commit
171e2669a0
2 changed files with 1 additions and 3 deletions
|
@ -31,8 +31,6 @@ To enable the use of this service as a simple API, the response to queries is fo
|
|||
### INSTALL PROCESS ###
|
||||
If you would rather set up your own private instance of CheckMyIP, then you can follow the below instructions to set it up for yourself.
|
||||
|
||||
|
||||
|
||||
Change Linux SSH Port to TCP 222 and reboot
|
||||
```
|
||||
sudo sed -i --follow-symlinks 's/#Port 22/Port 222/g' /etc/ssh/sshd_config
|
||||
|
|
|
@ -185,7 +185,7 @@ def ssh_talker(client, valdict):
|
|||
|
||||
|
||||
def start():
|
||||
talkers = {22: ssh_talker, 23: telnet_talker}
|
||||
talkers = {22: ssh_talker, 23: telnet_talker, 80: telnet_talker}
|
||||
for talker in talkers:
|
||||
thread = threading.Thread(target=listener, args=(talker, talkers[talker]))
|
||||
thread.daemon = True
|
||||
|
|
Loading…
Reference in a new issue