mysql_ exceptions .OperationalError

_mysql_exceptions.OperationalError: (2013, ‘Lost connection to MySQL server during query’) Because mysql has a default connect_timeout time, once it exceeds, it will automatically close the connection. You can try the following two ways: The connect_tim

Use CobaltStrike

CobaltStrike is a penetration testing tool, known by the industry people as CS gods. cobaltStrike is divided into client and server, the server is one, the client can have more than one, can be distributed by the team to collaborate group operations. Coba

squid Deployment

YUM installation yum install squid -y yum install httpd-tools -y Compile and install cd squid* ./configure \ --prefix=/usr \ --exec-prefix=/usr \ --includedir=/usr/include \ --datadir=/usr/share \ --libdir=/usr/lib64 \ --libexecdir=/usr/lib64/squid \ --lo

webservice example

What is webservice: WebService is a remote invocation technology across programming languages and operating system platforms. The so-called cross programming language and cross operating platform means that the server program is written in java, and the

Native jdbc example with spring JDBC example

Native jdbc integration with spring Introduction to JDBC The JDBC API allows users to access any form of tabular data, especially data stored in relational databases. Implementation process: Connect to a data source, such as a database. Pass query

gitlab Deployment

GitLab is an open source project for warehouse management systems. Use Git as a code management tool and build a web service on this basis. Public or private projects can be accessed through a web interface. It has similar functionality to Github

Honeypot target drone deployment

pip install docker-compose # docker-compose wget https://github.com/vulhub/vulhub/archive/master.zip -O vulhub-master.zip # Source Code unzip vulhub-master.zip && cd vulhub-master # Decompress cd zabbix/CVE-2016-10134 # Access to vulnerabilities/environ

Deploying etcd clusters based on docker Deploying

ntp configuration: omitted # It is recommended to configure the ntp service to ensure time consistency etcd version: v3.3.9 Firewall and SELinux: Turn off firewall and SELinux