Two Java replicas of SUSCTF2022
Two Java replicas of SUSCTF2022
preface
I didn't watch the game. First, I can't remember Java after touching the whole winter vacation... Second, because the hearts and minds of the team are directly seconds..
However, these two fastjson seem to have some strange problems. If you reproduce them, just learn something from them.
baby gadget v ...
Added by GoodGuy201 on Wed, 02 Mar 2022 16:36:24 +0200
Installation and use of Arthas in mac system
Arthas is a Java diagnostic tool open source by Alibaba in September 2018. It supports JDK6 + and adopts command-line interaction mode, which can easily locate and diagnose online program operation problems. The official document of Arthas is very detailed. See: https://alibaba.github.io/arthas
Arthas usage scenario
Thanks to the powerful ...
Added by spicey on Wed, 02 Mar 2022 16:02:32 +0200
The spinboot of ShardingSphere integrates sharding JDBC for data single master node read-write separation and multi master and multi slave read-write separation + sub database and sub table
1, Read write separation concept
Read write separation is to evenly distribute query requests to multiple data copies through master-slave configuration, so as to further improve the processing capacity of the system.
Master-slave architecture: read-write separation, which aims at high availability and read-write expansion. The contents of t ...
Added by trock74 on Wed, 02 Mar 2022 16:02:46 +0200
Don't write about the explosion of the full screen. Try the decorator mode. This is the elegant way
background
Are you still writing about explosions on the screen?
That is, regardless of 3721, write all the code in one class, so the code is not elegant. If the change involves the old code, it may also affect the stability of the online system.
In fact, in many cases, we can solve many potential system problems by skillfully using the desi ...
Added by florida_guy99 on Wed, 02 Mar 2022 15:51:18 +0200
MyBatis how to solve database data encryption and decryption
Preface: introduce a simple MyBatis encryption and decryption method. This method is rarely mentioned in daily study and work, so let's talk about it. If you already know this method, ignore this article
1, Background
Sometimes in our database, some sensitive information of users, such as mobile phone number, bank card and other information, ...
Added by gordong1968 on Wed, 02 Mar 2022 15:31:46 +0200
61. Introduction to shiro zero Foundation (Foundation completion source code to be supplemented)
shiro (java security framework)
1 Introduction
Apache Shiro is a security framework for Java. At present, more and more people use Apache Shiro because it is quite simple. Compared with Spring Security, it may not be as powerful as Spring Security, but it may not need so complex things in actual work, so using a small and simple Shiro is enou ...
Added by scuba on Wed, 02 Mar 2022 15:12:18 +0200
Grouping and aggregation using Java streams
When we group the elements in the list, we can then aggregate the fields of the grouped elements to perform meaningful operations to help us analyze the data. Some examples are addition, average, or maximum / minimum. Aggregation of these individual fields can be easily done using Java Streams and Collectors. This document provides simple examp ...
Added by ndorfnz on Wed, 02 Mar 2022 14:08:00 +0200
Java Web VI: other related problems of Servlet
Servlet 2: some other related problems of Servlet
1, Set code
get request method Based on tomcat8, transcoding is not required To send Chinese data before tomcat8, the following transcoding operations are required String fname = req.getParameter("fname");
// 1. Break the string into byte arrays
byte[] bytes = fname.getBytes("ISO-8859-1");
// ...
Added by priya_cks on Wed, 02 Mar 2022 13:15:40 +0200
BlockingQueue source code analysis
1, Introduction to blocking queue
Queue is often used to solve production consumer problems. Queue interface and some general abstract methods are defined in Java
public interface Queue<E> extends Collection<E> {
// Adding an element returns true after adding successfully. If the queue is full, an exception will be thrown
...
Added by fdost on Wed, 02 Mar 2022 13:08:07 +0200
50000 words, nanny level tutorial of data warehouse construction, offline and real-time (Theory + Practice)
Outline of this paper:
Due to the large amount of content, this article will start directly from Chapter 5. For the complete version of the document, please click the link below:
Nanny level tutorial of data warehouse construction PDF document
The contents of the first four chapters are available at the link above
Chapter V core of real-t ...
Added by imurkid on Wed, 02 Mar 2022 12:58:15 +0200