kali command note

来源:互联网 发布:大数据考研 编辑:程序博客网 时间:2024/06/18 11:38
  1. lsof -i 用以显示符合条件的进程情况,lsof(list open files)是一个列出当前系统打开文件的工具。以root用户来执行lsof -i
  2. lsof -i:端口号,用于查看某一端口的占用情况,比如查看22号端口使用情况,lsof -i:22
  3. 切换 root用户 su root
  4. netstat -tunlp 用于显示tcp,udp的端口和进程等相关情况,如图
    这里写图片描述

    • ifconfig -a 以列表形式列出所有可用接口
    • ifconfig eth0 up 激活第一(0)个网络设备(网卡)
    • ifconfig eth0 up 192.168.1.23 为第一个设备分配IP
    • dhclient 自动配置
  5. 网站复制机
    httrack 输入运行即可
    提供至少两个参数 projectName & aimUrl

  6. cache 搜索引擎技巧
    显示快照 cache:edu.+++.com

  7. locate theharvester
    ./thehaverster.py -d kula.com -l 10 -b google
    -l 限定搜索结果数目
    -b 指定公有知识库,可填all
    -d url

  8. whois url
    特别留意dns服务器
    如果dns服务器只列出名字,可用host翻译成IP

  9. host 可互译IP与域名
    建议添加 -a 以便列出额外信息

  10. man 查看工具命令
    man tool_name 显示关于命令的更多信息

  11. Nslookup

    > server DNS_IP> set type = any(mxIP)
  12. DIG
    dig @target_IP (加参数)-t AXRF

  13. 当区域传输(dig)失败之后
    考虑使用fierce
    ./fiercer.pl -dns domain

  14. MetaGooFill
    ./metagoofil.py -d domain -t fileTypeSplit, -n number -o dir -f index.html

  15. ThreatAgent Drone
    信息收集工具

0 0
原创粉丝点击