The implementation of flash restful API and the basic permission control based on flash httpauth

This tutorial series is divided into three phases 1.flask restful web service 2. Flash restful API (to be updated) 3. Flash httpauth implements permission control (to be updated) 4.uwsgi management flash application (to be updated) Article excerpted from http://www.pythodoc.com/flask-restful/ I corrected some of the procedural problems arisin ...

Posted by cmzone on Wed, 13 May 2020 14:22:53 +0200

Fastjson Deserialization Vulnerability History

Author: Longofo@knows Chuangyu 404 Laboratory Time: April 27, 2020 Original address: https://paper.seebug.org/1192/English version: https://paper.seebug.org/1193/ Fastjson doesn't have a cve number, it's not very good to look for a timeline, and it doesn't know how to write at first, but it slowly writes something out. Fortunately, fastjson is ...

Posted by slava_php on Tue, 12 May 2020 19:05:20 +0200

Record curl submit data encoding and javascript transform unicode problem

1. Data coding problem of curl submission When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded. 1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding. 2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code. 3. Wri ...

Posted by boiy on Sun, 10 May 2020 16:19:42 +0200

Remember the scenario of using delay queue in one work

1 scenario The company is engaged in the traffic management of the Internet of things related businesses recently connected with the mobile remote traffic card. The specific business involves card downtime and card recovery. After the user recharge, the background calls the remote card recovery interface for recovery, but the actual test is don ...

Posted by Hikari on Thu, 07 May 2020 10:23:25 +0200

Charles grabs the package and turns it into interface automation test case

We can get the json file to be parsed and convert it to json for saving by using Charles to grab the package and transfer the interface automation test case. So let's read it. First of all, let's look at the last document,    {   "config": {   "name": "testcase description",   "variables": {}   },   "teststeps": [   ...

Posted by saami123 on Wed, 06 May 2020 16:46:24 +0200

Android Jetpack Architecture - Paging custom pull-up loading more

Jetpack series Android Jetpack architecture component - Lifecycle usage Android Jetpack architecture component - LiveData usage The use and principle of ViewModel, an architecture component of Android Jetpack Android Jetpack architecture component - Paging introduction and Practice Android Jetpack architecture component - Roo ...

Posted by ganlal on Wed, 06 May 2020 06:04:28 +0200

koa2 implements jwt login

1.jwt Introduction Introduction is partly reproduced from Ruan Yifeng's Introduction to JSON Web Token Tutorial 0.session login 1. Users send user names and passwords to the server. 2. After the server is authenticated, save relevant data in the current session, such as user role, login time and so on. 3. The server returns a session_id to the ...

Posted by mattcooper on Tue, 05 May 2020 19:51:50 +0200

Step by step to complete Kubernetes binary deployment -- etcd cluster building (single node)

Completing Kubernetes binary deployment step by step (I) -- etcd cluster building (single node) Preface The basic theory and core components of Kubernetes are briefly introduced. The first step of deploying Kubernetes cluster with single node and binary system is to build etcd cluster experiment flow. List of cluster planning (the next article ...

Posted by RestlessThoughts on Tue, 05 May 2020 17:14:40 +0200

java websocket message push

1. maven introduces dependency <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.3</version> </dependency> <dependency> <groupId>javax.websocket</groupId> <artifactId>javax.websocket-api</art ...

Posted by studio805 on Tue, 05 May 2020 15:34:33 +0200

ES[7.6.x] dynamic mapping of learning notes

In general, we use es to build an index by creating an index, defining the fields in the index and the mapped types, and then importing data into the index. Dynamic mapping is a very important concept in ES. You can directly import a piece of data into the document. At the same time, index, field and field type will be created automatically wit ...

Posted by madan koshti on Tue, 05 May 2020 05:24:33 +0200