This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0 | |
/* | |
* @author Ammar Faizi <ammarfaizi2@gmail.com> https://www.facebook.com/ammarfaizi2 | |
* @license GPL-2.0 | |
* @package tgvisd::Main::Preload | |
* | |
* Copyright (C) 2021 Ammar Faizi <ammarfaizi2@gmail.com> | |
*/ | |
#if defined(__linux__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import select | |
import socket | |
import socketserver | |
__author__ = 'loncat <me@lcat.dev>' | |
services = [ | |
{ | |
'name': 'ssh', | |
'address': ('127.0.0.1', 22), |