mirror of
https://github.com/elliotnunn/NetBoot.git
synced 2024-12-09 07:49:21 +00:00
53b5ef68b8
It can advertise a DDP socket, then crash in the socket listener.
19 lines
398 B
Bash
Executable File
19 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
EXT=.INIT
|
|
|
|
for x; do
|
|
touch "$x$EXT"
|
|
echo -n 'INIT????' >"$x$EXT.idump"
|
|
echo -n '' >"$x$EXT.rdump"
|
|
|
|
for subfile in "$x"/*; do
|
|
./vasm-1/vasmm68k_mot -quiet -Fbin -pic -o /tmp/mytmp "$subfile"
|
|
rspec="${subfile%.*}"
|
|
rspec="$(basename "$rspec" | sed -E 's!([-[:digit:]])!/\1!')"
|
|
rfx cp /tmp/mytmp "$x$EXT.rdump//$rspec"
|
|
done
|
|
done
|