kail工具介绍

反弹Shell

https://www.cnblogs.com/cocowool/p/reverse-shell.html

docker容器里安装vim:

    mv /etc/apt/sources.list /etc/apt/sources.list.bak

    echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >> /etc/apt/sources.list

    echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list

    echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list

    echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list

    #更新安装源

    apt-get update

tomcat安装

https://www.jianshu.com/p/dfddbd8da05d

pip安装

1、如果没有epel源下载阿里的epel源

# wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

2、安装pip

# yum -y install python-pip

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py


一、 打开终端分别输入下面两条命令:

      update-alternatives --install /usr/bin/python python /usr/bin/python2 100

      update-alternatives --install /usr/bin/python python /usr/bin/python3 150

二、然后打开终端输入

  python --version

三、 如果需要切换python版本:

      输入:update-alternatives --config python 

四、然后选你需要的python版本,输入序号就可以了。(如果需要重新切换回python版本):

   update-alternatives --config python (选号)

kali 安装pip命令

先安装python3的pip,然后安装python2的pip,最后pip指向python2.pip3指向python3.

顺序不对会导致pip和pip3都指向python3.

pip(python2)安装:

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py

python2 get-pip.py

pip -V

pip(python3)安装

wget https://bootstrap.pypa.io/pip/get-pip.py

python3 get-pip.py

pip3 -V

Suricata

http://nicethemes.cn/news/txtlist_i30464v.html

jdk注册:

update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_91/bin/java 200

update-alternatives --config java


Centos7 最小系统网络配置

https://www.jianshu.com/p/06841cb24ea6?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation

suricata源码安装指南(centos7)

下面两项结合看

https://www.jianshu.com/p/a05c06830a9c?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation


https://blog.csdn.net/qq_35911309/article/details/108637507

apt-get install kali-linux-everything



配置环境变量

vim /etc/profile

###复制以下代码到文件结尾

JAVA_HOME=/home/kali/Desktop/jdk-11.0.15

PATH=$PATH:$HOME/bin:$JAVA_HOME/bin

export JAVA_HOME

export PATH

通知系统java的位置

update-alternatives --install "/usr/bin/java" "java" "/home/kali/Desktop/jdk-11.0.15/bin/java" 1

update-alternatives --install "/usr/bin/javac" "javac" "/home/kali/Desktop/jdk-11.0.15/bin/javac" 1

设置默认JDK

update-alternatives --set java /home/kali/Desktop/jdk-11.0.15/bin/java

update-alternatives --set javac /home/kali/Desktop/jdk-11.0.15/bin/javac

重新载入profile

source /etc/profile

你可能感兴趣的:(kail工具介绍)