This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Releases: 0xmachos/mOSL
Releases · 0xmachos/mOSL
1.9.0
Improvements
- Change
check_firmware_password_set
toset_firmware_password
(69fa5a8)- Added a
fix_command
- Added a
check_if_standard_user
: Change title (ee542a5)- Old:
${USER} is a standard user not an administrator
- New:
${USER} is not an administrator
- Old:
Bug Fixes
enable_filevault
: Remove erroneousreturn 0
(0e2ab42)
1.8.0
Improvements
set_airdrop_contacts_only
: Change title to "Set AirDrop Discoverability to 'Contacts Only'" (786f4c8)- Change
check_filevault
toenable_filevault
(b546a0c)- Added a
fix_command
- Saves recovery key to
$HOME/FileVault_recovery_key.text
- Added a
- Added
check_if_standard_user
(d13db1d)- Fails if the current account is an administrator instead of being a standard user
- Added
debug
function (221abd7)- Prints some information about the users system to help with debugging
- Added
LOCKDOWN_VERSION
variable (0f835d4)
Bug Fixes
- main: Fix
fix
mode case (9b68f51)- Brings fixing a single setting inline with how fixing all settings work
1.7.1
Bug Fixes
check_index
: Unquote variable inside arithmetic expansion (5bb107d)- Thanks to @stampycode for reporting this
Changes
- Renamed
check_sip
toenable_sip
as it now has afix_command
(f4c07c4)
1.7.0
1.7.0 Beta Four
Bug Fixes
- Fix off by one error (e161dce)
setting_index
was initialize as0
which lead to the first setting being listed (./Lockdown list
) with index1
however the settings array first entry had an index of0
.- e.g.
./Lockdown audit 1
would call the function in position2
of the settings array.
- main: Reverse declaring varables as ints (fe83ceb)
- If they’re declared as ints and the argument to
./Lockdown audit {argument}
or./Lockdown fix {argument}
is a string then an unbound variable error will be thrown rather than hitting the code incheck_index
.
- If they’re declared as ints and the argument to
- main:
exit 1
on invalid command case (fcb5412)- Calling
usage
results in an exit code of0
as usage finishes with anexit 0
- Calling
1.7.0 Beta Three
Bug Fixes
- Changed
force-fix
tofix-force
(c8476e3) - main: The
usage|*)
case would printInvalid command
on./Lockdown
andLockdown usage
.- Changed case statement to
usage|help|-h|--help|🤷♂️|🤷♀️)
and added a separate case statement of*)
for invalid commands (fcd868e).
- Changed case statement to
- main: Explicitly declare variables (690ab2a) (ce83e7a).
1.7.0 Beta Two
Bug Fixes
- Update Minisign signature: Signature on Beta One was carried out against my local copy which had a change not reflected in the GitHub repo therefore the signature was invalid (d355df9).
1.7.0 Beta One
1.6.0
Improvements
- check_sip: Added a
fix_command
(f117cd8)- Added a warning indicating that a reboot is needed for this to take affect (6517c84)
./Lockdown list
now prints the setting number[1]
rather than[🍎]
(df2d80d)- The is groundwork for a future release which will allow the user to select which setting(s) to audit/ fix