HackTheBox-Starting Point–Tier 2—Vaccine

Article directory 1 Vaccine testing process 1.1 Management 1.1.1 FTP anonymous login 1.1.2 SQL injection 1.2 Privilege Elevation 2 Topics One Vaccine testing process 1.1 Management 1. Port scan nmap -sV -sC 10.129.191.63 1.1.1 FTP anonymous login 2.FTP allows anonymous login and found backup.zip ftp 10.129.191.63 Unzip backup.zip, but a password is required: 3. Use […]

AJAX dynamically obtains values from the database through manual splicing and dynamically splices the spliced JSON to the front-end page——AJAX

<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script type=”text/javascript”> window.onload = function () { document.getElementById(“show”).onclick = function () { var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function () { if(ajax.readyState === 4) { if(ajax.status === 200) { var fromJava = ajax.responseText; var json = JSON.parse(fromJava); console.log(json); var html = “”; for (var […]

Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]

nginx four-layer tcp load balancing and active and standby, four-layer udp load balancing and active and standby, 7-layer http load balancing and active and standby configuration (wndows system active and standby, load balancing)

Preparation Prepare two centos7 computers, virtual machines can also be used Use vmware17 to build centos7 mini version server on windows-CSDN Blog Set up a static IP address (because the network load balancing manager on the Windows server does not support dhcp servers) Modify the network card IP address in ky10, centos7 and other linux […]

Nginx implements load balancing

Table of Contents 1: Introduction to load balancing 2. Functions of load balancing 1. Improve server performance 2. Improve system availability 3. Improve system scalability 4. Achieve traffic balance 3. Example configuration, how to use nginx to achieve load balancing 4. Load balancing policy configuration 1. Poll-based load balancing (default) 2. Weight-based load balancing 3. […]

Haproxy implements seven-layer load balancing

Table of Contents Haproxy overview haproxy algorithm: Haproxy implements seven-layer load ①Deploy nginx-server test page ②(active/standby) deploy load balancer ③Deploy keepalived for high availability ④Add health check on haproxy ⑤Test Haproxy Overview haproxy—It is mainly used for layer 7 load balancing, but it can also be used for layer 4 load balancing. Apache can also […]

Qt + OpenCV + Halcon + QScintilla implement Halcon’s script engine function (source code)

Foreword In the industrial field, the application of functions such as defect detection and target counting is basically a matter of trial and error. There is no specific standard. Standard modules for the functions can be realized by standardizing the input and output interfaces and replacing the process with a script engine. 1. Qt + […]

jstack java stack tracing tool

jstack java stack tracing tool 1. Introduction to jstack jstack (stack trace for java) is a stack tracing tool that comes with the Java virtual machine. jstack is mainly used to generate a thread snapshot of the current moment of the Java virtual machine. The thread snapshot is the method currently being executed by each […]

recycleView (2) Grid, there is spacing in the middle, left, right, top, and bottom have no spacing

1. Function 1. Renderings The top, bottom, right and left of item are all 0 2. Code 1. Key code //Set the spacing between RecycleView items. The upper and lower spacing is 20 for sorting, and the left and right spacing is 20 for sorting. binding.rv.addItemDecoration(object : RecyclerView.ItemDecoration() {<!– –> override fun getItemOffsets(outRect: Rect, view: […]