osquery 101 — Getting Started

I admit it… I’m a fanboy. A straight up osquery fanboy. Oh… what is osquery you ask? Good question there sport. osquery allows you to easily ask questions about your Linux and OSX infrastructure. Whether your goal is intrusion detection, infrastructure reliability, or compliance, osquery gives you the ability to empower and inform a broad set of organizations within your company. That’s how Facebook describes it. I’d say osquery is the most effective way available to monitor an OSX or Linux host for security....

January 26, 2016 · 4 min · Scott J Roberts

pbcopy and pbpaste

pbpaste & pbcopy give you direct access to the OSX clipboard from a shell and makes it easy to tie together data from GUI based apps with command line apps. pbpaste So say you use ⌘+c to copy something from a browser that you want to then feed through a command line tool like ./jq: $ pbpaste | jq ‘.’ pbpaste feeds the text from the clipboard to jq through standard in, which then allows jq to manipulate it as you see fit....

May 15, 2015 · 1 min · Scott J Roberts