Download a PDF of my slides and notes
Example code from my MacAdmins Conference at Penn State 2024 presentation.
| [[Category: Proxy Agent]] | |
| = Overview = | |
| This is the interface between the [[Proxy Agent]] and Plugin executable. The function of a plugin executable is to deliver device commands to the device management system and produce a results file with the outcome of the command execution. | |
| = High-level design = | |
| The ProxyAgent will launch a plugin executable with a set of parameters describing the device(s) to target and the action to take on the device(s). Once launched, the ProxyAgent will continue processing actions and will not interact again with the plugin instance (ie. “Fire and Forget”). | |
| Multiple instances of a particular plugin can be launched concurrently. However, the ProxyAgent will not launch more than one plugin instance targeted against a particular device; each device will have at most one plugin operating on it at any given time. |
Download a PDF of my slides and notes
Example code from my MacAdmins Conference at Penn State 2024 presentation.
| #!/usr/bin/env bash | |
| sudo hdiutil create -o /tmp/Monterey -size 16g -volname Monterey -layout SPUD -fs HFS+J | |
| sudo hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey | |
| sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction | |
| hdiutil eject -force /Volumes/Install\ macOS\ Monterey | |
| hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Downloads/Monterey | |
| mv -v ~/Downloads/Monterey.cdr ~/Downloads/Monterey.iso | |
| sudo rm -fv /tmp/Monterey.dmg |
» sudo systemctl daemon-reload
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
==============================================
Edit*
/etc/wsl.conf with any editor:A compile-time 4-Bit Virtual Machine implemented in TypeScript's type system. Capable of running a sample 'FizzBuzz' program.
Syntax emits zero JavaScript.
type RESULT = VM<
[
["push", N_1], // 1
["push", False], // 2
["peek", _], // 3| { | |
| "registry": "https://registry.bower.io" | |
| } |
| # Generate a BaseSystem.dmg with 10.13 Install Packages | |
| hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra | |
| hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase | |
| cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation | |
| hdiutil detach /Volumes/OS\ X\ Base\ System/ | |
| hdiutil detach /Volumes/highsierra/ | |
| mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg |
| #!/usr/bin/env perl | |
| # Author: philsmd (for hashcat) | |
| # License: public domain | |
| # Date: January 2017 | |
| use strict; | |
| use warnings; | |
| use Crypt::PBKDF2; |
| #!/usr/bin/python | |
| #-------------------------------------------------------------------------------------------------- | |
| #-- bigfixPkgCustomzer | |
| #-------------------------------------------------------------------------------------------------- | |
| # Program : bigfixPkgCustomzer | |
| # To Complie : n/a | |
| # | |
| # Purpose : | |
| # | |
| # Called By : |