Skip to content

Instantly share code, notes, and snippets.

View jcwx's full-sized avatar

John Weir jcwx

  • ISE
  • New York, NY
View GitHub Profile
@jcwx
jcwx / nessus_backup_cmd.txt
Last active March 1, 2018 12:55
command to create backup tarball for Nessus install
# super user privileges will be needed for this backup
#
# Bear in mind the tarball will be created in the directory from which the command is run.
#
# If Nessus is installed somewhere other than '/opt/nessus' (the default location), adapt
# the command directories to reflect your environment
#
# I set the command up to exclude the scan results in the backup. The backup will
# restore users, scans and everything except the scan history.
#
@jcwx
jcwx / file1.txt
Created March 6, 2013 13:35
Created via API
Demo
@jcwx
jcwx / file1.txt
Created March 6, 2013 13:34
Created via API
Demo
#!/usr/bin/env ruby
# vim: set ts=2 sw=2 ai et:
require 'rubygems' # kludge for older systems, such as rhel6
require 'gh'
require 'erb'
require 'net/smtp'
require 'socket'
stack = GH::Stack.new do