Skip to content

Commit

Permalink
updated per legal requests
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartjash committed Aug 15, 2022
1 parent db4ccad commit 030eea6
Show file tree
Hide file tree
Showing 38 changed files with 70 additions and 51 deletions.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Jamf Open Source Community

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 2 additions & 1 deletion aftermath/Aftermath.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// Aftermath.swift
// aftermath
//
//
// Copyright 2022 JAMF Software, LLC


import Foundation

Expand Down
6 changes: 6 additions & 0 deletions aftermath/ArgManager.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
//
// ArgManager.swift
// aftermath

// Copyright 2022 JAMF Software, LLC

import Foundation


Expand Down
3 changes: 1 addition & 2 deletions aftermath/CaseFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// CaseFiles.swift
// aftermath
//
// Created by Jaron Bradley on 12/10/21.

// Copyright 2022 JAMF Software, LLC


import Foundation
Expand Down
3 changes: 1 addition & 2 deletions aftermath/Module.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Module.swift
// aftermath
//
// Created by Jaron Bradley on 12/8/21.
//
// Copyright 2022 JAMF Software, LLC

import Foundation
import Accelerate
Expand Down
34 changes: 3 additions & 31 deletions aftermath/main.swift
Original file line number Diff line number Diff line change
@@ -1,39 +1,11 @@
//
// main.swift
// aftermath
//
//

import Foundation
// Copyright 2022 JAMF Software, LLC

print(#"""
\ _| | \ | | |
_ \ | __| _ \ __| |\/ | _` | __| __ \
___ \ __| | __/ | | | ( | | | | |
_/ _\ _| \__| \___| _| _| _| \__,_| \__| _| |_|
_( (~\
_ _ / ( \> > \
-/~/ / ~\ :; \ _ > /(~\/
|| | | /\ ;\ |l _____ |; ( \/ / /
_\\)\)\)/ ;;; `8o __-~ ~\ d| \ \ //
///(())(__/~;;\ "88p;. -. _\_;.oP (_._/ /
(((__ __ \\ \ `>,% (\ (\./)8" ;:' i
)))--`.'-- (( ;,8 \ ,;%%%: ./V^^^V' ;. ;.
((\ | /)) .,88 `: ..,,;;;;,-::::::'_::\ ||\ ;[8: ;
)| ~-~ |(|(888; ..``'::::8888oooooo. :\`^^^/,,~--._ |88::| |
\ -===- /| \8;; ``:. oo.8888888888:`((( o.ooo8888Oo;:;:' |
|_~-___-~_| `-\. ` `o`88888888b` )) 888b88888P""' ;
;~~~~;~~ "`--_`. b`888888888;(.,"888b888" ..::;-'
; ; ~"-.... b`8888888:::::.`8888. .:;;;''
; ; `:::. `:::OOO:::::::.`OO' ;;;''
: ; `. "``::::::'' .'
; `. \_ /
; ; +: ~~-- `:' -';
`: : .::/
; ;;+_ :::. :..;;;
"""#
)

import Foundation


// Case management creation
Expand Down
3 changes: 1 addition & 2 deletions analysis/AnalysisModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// AnalysisModule.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/3/22.
//
// Copyright 2022 JAMF Software, LLC//

import Foundation

Expand Down
2 changes: 1 addition & 1 deletion analysis/Parser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Parser.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 7/16/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions artifacts/ArtifactsModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// ArtifactsModule.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion artifacts/LogFiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// LogFiles.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/6/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions artifacts/ShellHistoryAndProfiles.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// BashProfiles.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions artifacts/SystemConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SystemConfig.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions artifacts/TCC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// TCC.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions extensions/FileManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// FileManager.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion filesystem/CommonDirectories.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// CommonDirectories.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/17/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion filesystem/FileSystemModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FileSystemModule.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/7/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion filesystem/FileWalker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FileWalker.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/21/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion filesystem/Slack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Slack.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/7/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions filesystem/browsers/BrowserModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// BrowserModule.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions filesystem/browsers/Chrome.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Chrome.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions filesystem/browsers/Firefox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Firefox.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions filesystem/browsers/Safari.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Safari.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions network/NetworkConnections.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Airport.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions network/NetworkModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// NetworkModule.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 2 additions & 0 deletions persistence/Cron.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
// Cron.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation


Expand Down
2 changes: 1 addition & 1 deletion persistence/Emond.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SystemExtensions.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 4/6/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions persistence/LaunchItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// LaunchItems.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//
import Foundation

Expand Down
1 change: 1 addition & 0 deletions persistence/LoginHooks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// LoginHooks.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion persistence/LoginItems.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// LoginItems.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 7/29/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion persistence/Overrides.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Overrides.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 4/6/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion persistence/Periodic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Periodic.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 6/2/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions persistence/PersistenceModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// PersistenceHandler.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion persistence/SystemExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SystemExtensions.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 4/6/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
4 changes: 3 additions & 1 deletion processes/Pids.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Process.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//
// The following code (with minor modifications) is from TrueTree, written by Jaron Bradley.
// 2020 TheMittenMac
// TrueTree: https://github.com/themittenmac/TrueTree
Expand All @@ -13,7 +15,7 @@ import ProcLib
class Pids {

let MaxPathLen = Int(4 * MAXPATHLEN)
typealias rpidFunc = @convention(c) (CInt) -> CInt
typealias rpidFunc = @convention (CInt) -> CInt
let InfoSize = Int32(MemoryLayout<proc_bsdinfo>.stride)


Expand Down
2 changes: 1 addition & 1 deletion processes/ProcessModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ProcessModule.swift
// aftermath
//
// Created by Stuart Ashenbrenner on 7/6/22.
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
2 changes: 2 additions & 0 deletions processes/Tree.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// tree.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//
// The following code (with minor modifications) is from TrueTree, written by Jaron Bradley.
// 2020 TheMittenMac
// TrueTree: https://github.com/themittenmac/TrueTree
Expand Down
1 change: 1 addition & 0 deletions systemRecon/SystemReconModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SystemReconModule.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down
1 change: 1 addition & 0 deletions unifiedlogs/UnifiedLogModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// UnifiedLogModule.swift
// aftermath
//
// Copyright 2022 JAMF Software, LLC
//

import Foundation
Expand Down

0 comments on commit 030eea6

Please sign in to comment.