zoukankan      html  css  js  c++  java
  • 开始使用kali的一些小问题:菜鸟瞎折腾

    nat与桥接转换后,网卡 ip显示不正常:

    ip a   # 查看
    
    • 释放ip:
      dhclient -t thh0   # 人工释放
    
    • 重启
    dhclient -v thh0 
    

    不能ping通域名(可能是dns的问题): 要将之改为本地的地址

    vim  /etc/resolv.conf  # 修改dns配置文件
    

    开启22端口:

    • 修改 sudo vim /etc/ssh/sshd_config
    • 将PasswordAuthentication 的no改成yes, 去掉注释
    • 将#PermitRootLogin yes的注释去掉
    • 保存退出
    • /etc/init.d/ssh startservice ssh start # 启动SSH服务
      -/etc/init.d/ssh statusservice ssh status #查看SSH服务状态是否正在运
    • Systemctl enable ssh # 设置为开机自起
    • Systemctl status ssh # 查看状态

    Wireshark启动报错

    usr/share/wireshark/init.lua 倒数第二行改为:--dofile(DATA_DIR.."console.lua"), 某些情况需要把导数第三行第四行也注释掉

    安装deb安装包

    dpkg -i name.deb
    apt install ./name.deb

    查看版本

    lsb release -a
    cat /etc/os-release

  • 相关阅读:
    Android SDK
    1055
    清除浮动的三种方式
    解决块状元素垂直外边距的塌陷问题
    drf 验证接口权限
    Linux常用指令
    Linux安装python3,virtualenv和virtualenvwrapper
    Linux基本命令2
    Linux之文档与目录结构
    Linux基本命令
  • 原文地址:https://www.cnblogs.com/shuai06/p/12397476.html
Copyright © 2011-2022 走看看