CVE-2023-42820: JumpServer password reset vulnerability

Table of Contents 0x01 Introduction 0x02 Vulnerability Overview 0x03 affected version 0x04 Environment setup 0x05 Vulnerability recurrence 0x06 Repair method 0x01 Introduction JumpServer open source bastion host is an operation and maintenance security audit system product that provides identity authentication, authorization control, account management, security audit and other functional support to help enterprises quickly build […]

Build a keyword-driven automated testing framework

Preface In the last article, we have learned how the data-driven automated testing framework builds and drives tests! So in this article we will learn how keyword-driven testing drives automated testing to complete the entire testing process. Keyword-driven framework is a functional automation testing framework, which is also known as table-driven testing or action word-based […]

How to hide encrypted password in python?

There are various Python modules for masking user-entered passwords, one of which is the **maskpass()module. In Python, with the help of themaskpass()module and thebase64()** module, we can hide the user’s password using an asterisk (*) while typing, and then with the help of the base64() module It can be encrypted. maskpass() maskpass() is a Python […]

Android uses poi to generate Excel and word and save them in the specified path

As soon as you add dependencies (be sure to use new versions of dependencies to prevent some bugs) minSdk= 26 //Note that the minimum supported SDK26 dependencies {<!– –> implementation ‘org.apache.poi:poi:5.2.4’ implementation ‘org.apache.poi:poi-ooxml:5.2.4’ implementation ‘javax.xml.stream:stax-api:1.0-2’ } Second, creation method private void createExcelFile(String Path) {<!– –> //Create workbook Workbook workbook = new XSSFWorkbook(); //Create worksheet Sheet […]

Android system custom development – universal password (including PIN, Password, pattern)

Because customers often encounter situations where users forget their passwords, causing users to send them back to the customer, this function needs to be developed. This function is implemented on Android8—Android13 respectively. First of all, when setting a universal password, at least two points must be considered: 1. Verification of lock screen interface 2. Verification […]

java synchronized keyword

Bytecode level 0x0020 [synchronized] will be added to the method flag. Specifically used are monitorenter and monitorexit 0 load_0 1 dup 2 astore_1 3 monitorenter 4 aload_1 5 monitorexit 6 goto 14 (+ 8) 9 astore_2 10 aload_1 11 monitorexit 12 aload_2 13 throw 14 return Why are there two monitorexits? In addition to normal […]

Export mysql database to word document

Export mysql database to word document pom.xml <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.76</version> </dependency> package com.ruoyi.test; import com.alibaba.fastjson.JSONObject; import org.apache.poi.xwpf.usermodel.*; import org.openxmlformats.schemas.wordprocessingml.x2006.main.*; import java.io.File; import java.io.FileOutputStream; import java.math.BigInteger; import java.sql.*; import java.util.ArrayList; import java.util.List; import org.apache.poi.xwpf.usermodel.ParagraphAlignment; import org.apache.poi.xwpf.usermodel.XWPFDocument; import org.apache.poi.xwpf.usermodel.XWPFParagraph; import org.apache.poi.xwpf.usermodel.XWPFRun; public class GeneratorDataToWordUtil {<!– –> public static final String driverUrl = “jdbc:mysql://192.168.110.45:3306/manlan_scm?useUnicode=true & amp;useJDBCCompliantTimezoneShift=true & […]

A 15,000-word article teaches you how to build an interface automation testing framework using Eclipse+TestNG (recommended to collect)

Teach you step by step how to build an interface automation testing framework using Eclipse + TestNG Without further ado, let’s get straight to it~ 1. Environment installation 1. Premise Install jdk Configure Java environment variables Install Eclips These are all available online, so I won’t introduce them in detail. 2. Install the TestNG plug-in […]

Weak password detection service implementation (multi-process, multi-thread, holy)

weak.py #!/usr/bin/env python # -*- coding: utf-8 -*- import global_par from global_par import * from weakcheck_tool import WEAK_CHECK import signal import os import errno import time import logging importsys import json import multiprocessing #pid import stomp from stomp import ConnectionListener import ConfigParser hand_count = 0 task_list = {} task_return_dic = {“type”:6, “status”:0, “task_id”:”0″, “tool”:”weak”, “data”:[ […]