SQL注入之判断注入类型注入类型分为数字型和字符型和搜索型例如数字型语句:select * from table where id =3,则字符型如下:select * from table where name=’admin’。可见在测试时需要添加引号去闭合参数时才能使页面返回正确的是字符型注入, ...
分类:
数据库 时间:
2020-02-24 20:16:37
阅读次数:
401
一 Log4cpp介绍 Log4cpp 类似的支持库还包括Java(log4j),C++(log4cpp、log4cplus),C(log4c),python(log4p)等。 log4c... 是基于log4j的一系列的c++移植版本,使用了log4j的模式结构,目前主要有以下几个版本: 1. l ...
分类:
其他好文 时间:
2020-02-24 20:16:10
阅读次数:
81
1.普通 行列式换行列顺序,答案变为相反数. 求无向图生成树个数:点数矩阵 边数矩阵.删掉一行一列后变成的矩阵对角线的积. 求有向图内向树个数:点数矩阵 出度矩阵.删掉根对应的一行一列 外向树是入度矩阵. 2.变元矩阵树定理 边有边权. 定义一个矩阵. $K_{i,i}$为i相连的所有边权的和. $ ...
分类:
其他好文 时间:
2020-02-24 20:15:53
阅读次数:
68
```cpp #include #include //基础函数 void printInfo(int a, int b, int c) { std::cout void templatePrint(T1 a, T2 b, T3 c) { std::cout void operator() (T1 a... ...
分类:
编程语言 时间:
2020-02-24 20:15:31
阅读次数:
64
线性基是极小的能异或出任意元素异或出来的值的集合. 线性基可以合并,不是很可以支持删除,但看过相关的博客好像有神仙可以. 删除可以弄存活区间然后线段树. 设线性基中有i个元素,那么共有$2^i$种异或值,每种值出现了$2^{n i}$次. 异或值最大就从高位往低位贪心选取,如果当前答案没有这一位就异 ...
分类:
其他好文 时间:
2020-02-24 20:15:11
阅读次数:
68
listener.ora设置特定的网络地址:0.0.0.0,127.0.0.1(localhost),nic_ip1, nic_ip2 ... listener.ora设置特定的网络端口:肯定不是1521了 sqlnet.ora设置基本的黑白名单检查:tcp.validnode_checking=y ...
分类:
数据库 时间:
2020-02-24 20:15:00
阅读次数:
92
源代码: # coding=utf-8 import requests from lxml import etree class ChaxunSpdier: def __init__(self): self.start_url = 'http://111.40.232.237:9000/eoms35 ...
分类:
其他好文 时间:
2020-02-24 20:14:37
阅读次数:
105
```cpp #include #include #include //#include //c++ 98 static void vectorPart() { //vector 是c++98中引入的动态数组(dynamic array) //namespace std { //template> ... ...
分类:
编程语言 时间:
2020-02-24 20:14:20
阅读次数:
95
概述 在使用Spring Boot的时候我们经常使用actuator,健康检查,bus中使用/refresh等。这里记录如何使用注解的方式自定义Endpoint。可用于满足一些服务状态监控,或者优雅停机等。 准备 Spring Boot项目,pom中加入: 编写自定义Endpoint 1.配置 2. ...
分类:
编程语言 时间:
2020-02-24 20:14:02
阅读次数:
219
'''1 while循环的基本语法while 条件: 子代码1 子代码2 子代码3count=0while count < 5: # 5 < 5 print(count) count+=1 # count=5print(' end ')2、死循环:循环永远不终止,称之为死循环count=0while ...
分类:
其他好文 时间:
2020-02-24 20:13:11
阅读次数:
83
一、建立一个项目的目录 在目录命令行中 npm init -y会在目录中产生一个文件package.json 二、安装React,react.development.js npm i react --save (或yarn add react) 会在目录中有一个node_modules目录, 找到r ...
分类:
其他好文 时间:
2020-02-24 20:12:54
阅读次数:
79
1 选择文件(OpenFileDialog) OpenFileDialog dialog = new OpenFileDialog(); //dialog.Multiselect = true;//该值确定是否可以选择多个文件 // dialog.Title = "请选择文件"; //dialog. ...
tf.nn.l2_loss()与tf.contrib.layers.l2_regularizerd()都是TensorFlow中的L2正则化函数,tf.contrib.layers.l2_regularizerd()函数在tf 2.x版本中被弃用了。 两者都能用来L2正则化处理,但运算有一点不同。 ...
分类:
其他好文 时间:
2020-02-24 20:11:23
阅读次数:
387
这是一道 模板题。直接背步骤,写代码。。。。 #include<iostream> #include<algorithm> using namespace std; const int maxn = 100010; struct Node { //第一步:定义静态链表 int address,nex ...
分类:
其他好文 时间:
2020-02-24 20:10:52
阅读次数:
55
```cpp #include #include #include //智能指针总结: /* */ void sharedPtrNotice(); class Parent; typedef std::shared_ptr ParentPtr; typedef std::weak_ptr WeakP... ...
分类:
编程语言 时间:
2020-02-24 20:10:34
阅读次数:
106
Git 远程仓库(Github) 什么是 Github? github是一个基于git的代码托管平台,付费用户可以建私人仓库,我们一般的免费用户只能使用公共仓库,也就是代码要公开。 注册账户以及创建仓库 要想使用github第一步当然是注册github账号了, github官网地址:https:// ...
分类:
其他好文 时间:
2020-02-24 20:09:47
阅读次数:
76