CTF Web - [geek challenge 2019]PHP
CTF Web - [geek challenge 2019]PHP
Blog description
The information involved in this article comes from Internet collation and personal summary, which means personal learning and experience summary. If there is any infringement, please contact me to delete, thank you! This article is only for learning and communication, not for illegal use!
C ...
Posted by ebbatten on Sun, 03 May 2020 17:02:43 -0700
Using mybatis to dynamically load external sql
background
I don't know if there is such a puzzle in your company. Many departments often ask your department to provide interfaces to query some data. The interface basically has no business logic. An SQL is enough, but it takes time and effort to develop an interface for this SQL. Many people also want to solve it. For example, they often wri ...
Posted by snake310 on Sun, 03 May 2020 14:14:16 -0700
Design pattern series -- single pattern
Definition
Ensure that there is only one instance of a class in any case, such as in a running container, privatize the constructor, and provide a global access point.
Implementation mode
1. Hungry Han style
public class HungrySingleton {
private static final HungrySingleton INSTANCE = new HungrySingleton();
private HungrySingleton() {
}
...
Posted by meomike2000 on Sun, 03 May 2020 05:44:37 -0700
Have you considered performance in interface oriented programming?
In normal development, most of you will follow the interface programming, which can facilitate the implementation of dependency injection, polymorphism and other small skills, but this is at the expense of performance in exchange for code flexibility. Everything has Yin and Yang. See your application scenarios for choices.
1: Background
1. Rea ...
Posted by yhingsmile on Sun, 03 May 2020 04:28:00 -0700
Java Implementation of AES ECP PKCS5Padding Encryption and Decryption Tool Class
Java implements an AES/ECB/PKCS5Padding encryption and decryption algorithm tool class
Encryption algorithm: AES
Mode: ECB
Complement method: PKCS5Padding
<!-- more -->
1. Tool Classes
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.util.Base64Utils;
import javax.crypto.Cipher;
i ...
Posted by sundawg on Sat, 02 May 2020 22:16:45 -0700
Native javascript prevents trigger of jquery from triggering mouse events
In the process of the project, the user will trigger an event. It is necessary to trigger the corresponding event for another element and then execute the corresponding code. In jquery, it can be implemented through trigger
trigger API
Today, I thought about how to implement js without jq? Recently, I read the book "javascript advance ...
Posted by Sj0wKOoMel on Sat, 02 May 2020 20:48:35 -0700
Java network programming - AIO programming
1, Introduction
In AIO programming, the concept of asynchronous channel is introduced on the basis of NIO, and the realization of asynchronous file and asynchronous socket channel is provided, so as to realize asynchronous non blocking in the true sense. NIO is only non blocking rather than asynchronous. AIO does not need to poll the registere ...
Posted by trial_end_error on Sat, 02 May 2020 08:54:33 -0700
The 38th blog post of Xiao Liu
It's late, so I won't talk nonsense. I finished homework 5 today, but I'm in a bad state. I still can't study at home
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>homewrok5</title>
<style>
html, body{
margin: 0;
padding: 0;
...
Posted by PHPnewby! on Fri, 01 May 2020 16:41:05 -0700
js design pattern builder pattern
Builder mode: separate the construction layer of a complex object from its representation layer, and the same construction process can adopt different representations. It is mainly used to build a responsible object step by step, in which "step by step" is a stable algorithm, while the parts of complex objects often change. Let's use ...
Posted by avillanu on Fri, 01 May 2020 13:28:55 -0700
Conditional note for spring-boot Underlying exploration
stay Previous We talked about the implementation of conditional annotations.Finally, there's the question, "Why doesn't spring inject beans into classes that use conditional annotations when conditions don't work?"With this in mind, today we'll look at the spring-boot startup process in which our beans are injected with conditional an ...
Posted by Dj_Lord on Thu, 30 Apr 2020 18:33:50 -0700