Zhiyuan A8 arbitrary file write vulnerability
Recently, it has been revealed that some versions of Zhiyuan OA system have arbitrary file writing vulnerabilities. Remote attackers can write arbitrary files to the target server by post carefully constructed data to URL / seeyon / htmlofficeservlet without logging in. After writing successfully, they can execute arbitrary system commands to c ...
Posted by JakeJ on Sat, 02 Nov 2019 02:37:52 -0700
java wechat payment [unified order interface] and [order query interface] Call successful complete code and results
The company wants to do wechat payment recently, but it hasn't done it before, but it's not difficult to do it with Alibaba cloud. I found a lot of posts on the Internet, and did five test projects in eclipse, but they didn't succeed in the test. Later, I got off the wechat SDK, and also made a test sample. During the t ...
Posted by J-C on Fri, 01 Nov 2019 22:48:25 -0700
Nexus upload deployment component
If uploading on the windows command line:
You need to set it in the global setting.xml file:
setting The configuration is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi: ...
Posted by brauchii on Fri, 01 Nov 2019 20:54:37 -0700
The implementation of golang / creator js uses protobuf for data interaction
protobuf is a general rule of data serialization, which is faster and smaller than xml and json.
This time, proto 3 is used. 3 has some features different from 2. For example, 3 defaults to the optional declaration.
All fields are optional assignments, so as to be compatible with the fact that s ...
Posted by BrentNorin on Fri, 01 Nov 2019 20:09:04 -0700
Integration of mybatis and jpa persistence in springboot learning 6
Integrate mybatis
Introduction of jar package
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.0.1</version>
</dependency>
Using springboot to create tables for da ...
Posted by intergroove on Fri, 01 Nov 2019 15:58:46 -0700
jenkins with k8s to achieve application continuous integration
The previous article wrote about how to build a reusable image of tomcat. This article talked about how to use this image to build different projects repeatedly.
Go straight to the subject:
Step 1 create the corresponding mavn project job
Other configurations remain the same. The main change is the action after the build project.
Note: becaus ...
Posted by jannz on Fri, 01 Nov 2019 11:26:06 -0700
mybatis starter 2
Query users by id
sql used:
SELECT * FROM `user` WHERE id = 1
Add the select tag in user.xml and write sql:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!-- namespace: Namespace, for isolation sql, ...
Posted by chanw1 on Fri, 01 Nov 2019 03:04:52 -0700
Form form submission under struts 2, action needs to add project name to solve the problem
Form form submission under struts 2, action needs to add project name to solve the problem
This is a test form for me to test whether struts 2 works normally.
index.jsp:
<form action="/loginManage" method="post">
<input type="text" name="username">
<input type="password" ...
Posted by cetaces on Thu, 31 Oct 2019 22:52:54 -0700
Spring Cloud voice client call tool Feign
I. The difference between Ribbon and Feign
Two kinds of client-side calling tools are supported in Spring Cloud:
1. RestTemplate in the Ribbon
The 2. is Feign.
Ribbon: a load balancer based on HTTP and TCP clients
Feign: Spring Cloud Netflix's microservices are exposed in the form of HTTP interfaces, so they can be called by Apache's HttpClient ...
Posted by r3n on Thu, 31 Oct 2019 04:15:09 -0700
Camera is called and displayed in Android.
Here is mainly through the click of the button to open the camera, and then the pictures taken are displayed.
First, add these two permissions to Android manifest.xml:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permiss ...
Posted by mmilano on Thu, 31 Oct 2019 03:09:06 -0700