mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
17 lines
305 B
Bash
Executable File
17 lines
305 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -d nsis.in ]; then
|
|
/bin/rm -r nsis.in
|
|
fi
|
|
|
|
unzip -j -d nsis.in $1
|
|
VER=`echo $1 | sed "s/.*wpa_supplicant-windows-bin-\(.*\).zip/\1/"`
|
|
|
|
cat wpa_supplicant/wpa_supplicant.nsi |
|
|
sed "s/@WPAVER@/$VER/g" \
|
|
> nsis.in/wpa_supplicant.nsi
|
|
|
|
makensis nsis.in/wpa_supplicant.nsi
|
|
|
|
/bin/rm -r nsis.in
|