Skip to main content
Question

Bash History Extension Attribute Script

  • October 30, 2014
  • 1 reply
  • 0 views

Forum|alt.badge.img+10

Hi folks,

I'd like to be able to tell at some point if folks are going in and making calls to the jamf binary on their system.

I'm not great at script, so this may not be pretty, but I figured something like this would work

#!/bin/bash

jamfsnoop=$(less /Users/*/.bash_history | grep -i jamf);

echo "<result>$jamfsnoop</result>"

But it doesn't seem to turn up any results when performing a recon.

Any tips?

1 reply

Forum|alt.badge.img+10
  • Author
  • Contributor
  • 66 replies
  • October 30, 2014

Scratch that ! Just needed to run another recon :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings