kali command note
- lsof -i用以显示符合条件的进程情况,- lsof(list open files)是一个列出当前系统打开文件的工具。以- root用户来执行- lsof -i
- lsof -i:端口号,用于查看某一端口的占用情况,比如查看22号端口使用情况,lsof -i:22 
- 切换 root用户 su root 
- netstat -tunlp 用于显示tcp,udp的端口和进程等相关情况,如图 
- ifconfig -a 以列表形式列出所有可用接口
- ifconfig eth0 up 激活第一(0)个网络设备(网卡)
- ifconfig eth0 up 192.168.1.23 为第一个设备分配IP
- dhclient 自动配置
 
- 网站复制机 
 httrack 输入运行即可
 提供至少两个参数 projectName & aimUrl
- cache 搜索引擎技巧 
 显示快照 cache:edu.+++.com
- locate theharvester 
 ./thehaverster.py -d kula.com -l 10 -b google
 -l 限定搜索结果数目
 -b 指定公有知识库,可填all
 -d url
- whois url 
 特别留意dns服务器
 如果dns服务器只列出名字,可用host翻译成IP
- host 可互译IP与域名 
 建议添加 -a 以便列出额外信息
- man 查看工具命令 
 man tool_name 显示关于命令的更多信息
- Nslookup - server DNS_IP 
 set type = any(mx为IP)
- DIG 
 dig @target_IP (加参数)-t AXRF
- 当区域传输(dig)失败之后 
 考虑使用fierce
 ./fiercer.pl -dns domain
- MetaGooFill 
 ./metagoofil.py -d domain -t fileTypeSplit, -n number -o dir -f index.html
- ThreatAgent Drone 
 信息收集工具
- scan 
| 1 | 1. ping 与 ping 扫描 | 
- Title: kali command note
- Author: ReZero
- Created at : 2017-01-24 22:52:00
- Updated at : 2025-05-26 05:53:22
- Link: https://rezeros.github.io/2017/01/24/kalicommandnote/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments