40 JAVA security-JWT security and precompiled CASE injection, etc.

Directory SQL Injection(mitigation) Demonstration case: Javaweb-SQL injection attack-precompilation mechanism bypass Javaweb-Authentication Attack-JWT Modification Forgery Attack jwt encryption and decryption: https://jwt.io/#debugger-io Through the early study of WEB vulnerabilities, I have mastered the principles and utilization of most security vulnerabilities. However, due to the differences in various scripting language development environments, new security issues will exist. Among […]

SQL injection – precompiled CASE injection

Article directory Precompiled CASE injection 1. SQL injection vulnerability defense 2. WEBGOAT SQL injection 2.1 WebGoat 8.0 2.2 Order by injection 2.2.1 Conditions for constructing when 2.2.2 Code audit Precompiled CASE injection Precompiled CASE (Prepared CASE) is a control statement in a database query language (such as SQL). It can select and execute different statement […]

Do not precompile regular expressions frequently

Background In frequent call scenarios, such as within method bodies or loop statements, newly defined Pattern will cause repeated precompilation of regular expressions, reducing program execution efficiency. In addition, some APIs in the JDK whose input parameters are in regular expression format, such as String.replaceAll, String.split, etc., also need to pay attention to performance issues. […]

Use of MMDeploy precompiled package under Windows system

Usage of MMDeploy precompiled package under Windows system The installation/usage difficulty of MMDeploy has been greatly reduced after entering the v1 version. Here we take the deployment of the Faster R-CNN model of the MMDetection project as an example. The PyTorch model is converted to ONNX and then to the Engine model, and is deployed […]

Ubuntu20.04 installs carla0.9.13 precompiled version and carla ros bridge

Because when using Anaconda’s python3.7 environment before, whether it is carla0.9.11 or carla0.9.13, launching the following ros bridge launch will cause carla to freeze, and no relevant solution has been found on the Internet. Switch to ubuntu18 .04 When installing ubuntu18.04, there is no installation type option, so I want to try to install it […]

C# SQLite version selection: Precompiled Binaries and Precompiled Statically-Linked Binaries, with bundle and without bundle

When writing Winform application in C#, we need to use SQLite database. However, when we download the SQLite binaries, we find two different binary options: Precompiled Binaries for 64-bit Windows (.NET Framework 4.6) and Precompiled Statically-Linked Binaries for 64-bit Windows (.NET Framework 4.6). So, which should we choose? What’s the difference? First, let’s understand the […]

Use MMDeploy (precompiled package) to convert MMxx (MMDeploy support library is available) pth weight to onnx, and use python SDK for deployment verification

MMDeploy uses python deployment practice records prepare workspace Required environment configuration Use MMDeploy to get onnx Use MMDeploy to load the onnx model for inference on a single image Use the python SDK to verify the onnx model Attention For the deployment and actual operation process of mmdeploy C ++ SDK, please refer to my […]

Use MMDeploy (precompiled package) to convert MMxx (MMDeploy support library can be used) pth weight to onnx, and use C++ SDK to load onnx to get dll dynamic link library, which can be called in windows platform (linux is also applicable)

Attention You need to complete the three parts of Preparing Workspace Required Environment Configuration Use MMDeploy to get onnx before proceeding to the next steps in this article. For the content of the above three parts and the detailed configuration process, please refer to my other article Use MMDeploy (precompiled package) to convert MMxx (MMDeploy […]

Precompiled instructions related to conditional compilation in c++ language

1. Content overview This article mainly introduces precompiled instructions related to conditional compilation in C language, including #define, #undef, #ifdef, #ifndef , #if, #elif, #else, #endif, defined. 2. Conditional compilation Conditional compilation is a means of statically compiling code based on the actual definition of macros (certain types of conditions). Compilation conditions can be determined […]

[Solved] Precompiler error: The code uses the less language, but the corresponding compiler plugin is not installed

A multi-line error was found when using HBuilder to run the applet: After waiting for a long time, HBuilder just reported a plugin installation failure, the reason is that npm install failed (later I know the reason is that HBuilder does not have administrator rights, so there is no way to successfully execute npm install). […]