Classified articles

I feel so good lately.

TX Hongkong is like a bomb? Since the record is still considered to move into the domestic 8

The old version of the pagoda, which is used before the panel, is still in use. It plans to backup the site and reset the server. A few days ago, it used docker to configure instances in the house virtualization device. The php+nginx site can use the configuration of this instance uniformly. Alpine-nginx-php7

After reading the last article, two months ago, wow, I spent more than a month at home.

What do you want to do at home? Sleep, play games, watch movies, write code, read books, participate in activities, spell models, pick up trash, exercise properly, and organize your room.

The approximate time allocation is as follows
 QQ screenshot 20190603202936.png

Look at millet Bracelet every day almost 10 hours of sleep time, steam collectors game to buy and play? Of course, it's a game of hand travel. The simple and fast way to play in the wilderness is really good. There are four fixed map scenes and a map of activities. The fixed map play can be launched in the time frame. The new activities will fine tune the scene objects and add some specific playing methods. The reward mechanism of the team is also very clever. Unless you are the countdown of 123, there will be rewards. Each match is similar to the qualifying match. The victory will win the trophy (the personal individual cup and the total trophy), the total trophy will only accumulate all the time, failure will only reduce the personal trophy of the hero, and it will be poisonous when playing for a long time.


- reading the remainder part -

Koolshare Everyone seems to use it all. StarWind V2V Converter This software is used to write the tools in PE.

However, goose can not play these windows tools at MacOS, and search finds. Virtual box The set of commands is really sweet.

VBoxManage --help Everything is new, new, modified, deleted, network adapters, DHCP, shared folders...

.img Transformation .vdi Break away from GUI, shell rush!

 $VBoxManage convertdd openwrt-koolshare-mod-v2.22-r8838-af7317c5b6-x86-64-combined-squashfs.img 1.vdi

A virtual machine turntable is completed, seconds to turn.

In this period of time, we were trying to drum up the tars framework, and went to vultr to open a 3.5 knife machine. Why should we use their home? Because the 50 knives used before were not used up.

His home machine is very unfriendly to Hubei Telecom. BBR Otherwise, if you lose your package, you will be able to accept it.

These two skies are idle, landing on line and finding a violent landing of 1w+!!!

WTF!

 Network-attacks.png

The first time I felt such a flood of cyber attacks, I would like to introduce briefly the modification of sshd listening port to prevent violence.

Here I began to turn off SELinux. You can choose to shut down SELinux because there will be a lot less trouble. Of course, there will also be hidden problems, but the advantages outweigh the disadvantages.

- reading the remainder part -

Doubt

If you had done WeChat jssdk before, you would find nothing in the first look at the document. The process is nothing more than a back-end signature, which is returned to the front end.

But I think carefully that there is no value information of the goods, and the H5 page on the public address only returns the signature.

Looking back at the request parameter, I found the clue.

 WeChat order ID

At first, I looked at an arbitrary number of examples that I understood. Prepay_id by Unified order interface Returns the parameters in the result

Resume writing logic

Here we are using H5 payment, and the result is returned. Https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb? Prepay_id=wx151809054027204613d0ca330422xxxxxx&package=287231xxxx

You can only intercept URL and get it. Prepay_id by Wx151809054027204613d0ca330422xxxxxx

take Prepay_id Send back to the back to sign and return.

 {"code": "1", "MSG"): "get WeChat browser payment signature successfully", "data": {appId ":" wx54c4e3c9a7xxxxxx "," timeStamp ":" 1537007685 "," nonceStr ":" 5b9ce0458db30 "," package ":" prepay_id= wx151809054027204613d0ca330422xxxxxx "," "prepay_id=", "" "," "" ":"

Now the front end can be used happily. WeixinJSBridge and JSSDK


Related links:

WeChat H5 tune up payment
WeChat unified order

This page loaded in 0.000934 seconds