mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2024-12-28 02:16:12 +00:00
CSV and TSV output should be independent + typos
This commit is contained in:
parent
51c8ab19f9
commit
5e2d228b63
|
@ -10,7 +10,7 @@ Author: Sick.Codes https://sick.codes/ & https://twitter.com/sickcodes
|
|||
|
||||
### Follow @sickcodes on Twitter for updates! [https://twitter.com/sickcodes](https://twitter.com/sickcodes)
|
||||
|
||||
Terms & Conditions: Serial numbers are an important part of conducting iMessage security research and finding vulnerabilities in software prior to Bad Actors, therefor, you must agree to [Apple's Security Bounty program](https://developer.apple.com/security-bounty/requirements/).
|
||||
Terms & Conditions: Serial numbers are an important part of conducting iMessage security research and finding vulnerabilities in software prior to Bad Actors, therefore, you must agree to [Apple's Security Bounty program](https://developer.apple.com/security-bounty/requirements/).
|
||||
|
||||
### PR & Contributor Credits
|
||||
|
||||
|
@ -45,7 +45,7 @@ Used at runtime in [Docker-OSX](https://github.com/sickcodes/Docker-OSX).
|
|||
# Requirements
|
||||
|
||||
```bash
|
||||
# Ubuntu/Debian/Pop
|
||||
# Ubuntu, Debian, Pop
|
||||
sudo apt update -y
|
||||
sudo apt install libguestfs-tools build-essential wget git linux-generic sudo -y
|
||||
|
||||
|
|
|
@ -258,12 +258,16 @@ generate_serial_sets () {
|
|||
|
||||
if [ "${CSV_OUTPUT_FILENAME}" ]; then
|
||||
[ "${CSV_OUTPUT_FILENAME}" ] && export CSV_SERIAL_SETS_FILE="${CSV_OUTPUT_FILENAME}"
|
||||
elif [ "${TSV_OUTPUT_FILENAME}" ]; then
|
||||
[ "${TSV_OUTPUT_FILENAME}" ] && export TSV_SERIAL_SETS_FILE="${TSV_OUTPUT_FILENAME}"
|
||||
else
|
||||
else
|
||||
export CSV_SERIAL_SETS_FILE="${OUTPUT_DIRECTORY}/serial_sets-${DATE_NOW}.csv"
|
||||
export TSV_SERIAL_SETS_FILE="${OUTPUT_DIRECTORY}/serial_sets-${DATE_NOW}.tsv"
|
||||
fi
|
||||
|
||||
if [ "${TSV_OUTPUT_FILENAME}" ]; then
|
||||
[ "${TSV_OUTPUT_FILENAME}" ] && export TSV_SERIAL_SETS_FILE="${TSV_OUTPUT_FILENAME}"
|
||||
else
|
||||
export TSV_SERIAL_SETS_FILE="${OUTPUT_DIRECTORY}/serial_sets-${DATE_NOW}.csv"
|
||||
fi
|
||||
|
||||
|
||||
./macserial \
|
||||
--num "${SERIAL_SET_COUNT}" \
|
||||
|
|
Loading…
Reference in a new issue