MercuryWorkshop / fakemurk

[UNMAINTAINED] fakemurk - a set of scripts for spoofing verified on an enrolled chromebook
Other
56 stars 19 forks source link

bug fix in extension hard-disabling/enabling in mush #37

Closed tuocan closed 1 year ago

tuocan commented 1 year ago

fixes two things:

  1. verifies the variable extid is actually an extension ID
  2. makes sure typing an invalid input doesnt remove your perms for your user's entire extension folder (since there was no check on the extid variable, it would run chmod 000 on "/home/chronos/user/Extensions/$extid" even if $extid is unset, meaning the chmod command was run on the "/home/chronos/user/Extensions/" directory as a whole)
velzie commented 1 year ago

torcan