mirror of
https://github.com/martanne/bitpixie
synced 2026-06-08 15:44:32 +00:00
Rename Linux related artifact download scripts
This commit is contained in:
@@ -25,4 +25,4 @@ wget "https://snapshot.debian.org/archive/debian/20240716T023930Z/pool/main/g/gr
|
||||
dpkg-deb -x grub.deb grub
|
||||
cp grub/usr/lib/grub/x86_64-efi-signed/grubnetx64.efi.signed /mnt/tftp/grubx64.efi
|
||||
|
||||
# TODO: Fetching vulnerable Windows boot loader
|
||||
# TODO: Fetching vulnerable Windows boot manager
|
||||
+6
-2
@@ -1,4 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker run --platform linux/amd64 --rm -v "$PWD":/mnt -w /root \
|
||||
alpine:3.20.3 "/mnt/download-docker.sh"
|
||||
if [ -f tftp/grubx64.efi ] && [ -f tftp/shimx64.efi ]; then
|
||||
echo "Skipping Linux related artifacts download"
|
||||
else
|
||||
docker run --platform linux/amd64 --rm -v "$PWD":/mnt -w /root \
|
||||
alpine:3.20.3 "/mnt/download-linux.sh"
|
||||
fi
|
||||
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ $# -eq 0 ] && echo "usage: $0 <interface>" && exit 1
|
||||
|
||||
scriptpath="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
interface=$1
|
||||
|
||||
sudo ip a add 10.13.37.100/24 dev $interface
|
||||
|
||||
sudo dnsmasq --no-daemon \
|
||||
--interface=$interface \
|
||||
--dhcp-range=10.13.37.100,10.13.37.200,255.255.255.0,1h \
|
||||
--dhcp-boot=bootmgfw.efi \
|
||||
--enable-tftp \
|
||||
--tftp-root="$scriptpath/tftp" \
|
||||
--log-dhcp
|
||||
@@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ $# -eq 0 ] && echo "usage: $0 <interface>" && exit 1
|
||||
|
||||
scriptpath="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
interface=$1
|
||||
|
||||
sudo ip a add 10.13.37.100/24 dev $interface
|
||||
|
||||
sudo dnsmasq --no-daemon \
|
||||
--interface=$interface \
|
||||
--dhcp-range=10.13.37.100,10.13.37.200,255.255.255.0,1h \
|
||||
--dhcp-boot=bootmgfw.efi \
|
||||
--enable-tftp \
|
||||
--tftp-root="$scriptpath/tftp" \
|
||||
--log-dhcp
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
start-pxe-linux.sh
|
||||
Reference in New Issue
Block a user