Skip to main content
Solved

Run a script

  • November 11, 2014
  • 2 replies
  • 11 views

Hi,

For a department I need to run the Wirelurker script i found in this topic: https://jamfnation.jamfsoftware.com/discussion.html?id=12494

This is a python script. I need to download the script via a curl -O command, and then run it with python. Locally on my Mac this is no problem but I want to automate this in JSS if possible.

I want to make a smart computer group to see whether or not an infection has been found.
I know I can run scripts in JSS, but I havent found the best way to do it for this particular script. I don't want the user to be able to do this via self service.

Hope somebody can put me on the right track.

Any help is greatly appreciated.

Best answer by davidacland

I haven't used this personally but it looks like an extension attribute script so you just need to create a new extension attribute with this script as the contents and the Macs will run it and report on the status each time they submit an inventory.

2 replies

davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • Answer
  • November 11, 2014

I haven't used this personally but it looks like an extension attribute script so you just need to create a new extension attribute with this script as the contents and the Macs will run it and report on the status each time they submit an inventory.


  • November 11, 2014

Hi David,

Thanks for your answer. I think I made it work with an extension attribute indeed.
This reports whether or not a certain folder has been found.

Many thanks for your reply.