diff --git a/honeypots/__init__.py b/honeypots/__init__.py index a9c1572..e79a4f9 100644 --- a/honeypots/__init__.py +++ b/honeypots/__init__.py @@ -7,7 +7,6 @@ clean_all, get_free_port, kill_servers, - PostgresClass, server_arguments, set_local_vars, setup_logger, @@ -75,7 +74,6 @@ "clean_all", "get_free_port", "kill_servers", - "PostgresClass", "server_arguments", "set_local_vars", "setup_logger", diff --git a/honeypots/dhcp_server.py b/honeypots/dhcp_server.py index f2de1df..170cf0a 100644 --- a/honeypots/dhcp_server.py +++ b/honeypots/dhcp_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - import struct from socket import inet_aton diff --git a/honeypots/dns_server.py b/honeypots/dns_server.py index b9ec294..2bf3063 100644 --- a/honeypots/dns_server.py +++ b/honeypots/dns_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations from contextlib import suppress diff --git a/honeypots/elastic_server.py b/honeypots/elastic_server.py index aa8d22e..29b5e32 100644 --- a/honeypots/elastic_server.py +++ b/honeypots/elastic_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from base64 import b64encode, b64decode from contextlib import suppress from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer diff --git a/honeypots/ftp_server.py b/honeypots/ftp_server.py index 93835de..fe81a8f 100644 --- a/honeypots/ftp_server.py +++ b/honeypots/ftp_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from random import choice from tempfile import TemporaryDirectory diff --git a/honeypots/helper.py b/honeypots/helper.py index 82320b2..9f02a8e 100644 --- a/honeypots/helper.py +++ b/honeypots/helper.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations import json @@ -36,7 +25,7 @@ import psutil from OpenSSL import crypto from psutil import process_iter -from psycopg2 import connect as psycopg2_connect, sql +#from psycopg2 import connect as psycopg2_connect, sql def set_up_error_logging(): @@ -260,17 +249,17 @@ def __init__( # noqa: PLR0913 self.logs = logs self.uuid = uuid self.custom_filter = custom_filter - if config and "db_postgres" in self.logs: + if config and "db_postgres_removed" in self.logs: parsed = urlparse(config["postgres"]) - self.db["db_postgres"] = PostgresClass( - host=parsed.hostname, - port=parsed.port, - username=parsed.username, - password=parsed.password, - db=parsed.path[1:], - uuid=self.uuid, - drop=drop, - ) + #self.db["db_postgres"] = PostgresClass( + # host=parsed.hostname, + # port=parsed.port, + # username=parsed.username, + # password=parsed.password, + # db=parsed.path[1:], + # uuid=self.uuid, + # drop=drop, + #### if config and "db_sqlite" in self.logs: self.db["db_sqlite"] = SqliteClass( file=config["sqlite_file"], drop=drop, uuid=self.uuid @@ -314,136 +303,6 @@ def emit(self, record: LogRecord): # noqa: C901,PLR0912 stdout.write(f"{json.dumps(log_entry, sort_keys=True, cls=ComplexEncoder)}\n") stdout.flush() - -class PostgresClass: - def __init__( # noqa: PLR0913 - self, - host=None, - port=None, - username=None, - password=None, - db=None, - drop=False, - uuid=None, - ): - self.host = host - self.port = port - self.username = username - self.password = password - self.db = db - self.uuid = uuid - self.mapped_tables = ["errors", "servers", "sniffer", "system"] - self.wait_until_up() - if drop: - self.con = psycopg2_connect( - host=self.host, - port=self.port, - user=self.username, - password=self.password, - ) - self.con.set_isolation_level(0) - self.cur = self.con.cursor() - self.drop_db() - self.drop_tables() - self.create_db() - self.con.close() - else: - self.con = psycopg2_connect( - host=self.host, - port=self.port, - user=self.username, - password=self.password, - ) - self.con.set_isolation_level(0) - self.cur = self.con.cursor() - if not self.check_db_if_exists(): - self.create_db() - self.con.close() - self.con = psycopg2_connect( - host=self.host, - port=self.port, - user=self.username, - password=self.password, - database=self.db, - ) - self.con.set_isolation_level(0) - self.con.set_client_encoding("UTF8") - self.cur = self.con.cursor() - self.create_tables() - - def wait_until_up(self): - test = True - while test: - with suppress(Exception): - logger.info(f"{self.uuid} - Waiting on postgres connection") - stdout.flush() - conn = psycopg2_connect( - host=self.host, - port=self.port, - user=self.username, - password=self.password, - connect_timeout=1, - ) - conn.close() - test = False - sleep(1) - logger.info(f"{self.uuid} - postgres connection is good") - - def addattr(self, x, val): - self.__dict__[x] = val - - def check_db_if_exists(self): - exists = False - with suppress(Exception): - self.cur.execute( - "SELECT exists(SELECT 1 from pg_catalog.pg_database where datname = %s)", - (self.db,), - ) - if self.cur.fetchone()[0]: - exists = True - return exists - - def drop_db(self): - with suppress(Exception): - logger.warning(f"Dropping {self.db} db") - if self.check_db_if_exists(): - self.cur.execute( - sql.SQL("drop DATABASE IF EXISTS {}").format(sql.Identifier(self.db)) - ) - sleep(2) - self.cur.execute(sql.SQL("CREATE DATABASE {}").format(sql.Identifier(self.db))) - - def create_db(self): - logger.info("Creating PostgreSQL database") - self.cur.execute(sql.SQL("CREATE DATABASE {}").format(sql.Identifier(self.db))) - - def drop_tables( - self, - ): - for x in self.mapped_tables: - self.cur.execute( - sql.SQL("drop TABLE IF EXISTS {}").format(sql.Identifier(x + "_table")) - ) - - def create_tables(self): - for table in self.mapped_tables: - self.cur.execute( - sql.SQL( - "CREATE TABLE IF NOT EXISTS {} " - "(id SERIAL NOT NULL,date timestamp with time zone DEFAULT now(),data json)" - ).format(sql.Identifier(table + "_table")) - ) - - def insert_into_data_safe(self, table, obj): - with suppress(Exception): - self.cur.execute( - sql.SQL("INSERT INTO {} (id,date, data) VALUES (DEFAULT ,now(), %s)").format( - sql.Identifier(table + "_table") - ), - [obj], - ) - - class SqliteClass: def __init__(self, file=None, drop=False, uuid=None): self.file = file diff --git a/honeypots/http_proxy_server.py b/honeypots/http_proxy_server.py index cff4f55..53408be 100644 --- a/honeypots/http_proxy_server.py +++ b/honeypots/http_proxy_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations from contextlib import suppress diff --git a/honeypots/http_server.py b/honeypots/http_server.py index e58881b..a052881 100644 --- a/honeypots/http_server.py +++ b/honeypots/http_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor diff --git a/honeypots/https_server.py b/honeypots/https_server.py index fd030f9..22afd79 100644 --- a/honeypots/https_server.py +++ b/honeypots/https_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor, ssl diff --git a/honeypots/imap_server.py b/honeypots/imap_server.py index 382a171..3cbc838 100644 --- a/honeypots/imap_server.py +++ b/honeypots/imap_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from random import choice diff --git a/honeypots/ipp_server.py b/honeypots/ipp_server.py index 3a936ee..2488c97 100644 --- a/honeypots/ipp_server.py +++ b/honeypots/ipp_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations from contextlib import suppress diff --git a/honeypots/irc_server.py b/honeypots/irc_server.py index 8241d24..fa9f511 100644 --- a/honeypots/irc_server.py +++ b/honeypots/irc_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor diff --git a/honeypots/ldap_server.py b/honeypots/ldap_server.py index 0ba2cc9..246ddfd 100644 --- a/honeypots/ldap_server.py +++ b/honeypots/ldap_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations import struct diff --git a/honeypots/memcache_server.py b/honeypots/memcache_server.py index 503e984..4cc5438 100644 --- a/honeypots/memcache_server.py +++ b/honeypots/memcache_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from random import randint, uniform from time import time diff --git a/honeypots/mssql_server.py b/honeypots/mssql_server.py index bed2a46..5c7a16e 100644 --- a/honeypots/mssql_server.py +++ b/honeypots/mssql_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from binascii import hexlify, unhexlify from contextlib import suppress from struct import pack, unpack diff --git a/honeypots/mysql_server.py b/honeypots/mysql_server.py index a3aa539..7fb97cf 100644 --- a/honeypots/mysql_server.py +++ b/honeypots/mysql_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations from contextlib import suppress diff --git a/honeypots/ntp_server.py b/honeypots/ntp_server.py index 7f3d8d3..b92a92b 100644 --- a/honeypots/ntp_server.py +++ b/honeypots/ntp_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" import struct from contextlib import suppress from struct import pack diff --git a/honeypots/oracle_server.py b/honeypots/oracle_server.py index ead3db6..e778c6a 100644 --- a/honeypots/oracle_server.py +++ b/honeypots/oracle_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations from contextlib import suppress diff --git a/honeypots/pjl_server.py b/honeypots/pjl_server.py index c45c38a..69575a9 100644 --- a/honeypots/pjl_server.py +++ b/honeypots/pjl_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor diff --git a/honeypots/pop3_server.py b/honeypots/pop3_server.py index b5b7cdd..d9dd5fa 100644 --- a/honeypots/pop3_server.py +++ b/honeypots/pop3_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations from contextlib import suppress diff --git a/honeypots/postgres_server.py b/honeypots/postgres_server.py index 0a40969..61de0e2 100644 --- a/honeypots/postgres_server.py +++ b/honeypots/postgres_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor @@ -55,6 +43,7 @@ def connectionMade(self): # noqa: N802 ) def dataReceived(self, data: bytes): # noqa: N802 + print(data.hex()) if self._state == 1: self._state = 2 self.transport.write(b"N") @@ -64,6 +53,7 @@ def dataReceived(self, data: bytes): # noqa: N802 self.transport.write(b"R\x00\x00\x00\x08\x00\x00\x00\x03") elif self._state == 3: # noqa: PLR2004 message_type = data[0] + print(data.hex()) if message_type == GSSResponse and "user" in self._variables: self.read_password_custom(data) username = check_bytes(self._variables["user"]) @@ -85,13 +75,21 @@ def connectionLost(self, reason): # noqa: N802,ARG002 def test_server(self, ip=None, port=None, username=None, password=None): with suppress(Exception): - from psycopg2 import connect + from socket import socket _ip = ip or self.ip _port = port or self.port _username = username or self.username _password = password or self.password - connect(host=_ip, port=_port, user=_username, password=_password) + + s = socket() + s.connect((_ip,_port)) + s.send(b'\x00\x00\x00\x08\x04\xd2\x16\x2f') + s.recv(1024) + s.send(b'\x00\x00\x00\x21\x00\x03\x00\x00\x75\x73\x65\x72\x00' + _username + b'\x00\x64\x61\x74\x61\x62\x61\x73\x65\x00' + _username + b'\x00\x00') + s.recv(1024) + s.send(b'\x70\x00\x00\x00\x09' + _password + b'\x00') + s.close() if __name__ == "__main__": diff --git a/honeypots/rdp_server.py b/honeypots/rdp_server.py index ea553d8..73ad163 100644 --- a/honeypots/rdp_server.py +++ b/honeypots/rdp_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from socket import socket, SHUT_RDWR, AF_INET, SOCK_STREAM, SOL_SOCKET, SO_REUSEADDR from ssl import SSLContext, PROTOCOL_TLSv1_2, CERT_NONE diff --git a/honeypots/redis_server.py b/honeypots/redis_server.py index ece17d6..ab56c50 100644 --- a/honeypots/redis_server.py +++ b/honeypots/redis_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations from contextlib import suppress diff --git a/honeypots/sip_server.py b/honeypots/sip_server.py index c3bdc34..624c697 100644 --- a/honeypots/sip_server.py +++ b/honeypots/sip_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.internet import reactor diff --git a/honeypots/smb_server.py b/honeypots/smb_server.py index 73e09a7..25ff616 100644 --- a/honeypots/smb_server.py +++ b/honeypots/smb_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from contextlib import suppress from pathlib import Path from random import randint diff --git a/honeypots/smtp_server.py b/honeypots/smtp_server.py index ef6e7b7..26e9134 100644 --- a/honeypots/smtp_server.py +++ b/honeypots/smtp_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - import socket from asyncore import loop from base64 import b64decode diff --git a/honeypots/sniffer.py b/honeypots/sniffer.py index b7deb6a..5fa06a2 100644 --- a/honeypots/sniffer.py +++ b/honeypots/sniffer.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations import re diff --git a/honeypots/snmp_server.py b/honeypots/snmp_server.py index e0c69e9..c911c7a 100644 --- a/honeypots/snmp_server.py +++ b/honeypots/snmp_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from scapy.error import Scapy_Exception from scapy.layers.snmp import SNMP from twisted.internet import reactor diff --git a/honeypots/socks5_server.py b/honeypots/socks5_server.py index 9c9e297..be2da55 100644 --- a/honeypots/socks5_server.py +++ b/honeypots/socks5_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" import struct from contextlib import suppress from socketserver import TCPServer, StreamRequestHandler, ThreadingMixIn diff --git a/honeypots/ssh_server.py b/honeypots/ssh_server.py index d685001..d94a1cc 100644 --- a/honeypots/ssh_server.py +++ b/honeypots/ssh_server.py @@ -1,14 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" from __future__ import annotations import logging diff --git a/honeypots/telnet_server.py b/honeypots/telnet_server.py index 3fafa92..1632f4e 100644 --- a/honeypots/telnet_server.py +++ b/honeypots/telnet_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from contextlib import suppress from twisted.conch.telnet import TelnetProtocol, TelnetTransport diff --git a/honeypots/vnc_server.py b/honeypots/vnc_server.py index 2d59a21..f5f8739 100644 --- a/honeypots/vnc_server.py +++ b/honeypots/vnc_server.py @@ -1,15 +1,3 @@ -""" -// ------------------------------------------------------------- -// author Giga -// project qeeqbox/honeypots -// email gigaqeeq@gmail.com -// description app.py (CLI) -// licensee AGPL-3.0 -// ------------------------------------------------------------- -// contributors list qeeqbox/honeypots/graphs/contributors -// ------------------------------------------------------------- -""" - from __future__ import annotations from contextlib import suppress