SpringBoot integrates Druid, Mysql, P6spy service original

Posted on 2022-01-26 15:00:34 8820 report 1. Add the corresponding dependencies <!–druid database connection pool–> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.23</version> </dependency> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.18</version> </dependency> <!–p6spy–> <!–p6spy hijacks the data source of the application, the application operation database is actually calling the data source of p6spy, p6spy hijacks the data source –> <!–After the sql […]

Issue 06: Use OPTIMIZER_TRACE to spy on the secrets of MySQL index selection

What is recorded here is the content of learning and sharing, and the article is maintained on Github: studeyang/leanrning-share. Optimizing query performance is an important aspect of MySQL database administration. When optimizing query performance, choosing the right index is critical to reducing the response time of queries and improving system performance. But how do you […]

Qt development – spying on the implementation details of signal slots

Introduction This time discusses the implementation details of Qt signal-slots. As introduced in the last article “Recognizing the Essence of Signal Slots”, signal-slot is a communication mechanism between objects. Qt uses syntactic sugar implemented by the Meta Object Compiler (MOC) on top of standard C++. This time through a simple case, learn some signal-slot implementation […]

Use Cheat Engine and DnSpy to crack Unity games

Topic link: https://play.picoctf.org/practice/challenge/361?originalEvent=72 &page=3 We are windows system, so click windows game to download the game Double-click to run pico.exe The string of English on the top of the screen tells us to find the flag. I walked around in this small map and there was no flag. I found the breakthrough point after I […]

HTBInject–Break out of the first level of Xinshou Village, directory blasting, file inclusion, CVE-2022-22965, CVE-2022-22963, information collection, pspy, SUID privilege escalation, group privilege utilization

Inject Foreword A HTB simple target drone, not difficult, but test the loopholes and experience accumulation. Use gobuster to blast the directory and find the upload directory. After uploading, you can see where you can watch the upload You can see that there are query statements, try to see if LFI can be used, and […]

[BootstrapVue] Sliding and monitoring Scrollspy to realize restaurant food display

1. Introduction Renderings: Description: Automatically updates a bootstrap navigation or list group component based on scroll position to indicate which link is currently active in the viewport. Function: It can be used for the sidebar of the dish display page of the restaurant ordering, the sidebar of the blog system, etc., to achieve smooth vertical […]

[Solved] Spyder drawing error

The Spyder compilation software I use Error message Figures now render in the Plots pane by default. To make them also appear inline in the Console, uncheck “Mute Inline Plotting” under the Plots pane options menu. Translation Graphics are now rendered in the Plot pane by default. To make them also appear inline in the […]

[Solved] ILSpy: Project file is incomplete. Expected imports are missing error solution

<Project Sdk=”Microsoft.NET.Sdk.Desktop”> <PropertyGroup> <AssemblyName>xxxxxx</AssemblyName> <GenerateAssemblyInfo>False</GenerateAssemblyInfo> <UseWindowsForms>True</UseWindowsForms> <TargetFramework>net20</TargetFramework> </PropertyGroup> <PropertyGroup> <LangVersion>7</LangVersion> <AllowUnsafeBlocks>True</AllowUnsafeBlocks> </PropertyGroup> <PropertyGroup> <RootNamespace /> </PropertyGroup> <ItemGroup> <None Remove=”xxxxxx.xxxxxx.png” /> <EmbeddedResource Include=”xxxxxx.xxxxxx.png” /> </ItemGroup> <ItemGroup> <Reference Include=”System.Design” /> </ItemGroup> </Project> Decompile the generated code with ILSpy, and the project cannot be opened with VS2017, throwing an error: Project file is incomplete. Expected imports are missing […]

[Solved] Spyder crashes and fails to start the solution. UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xa9 in position 226…

Spyder version number [Spyder5.1.5 Python 3.9.12] 1. The phenomenon of flashback In the morning, I was still using spyder to analyze the data. When I turned on the computer in the afternoon, I found that spyder flashed back. I used anaconda’s prompt to start it, and found the following error: (base) PS C:\Users\LittleSun> spyder Traceback […]