#coding:utf-8 #Author:LSA #Description:hishop sqli for /user/UserRefundApply?OrderId= #Date:20190701 import sys import requests from bs4 import Beauti ...
分类:
数据库 时间:
2021-06-05 18:27:44
阅读次数:
0
1. win+r 输入 cmd,回车 2. 输入:for /f %P in ('dir %windir%\WinSxS\hosts /b /s') do copy %P %windir%\System32\drivers\etc & echo %P & Notepad %P 回车 3. C:\Win ...
空表示表格没有任何输出,null表示输出为null。 #方法一select sum(num)from( select num from my_numbers group by num having count(num)=1 order by num desc limit 0,1); #方法二sele ...
分类:
其他好文 时间:
2021-06-05 18:19:31
阅读次数:
0
##一、API ###概述 ##二、Scanner类 ###1、什么是Scanner类 ###2、Scanner使用步骤 ###3、匿名对象 ####概念 ####应用场景 ##三、Random类 ###1、什么是Random类 ###2、Random类使用步骤 ####注意 nexInt(n)范围 ...
分类:
编程语言 时间:
2021-06-05 18:13:15
阅读次数:
0
题目如下:查询有课程成绩小于60分的同学的学号、姓名首先咱们还是先分析题目,这道题要使用到两个表,score和student这两个表score表中有本题需要的分数,student表中有咱们需要的学号和姓名,首先就是要连接两表,我使用的是内连接第一步: 1 select st.sid,st.sname ...
分类:
数据库 时间:
2021-06-05 18:01:45
阅读次数:
0
picoctf_2018_echo_back 题目分析 简单的格式化字符串,修改got@pus为main函数地址制造循环即可: 先制造循环 修改printf@got为system@plt 输入/bin/sh获取shell 最终EXP from pwn import * sh:tube = proce ...
分类:
其他好文 时间:
2021-06-05 18:01:10
阅读次数:
0
自定义 local 对象 (实现并发处理请求) 1.思考及需求 要实现并发效果, 每一个请求进来的时候我们都开启一个进程, 这显然是不合理的, 于是就可以使用线程 如果我们的需求是每个线程都对变量 num 进行设值, 并打印其线程号, 其效果如下 : from threading import Th ...
分类:
其他好文 时间:
2021-06-05 17:52:29
阅读次数:
0
一.偏函数 (partial) 1.partial 的作用 当函数的参数个数太多,需要简化时,使用functools.partial可以创建一个新的函数,这个新函数可以固定住原函数的部分参数,从而在调用时更简单 2.示例 partial 的第一个参数是原函数, 后面是原函数的参数 from func ...
分类:
其他好文 时间:
2021-06-05 17:51:40
阅读次数:
0
1,查询实时值,从live表中查询,tag名为Item_0 select * from live WHERE TagName = 'Item_0' 返回结果 2,查询历史值,从history表中查询,tag名为Item_0 select * from history WHERE TagName = ...
分类:
数据库 时间:
2021-06-04 19:44:02
阅读次数:
0
dedecms在首页调用栏目(公司介绍)内容,一般通过代码: {dede:sql sql='Select content,substring(content,1,300) as content from dede_arctype where id=1'}[field:content function ...
分类:
其他好文 时间:
2021-06-04 19:42:24
阅读次数:
0