Fight against new coronavirus - get and save online data

# default_exp getdata # The above line is used to declare the name of this module in nbdev. Must be the first row of the first Cell of the notebook. getdata Description: fight against new coronavirus (4) - acquire and save online data. Function: get data, convert to list format, save to *. c s v file, for subsequent analysis and drawin ...

Posted on Mon, 10 Feb 2020 04:14:33 -0800 by paulb

Canary learning of PWN

Canary Reference link: https://ctf-wiki.github.io/ctf-wiki/pwn/linux/mitigation/canary-zh/ 0x1 introduction: A method to prevent stack overflow from being used is to put a random number under the ebp of the stack. Before the function returns, it will check whether the number has been modified, and then it can detect whether stack overflow has o ...

Posted on Mon, 10 Feb 2020 02:27:19 -0800 by Ruud Hermans

The advanced function of python

01. Functions of function parameters and return values Functions can be combined with each other according to whether they have parameters and return values. There are four combinations in total No parameter, no return value No parameter, return value With parameters, no return value With parameters ...

Posted on Mon, 10 Feb 2020 01:20:55 -0800 by thomas2

Building a small assistant of nCoV epidemic monitoring based on wechat of Serverless enterprise

Recently, some epidemic information is very worrying. In order to facilitate everyone to master the epidemic information, I made a small assistant about nCoV epidemic monitoring in my spare time. The main function is to push epidemic information through the WebHook of enterprise wechat. Here we will sha ...

Posted on Sun, 09 Feb 2020 21:36:18 -0800 by 23style

The implementation of pymysql module based on python to insert a piece of data into the database

Based on the business requirements, data is often inserted into a table, so the script is edited to insert data directly into the server in the bastion machine. Here we take a behavior example. Program introduction: The program is divided into two functions: insert function and query function. As the name implies, it implemen ...

Posted on Sun, 09 Feb 2020 11:59:49 -0800 by shawjames

Principle of ansible, installation, various modules in detail

What is ansible? Ansible is a new automated operation and maintenance tool. It is developed based on Python and combines the advantages of many operation and maintenance tools (puppet, cfengine, chef, func, fabric). It realizes the functions of batch system configuration, batch program deployment, batch running commands and so on.Ansible is m ...

Posted on Sun, 09 Feb 2020 09:49:02 -0800 by like_php

python realizes automatic online script

Procedure description: In this program, the package files in the development program server are uploaded to the formal production environment through this script (Note: the production environment and development environment are not interconnected) Basic idea of procedure: Copy the package in the development environment to t ...

Posted on Sun, 09 Feb 2020 07:57:30 -0800 by bombas79

Code audit | [De1CTF 2019]SSRF Me

[De1CTF 2019]SSRF Me Preface I thought it was a flash template injection, but after reading the other masters' writeup, I found that it was a code audit process, so I'll be relieved to audit the code. Prompt flag in / flag.txt Code after sorting #! /usr/bin/env python #encoding=utf-8 from flask im ...

Posted on Sun, 09 Feb 2020 06:58:28 -0800 by overlordofevil

Selenium Python Usage Tips

Book above and above: Selenium Python Usage Skills (1) Selenium Python Usage Skills (2) Handle waiting in different situations In elenium automated tests, a Web page may take some time to load, or you may want to see specific Web elements on the page before triggering the test code.In this case, you need to execute Explicit Wait, which is a p ...

Posted on Fri, 07 Feb 2020 17:54:40 -0800 by Dillenger

Baidu cloud + ubuntu+django+nginx+uwsgi project deployment

  Install nginx sudo  apt-get install nginx start nginx sudo  /etc/inin.d/nginx start In browser access, the public IP address of the ECS Open the browser to access xx.xx.xxx.xxx:80, where xxxx is your public IP address and 80 is the default listening port number of Nginx Appear This in ...

Posted on Fri, 07 Feb 2020 07:59:54 -0800 by php_wiz_kid