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 […]

Data structure: unordered_map and unordered_set

Table of Contents 1.Framework 2. Structure unordered_map unordered_set 3. Modifications to HashTable Change template parameters 4. Add an iterator a. Structure b. Operator overloading c.HashTable encapsulates iterator d.Iterators of unordered_map and unordered_set 1.Frame 1. Reuse HashTable ~~> Add template parameter KeyOfT to obtain Key value unordered_map passes K, V unordered_set passes K 2. Add iterator: […]

Cordova series simplifies complexity: creating Cordova components suitable for all scenarios

Foreword In the opening chapter of my previous article A Preliminary Study of Cordova, I mentioned that one of the significant limitations of Cordova in Android application development is that our Activity must inherit the CordovaActivity provided by it. This design is particularly restrictive for projects that pursue personalized UI design. In fact, it is […]

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 […]

web3 takes out all completed orders from redux and renders them into the corresponding Table list

The above web3 React dapp project gets canceled and completed and all order data from the blockchain through events and stores them in redux. In we have got our order from the block Then we restore the above environment ganache ganache -d Then log in to MetaMask Then use our project to publish the contract […]

(STL hash) unordered_map

1. unordered series containers In C++98, STL provides a series of associative containers with red-black tree structures at the bottom, including set, multiset, map and multimap. The time complexity of query operations for these containers is O ( log N ) O(logN)O(logN), where N is the number of elements in the container. In order to […]

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 […]

Raspberry Pi connects to ordinary Mqtt server

Raspberry Pi connects to ordinary Mqtt server This article introduces how to use Python language to connect to a common MQTT server on the Raspberry Pi and perform dual-threaded message publishing and subscription. This tutorial will use the paho-mqtt library to complete communication tasks under the MQTT protocol, and is suitable for IoT projects and […]