1 | echo "g |
1 | mount -o loop /data/ISO/en-us_windows_11_business.iso /media/cdrom |
1 | mkfs.vfat /dev/sdb1 |
1 | mkdir -pv /tmp/{vfat,ntfs} |
1 | mount -t vfat /dev/sdb1 /tmp/vfat/ |
1 | rsync -avz --exclude=sources/ /media/cdrom/* /tmp/vfat/ |
1 | echo "g |
1 | mount -o loop /data/ISO/en-us_windows_11_business.iso /media/cdrom |
1 | mkfs.vfat /dev/sdb1 |
1 | mkdir -pv /tmp/{vfat,ntfs} |
1 | mount -t vfat /dev/sdb1 /tmp/vfat/ |
1 | rsync -avz --exclude=sources/ /media/cdrom/* /tmp/vfat/ |
For CobaltStrike Version 4.x
1 | git clone https://github.com/Twi1ight/CSAgent |
1 | git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg/ |
安装Java 17
https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
1 | export JDK_VERSION=jdk-17.0.3.1 |
编译fernflower
1 | git clone https://github.com/JetBrains/intellij-community/ |
反编译jar文件
1 | java -cp fernflower.jar org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler -dgs=true /tmp/cobaltstrike_4.5_original.jar /tmp/decompiled |
/boot 512M
1 | parted -s /dev/sda mklabel msdos |
1 | mkfs.ext3 /dev/sda1 |
安装编译依赖包
1 | apt-get install --no-install-recommends gettext build-essential autoconf libtool asciidoc xmlto automake pkg-config python2 |
1 | #yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto gcc-c++ -y |
编译
1 | LIBEV_VER=4.33 |
1 | cat <<EOF> /usr/share/konsole/Kali-Dark.profile |