Reptile crack know how login (do not use Selenium module)

I. analysis. Zhihu completes the steps of login Get cookies first (if you don't get the subsequent verification code, you can't get them) Get verification code Submit login related content The first two steps are simple and a little careful. The most difficult part is the third step. The front-end is js encrypted. There's no trick because the ...

Posted by kaveman50 on Mon, 21 Oct 2019 02:01:40 -0700

MyBatis mapping file related operations

I. MyBatis mapping file 1, introduction The real power of MyBatis lies in its mapping statement and its magic. Because of its extraordinary power, the XML file of mapper is relatively simple. If you compare it with JDBC code with the same function, you will immediately find that nearly 95% of the code is saved. MyBatis is built for SQL and is ...

Posted by literom on Mon, 21 Oct 2019 00:45:11 -0700

JAVA CAS single sign on 3: CAS agent model drill

Preface JAVA CAS single sign on one: build CAS server JAVA CAS single sign on II: CAS common mode 1 drill The agent mode is more complex than the normal mode in the previous section. But the configuration will be slightly different. The so-called difficult will not, will not be difficult. If you encounter a problem that you have never met be ...

Posted by lenhewitt on Sun, 20 Oct 2019 22:51:11 -0700

python uses database to realize user management.

After learning database, we can use database to make a user management system. Realize the functions of registration, login, view, delete users, etc.Step 1: specifically divided into two parts, the first part is to connect the database, and create a table to encapsulate the table into a class. The speci ...

Posted by Random on Sun, 20 Oct 2019 11:46:02 -0700

okhttpClinet set trust certificate

1. There are two types of certificates @1. The certificate purchased from the certification authority (each certificate purchased by our company requires 4000 yuan, TMD, rather than renting an additional server). If the server uses such a certificate, it can directly ignore the certificate for the m ...

Posted by joey3002 on Sat, 19 Oct 2019 08:35:18 -0700

Implementation of p2p video call with WebRTC

brief introduction Objective to help oneself understand webrtc to realize end-to-end communication # Usage flow git clone https://gitee.com/wjj0720/webrtc.git cd ./webRTC npm i npm run dev # Visit 127.0.0.1:3003/test-1.html to demonstrate h5 media stream capture # Visit 127.0.0.1:3003/local.html to demonstrate rtc local transmis ...

Posted by viveleroi0 on Sat, 19 Oct 2019 08:17:49 -0700

Struts 2: Action get form submission data

Action get form submission data In the previous web stage, submit the form to the servlet, and use the method in the request object to obtain, getParameter and getParameterMap. Submit the form to action, but action does not have a request object and cannot use the request object directly. There are ...

Posted by tomsasse on Fri, 18 Oct 2019 09:41:14 -0700

Authorized login of fast app

The authorization of fast applications can be divided into different situations. Huawei and Meizu do not support wechat account authorization. Therefore, Huawei needs to use Huawei's account, Meizu's account, and open web pages and web pages to communicate with fast applications. The most ideal login is the mobile phone verification code. 1. Hu ...

Posted by kycan on Thu, 17 Oct 2019 03:06:31 -0700

Scope of spring learning bean

scope It includes Singleton, Prototype, request, session, application and websocket. It mainly talks about the commonly used Singleton and Prototype. Singleton When a bean is defined as a singleton object, the IoC container creates only one instance of the bean object. The bean object is stored in the container's cache (map). Subsequent referen ...

Posted by dillonit on Tue, 15 Oct 2019 19:08:41 -0700

Start skynet's own sample

Take a look at the skynet basic directory first, as shown below, the sample with skynet is in the examples path Click in to see config. The following figure shows the configuration information. The main function of the skynet-src/skynet_main.c script is called here as follows Start up sample first. Open ...

Posted by Xster on Mon, 14 Oct 2019 13:10:19 -0700