Brute force cracking [Verification code bypass, token blast-proof] shooting range experiment

Practical pre-statement The procedures (methods) involved in the article may be offensive and are only for security research and learning purposes. If readers use the information for other purposes, the user shall bear all legal and joint liability. The author of the article does not assume any legal and joint liability. 1. Introduction to BurpSuite […]

Inherit the Jwt token verification interceptor and generate interface documents through knife4j

sky: jwt: #Set the secret key used when encrypting jwt signatures admin-secret-key: itcast # Set jwt expiration time to 2 hours admin-ttl: 7200000 #Set the token name passed by the front end admin-token-name: token Get configuration class related attributes package com.sky.properties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties(prefix = “sky.jwt”) @Data public class JwtProperties […]

Current limiting algorithm (counter, sliding time window, funnel, token) principle and code implementation

Article directory Preface 1. Counter (fixed time window) algorithm principle Code Problems 2. Sliding time window algorithm principle Code Problems 3. Leaky bucket algorithm principle Code Problems 4. Token bucket algorithm principle Code at last This article will explain these four current limiting algorithms in detail and output code examples for implementing the current limiting […]

Java uses Base64 to implement encryption and decryption of user information, which is equivalent to token

Directory 1 question 2 implementation 1 Question The springboot project needs to implement encryption and decryption of users After the user logs in, the user information is encrypted and stored in a cookie. When the page is accessed later, the cookie is carried to other pages and then decrypted. As long as the cookie expires, […]

Token non-aware refresh solution

Token unaware refresh solution Imagine that there is a super large form page, the user finally fills it out, and then clicks submit. At this time, the request interface actually returns 401, and then jumps to the login page. . . Then the user must have ten thousand idiots in his heart~~~ Therefore, it is […]

Not satisfied with the Token non-perceptual refresh solution on the Internet, I thought of a solution myself~

Big factory technology advanced front-end Node advanced Click above for Programmer Growth Guide and follow the official account Reply 1, join the advanced Node communication group Preface Imagine that there is a super large form page, the user finally fills it out, and then clicks submit. At this time, the request interface actually returns 401, […]

uglifyjs is not used, but UglifyJs error is reported when packaging; Unexpected token: name (raf) [main_25188b.js:121200,4]

Article directory background: Troubleshoot the error locally The local project package.json does not have UglifyJs dependencies installed. It is speculated that one of the dependencies of a plug-in itself contains UglifyJs UglifyJs errors can be solved by compiling with babel and converting es6 to es5. Change the configuration of babel-loader from exclude to include to […]

Solve pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 48, saw 2

Table of Contents Solve pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 48, saw 2 wrong reason Solution Resolve delimiter errors Solve the problem of non-standard data format Summarize Solve pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 48, saw 2 When using Pandas for data processing, you sometimes […]