Loading... #### 安装java环境 ###### 1.下载1.8u121的JAVA JDK(新的java JDK不稳定) url:`http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html#jdk-8u121-oth-JPR` ###### 2.解压缩文件并移动至/opt ``` tar -xzvf jdk-8u91-linux-x64.tar.gz mv jdk1.8.0_91 /opt ``` ###### 3.设置环境变量 执行`getdit ~/.bashrc`,并添加下列内容: ``` # install JAVA JDK export JAVA_HOME=/opt/jdk1.8.0_91 export CLASSPATH=.:${JAVA_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH ``` 保存退出. 执行`source ~/.bashrc`. ###### 4.安装并注册 执行: ``` update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_91/bin/java 1 update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_91/bin/javac 1 update-alternatives --set java /opt/jdk1.8.0_91/bin/java update-alternatives --set javac /opt/jdk1.8.0_91/bin/javac ``` 查看结果: ``` update-alternatives --config java update-alternatives --config javac ``` ###### 5.测试 `java -version` #output ``` java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) ``` #### 安装运行 **服务器**`./teamserver IP Passward` ![image.png](http://47.117.131.13/usr/uploads/2021/08/2007402460.png) **客体端**`./cobaltstrike或 java -XX:+AggressiveHeap -XX:+UseParallelGC -jar cobaltstrike.jar` ![image.png](http://47.117.131.13/usr/uploads/2021/08/2435167858.png) #### 使用教程(包含下载途径) `https://bbs.pediy.com/thread-258237.htm` 参考:https://www.cnblogs.com/haq5201314/p/7040832.html 最后修改:2021 年 08 月 17 日 05 : 31 PM © 允许规范转载