Skip to content

Instantly share code, notes, and snippets.

Victor Vrantchan groob

Block or report user

Report or block groob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View osquery.conf
{
"decorators": {
"load": [
"SELECT uuid AS host_uuid FROM system_info;",
"SELECT hostname AS hostname FROM system_info;"
]
},
"options": {
"logger_plugin": "gcs",
"host_identifier": "hostname",
View osquery.conf
{
"options": {
"logger_plugin": "dev_logger,gcplog",
"logger_path": "/tmp/osq.log",
"host_identifier": "specified",
"specified_identifier" : "groob.acme.co",
"config_plugin": "gist",
"schedule_splay_percent": 10
},
"schedule": {
View pem.go
package main
import (
"fmt"
"log"
"os"
"github.com/groob/plist"
)
View mdm_profile.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>AccessRights</key>
<integer>8191</integer>
<key>CheckInURL</key>
View screensaver.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Security &amp; Privacy</string>
<key>PayloadEnabled</key>
View micromdm_scep.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>Key Type</key>
View prefwatch.go
package main
/*
#cgo darwin CFLAGS: -DDARWIN -x objective-c
#cgo darwin LDFLAGS: -framework Cocoa
#import <Cocoa/Cocoa.h>
@interface ManageHandler : NSObject<NSUserNotificationCenterDelegate>
@property (retain) NSUserDefaults *userDefaults;
@end
View TLS_1.3_links.md
@groob
groob / grpc_proxy.go
Created Jul 18, 2017
proxy grpc traffic with http
View grpc_proxy.go
package main
import (
"crypto/tls"
"errors"
"log"
"net"
"net/http"
"net/http/httputil"
"net/url"
@groob
groob / hi_frogor.go
Last active Jul 14, 2017 — forked from pudquick/hi_groob.py
Search my gists ;p
View hi_frogor.go
package main
import (
"flag"
"fmt"
"io"
"log"
"net/http"
"os"
)
You can’t perform that action at this time.