Commit Graph

89 Commits

Author SHA1 Message Date
Patrick Wardle b637588228 improved "disable" logic 2021-05-05 23:26:45 -07:00
Patrick Wardle 0ce6562493 improved mic deactivation logic 2021-05-05 23:06:09 -07:00
Patrick Wardle 9863b10f4e audio deactivation detection 2021-05-05 16:42:49 -07:00
Patrick Wardle 29bfd650d5 improved rule handling, installer 2021-05-05 09:55:31 -07:00
Patrick Wardle 4b80b7db3a Added mic monitoring 2021-05-05 00:23:12 -07:00
Patrick Wardle 1644724e76 Merge branch 'main' of https://github.com/objective-see/OverSight into main 2021-05-03 17:01:37 -10:00
Patrick Wardle 96267b3fe4 Update configure.sh 2021-05-03 17:01:35 -10:00
Objective-See 49ebc81eaa
Update README.md 2021-05-02 22:45:27 -10:00
Patrick Wardle 79067635d2 v2.0
(full) rewrite leveraging logging subsystem
+ M1 native support
+ execute script on event (#2)
+ improved Big Sur compatibility/issues (#3, #4, #6, #7)
2021-05-02 22:26:55 -10:00
Objective-See 596d47ce8f
Create LICENSE 2021-01-31 17:50:00 -10:00
Patrick Wardle d7b4648a90 v 1.2.0
high sierra compatibility
 improved nstask execution
 alleviated need for 'sudo'
 refactored code to find camera/mic process
 pushed various XPC intensive stuff into background
2017-09-24 20:45:02 -10:00
Patrick Wardle 027d0840ed v1.1.2 2017-09-24 20:29:24 -10:00
Patrick Wardle 5bc2adc510 version 1.1.1 commit
-fixed issue in upgrade code (from version 1.0.0)
2017-04-16 13:52:57 +02:00
Patrick Wardle 9b8f2fea0f v.1.1.0 (final?) commit
-fixed issue where uninstaller wouldn't remove app support directory
2017-04-14 11:24:01 +02:00
Patrick Wardle 56ebbf8bb7 logging to file (Oversight.log)
overlay when no whitelisted apps
uninstall logic fixed to remove login item
version bump to 1.1.0
ui/fixes improvements
2017-04-13 11:29:18 +02:00
Patrick Wardle dc685eea2e -install, (via sudo) ran app as wrong user
quit/uninstall didn't stop XPC process
added flag to wait for processes in execTask function
added overlay for rule deletion (to wait to rule to be delete)
fixed issue where deactivation alerts wouldn't auto-close
add patrons to 'about' window
2017-04-08 16:18:29 -10:00
Patrick Wardle 5a1f704931 white-listing granularity is now down to the device level (mic/camera)
ui: stuff is resizable / fixed warnings
2017-04-07 21:37:23 -10:00
Patrick Wardle 5ba5b585ba changed installer buttons to uppercase 2017-04-03 21:26:11 -10:00
Patrick Wardle 4b65f0647a code cleanup 2017-04-02 15:14:38 -10:00
Patrick Wardle a837ffdcf6 'support us' window added to installer/about
wrapped debug statements with #ifdef DEBUG
improved NSTask to (hopefully) avoid hangs
added dictionary of activation alerts to help with deactivation alert logic
2017-04-02 13:12:42 -10:00
Patrick Wardle c6eaba30f2 logic for version 1.1.0 :)
-whitelist / rules logic
 -improved audio process enumeration
2017-03-27 22:00:11 -10:00
Patrick Wardle eb635e54d9 -improved cmdline processing
-ignore 'duplicate' events
-added code/UI for whitelist popup
2016-12-20 21:38:26 -10:00
Patrick Wardle 2c1fcc4a72 added 'disable inactive alerts' preference/setting 2016-12-18 16:38:47 -10:00
Patrick Wardle 579edd3435 command-line install
code cleanup
2016-11-14 09:12:19 -10:00
Patrick Wardle c7aa22fda4 finalized overlay for starting login item
delete preferences file on uninstall
added logic to toggle login item on/off based on preferences
2016-11-07 21:36:03 -10:00
Patrick Wardle 033fae2879 working on code for new preferences/features
-headless mode
 -managing rules
 -switched to manually managing
only starting login item when needed
2016-11-07 07:04:11 -10:00
patrick 65dbbf9a9a support (beta) for mic's process ID 2016-11-06 17:33:42 -10:00
Patrick Wardle c798aa6912 version 1.0 commit
-code for login item (and install/uninstall interfaces)
2016-10-08 19:34:31 -10:00
Patrick Wardle e492e9996a remove xattrs when copying to /Applications to avoid issues w/ 'App Translocation'
when no consumer process is found, still alert user that camera started
main app now launched via hardcoded path (again to avoid issues w/ 'App Translocation'
minor code cleanup
2016-10-04 21:03:41 -07:00
Patrick Wardle 2eddae193d added 'start' button and logic to preferences so Login Item can be restarted if necessary
change launching of login item (at install time) to NSTask, so focus would stay with installer app
fixed issue where activity indicator would overlap with install/uninstall message on macOS Sierra
'Inactive' video and audio notifications are now automatically closed after two seconds
updated code for macOS Sierra (e.g. FaceTime does call CMIO:doWork)
added check to ensure we can get a process's path (which fixed a NULL pointer de-ref)
added 'avconferenced' as a white-listed apple daemon for macOS Sierra
added getOSVersion() function to facilitate macOS Sierra specific logic
added getProcessID() function to get a process name from it's pid
code cleanup/extra debug statements
2016-09-24 17:08:38 -10:00
Patrick Wardle d9ae15b3bc added preference handling (logging/new-version check)
added cmd+q hotkey for prefs app to close/quit
changed name of installer binary to match app
improved device detection (uses default if can't find apple camera/mic)
code cleanup/error handling
2016-09-19 21:29:40 -10:00
Patrick Wardle 9789a687ff renamed installer to 'OverSight_Installer' 2016-09-18 22:01:24 -10:00
Patrick Wardle 78ea2d11c4 get process name (from app bundle)
delete sample's output file
made find camera/mic instance methods
fixed icons for main app
code cleanup/TODOs
2016-09-18 11:10:44 -10:00
Patrick Wardle c356077600 ignore xpc client/requestor as a 'candidate' video proc
improved error msgs
2016-09-16 13:00:23 -10:00
Patrick Wardle 7c7a78cd1c finished install/uninstall logic
stop/start login item
  set file perms correctly (i.e. setuid on login item)
  update ui window
  removed XPC embedded in main app (only is needed in helper.app)
2016-09-15 22:13:06 -10:00
Patrick Wardle d14d33fbd1 started on install/uninstall logic (as root, etc)
TODOs/code cleanup
2016-09-14 22:15:30 -10:00
Patrick Wardle 5173869913 change login item to LSUIElement (so popups would show up!)
code cleanup
2016-09-13 22:28:11 -10:00
Patrick Wardle 5b0f6633c7 - project cleanup
- preferences window implementation (logging, update check, etc)
2016-09-12 21:27:45 -10:00
Patrick Wardle d63410b772 initial checkin! 2016-09-11 14:21:14 -10:00