mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
reflecting rootfs change in CI
This commit is contained in:
@@ -24,7 +24,10 @@ jobs:
|
||||
pip3 install --upgrade pip
|
||||
pip3 install wheel setuptools
|
||||
pip3 install .
|
||||
./examples/scripts/dylibcollector.sh
|
||||
cd examples
|
||||
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
|
||||
unzip master.zip && mv rootfs-master rootfs
|
||||
cd .. && ./examples/scripts/dylibcollector.sh
|
||||
cd examples/rootfs/x8664_macos/kext
|
||||
unzip -Pinfected SuperRootkit.kext.zip
|
||||
|
||||
|
||||
@@ -63,8 +63,10 @@ jobs:
|
||||
powershell Start-Process -PassThru -Wait PowerShell -ArgumentList "'-Command Add-MpPreference -ExclusionPath $GITHUB_WORKSPACE'"
|
||||
pip3 install setuptools wheel
|
||||
pip3 install .
|
||||
cd $GITHUB_WORKSPACE/
|
||||
git clone https://github.com/qilingframework/rootfs.git
|
||||
cd examples
|
||||
curl -LJk -o master.zip https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip && unzip master.zip
|
||||
mv rootfs-master rootfs
|
||||
cd $GITHUB_WORKSPACE
|
||||
cmd.exe //C 'examples\scripts\dllscollector.bat'
|
||||
cd $GITHUB_WORKSPACE/examples/rootfs/x86_windows/bin
|
||||
unzip -Pinfected wannacry.bin.zip
|
||||
@@ -85,16 +87,21 @@ jobs:
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
pip3 install .
|
||||
cd examples
|
||||
git clone https://github.com/qilingframework/rootfs.git
|
||||
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
|
||||
unzip master.zip && mv rootfs-master rootfs
|
||||
cd rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
|
||||
cd ../../../../tests && ./test_elf.sh
|
||||
elif [ ${{ matrix.os }} == 'ubuntu-20.04' ]; then
|
||||
cd examples
|
||||
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
|
||||
unzip master.zip && mv rootfs-master rootfs
|
||||
docker run -it --rm -v ${GITHUB_WORKSPACE}:/qiling qilingframework/qiling:dev bash -c "pip3 install . && cd examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip && cd ../../../../tests && ./test_elf.sh"
|
||||
else
|
||||
pip3 install setuptools wheel
|
||||
pip3 install .
|
||||
cd examples
|
||||
git clone https://github.com/qilingframework/rootfs.git
|
||||
wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip
|
||||
unzip master.zip && mv rootfs-master rootfs
|
||||
cd rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
|
||||
cd ../../../../tests && ./test_elf.sh
|
||||
fi
|
||||
|
||||
@@ -9,9 +9,6 @@ if [ -d /usr/lib/closure ]; then
|
||||
cp -r /usr/lib/closure examples/rootfs/x8664_macos/usr/lib/;
|
||||
fi
|
||||
|
||||
cd examples
|
||||
git clone https://github.com/qilingframework/rootfs.git
|
||||
|
||||
#if [ ! -d examples/rootfs/x8664_macos/System/Library/Kernels ]; then
|
||||
# mkdir -p examples/rootfs/x8664_macos/System/Library/Kernels;
|
||||
#fi
|
||||
|
||||
Reference in New Issue
Block a user