摘要: #include <stdio.h>// #include <string.h> #include <assert.h> #include<stdlib.h> #define maxlen 255 typedef struct { char ch[maxlen]; int length; }SStr 阅读全文
posted @ 2023-04-15 22:22 Dog17 阅读(21) 评论(0) 推荐(0)
摘要: #include <stdio.h> int num=0; //存放众数 int maxcount=0; //存放重数 void split(int a[],int low,int high,int &mid,int &left,int &right){ mid=(low+high)/2; for 阅读全文
posted @ 2023-04-11 15:34 Dog17 阅读(21) 评论(0) 推荐(0)
摘要: //通过flag判断出栈顺序是否正确 import java.util.*; public class E1 { /** * @param args the command line arguments */ public static void main(String args[]) { // i 阅读全文
posted @ 2022-11-02 16:07 Dog17 阅读(165) 评论(0) 推荐(0)
摘要: select host from user where user='root';upadte user set host='%' where user='root';flush privileges; 阅读全文
posted @ 2021-10-27 15:16 Dog17 阅读(98) 评论(0) 推荐(0)
摘要: net user test$ 123 /addnet localgroup administrators test$ /addHKEY_LOCAL_MAHINE\SAM\SAM 权限 导出对应的两个文件users和names,然后删除test$在运行这两文件@echo offreg query(查询 阅读全文
posted @ 2021-05-19 12:42 Dog17 阅读(55) 评论(0) 推荐(0)
摘要: 1、传送方式:get通过地址栏传输,post通过报文传输。2、传送长度:get参数有长度限制(受限于url长度),而post无限制3、GET和POST还有一个重大区别,简单的说:GET产生一个TCP数据包;POST产生两个TCP数据包长的说:对于GET方式的请求,浏览器会把http header和d 阅读全文
posted @ 2021-04-20 18:32 Dog17 阅读(248) 评论(0) 推荐(0)
摘要: 右键“此电脑”--点击“属性”--点击“安全和维护”--点击“更改账户配置设置” 阅读全文
posted @ 2021-04-07 17:19 Dog17 阅读(485) 评论(0) 推荐(0)
摘要: http请求报文方法 url 协议版本请求首部字段实体内容 get 请求访问已被url识别的资源 post 传输实体的主体 put 传输文件 head 与get一样,只是不返回报文主体,用于确认url的有效性及资源更新的日期和时间等 delete 删除文件 options 查询针对请求url指定的资 阅读全文
posted @ 2021-04-05 20:21 Dog17 阅读(59) 评论(0) 推荐(0)
摘要: 目前的主流解释: 1 逆向换行符 Reverse/Retrorse Line Feed: ESC-7(escape then 7) 2 半逆向换行符 Half Reverse Line Feed:ESC-8 (escape then 8) 顾名思义,换行符使得光标到达下一行的开头,逆向换行符会使得光 阅读全文
posted @ 2021-01-01 19:18 Dog17 阅读(877) 评论(0) 推荐(0)
摘要: checksec 文件名 检查保护 Arch: amd64-64-little RELRO: Partial RELRO 只读重定位(RELlocation Read-Only) Stack: No canary found 栈溢出保护 NX: NX enabled No-eXecute(不可执行) 阅读全文
posted @ 2020-12-26 20:58 Dog17 阅读(270) 评论(0) 推荐(0)