Skip to content

Instantly share code, notes, and snippets.

View mattyjones's full-sized avatar

Matt Jones mattyjones

  • Northeast-US
View GitHub Profile
#! /usr/bin/env bash
#
# This requires ParrotOS Security Mate
# It produces a tailored setup for i3 (see proj ct README for details)
#
###--------------------------------Global Declarations--------------------------------------###
# Some of these may already be installed, if so they will not be re-installed or upgraded.
@mattyjones
mattyjones / python_over_ssh
Last active November 16, 2020 16:20
Execute a script located on a remote server over ssh using python
#! /usr/bin/env python
import secure
import pexpect
# the file containing the list of servers to log into
input_file = "script_list"
# The login creds
user = secure.USER
@mattyjones
mattyjones / fetch-exploit.sh
Last active September 30, 2020 14:17
This is a bare # bones script that will take either a cve or exploit id and open up a browser tab directly to # the exploit given or search results given a cve.
#! /bin/env bash
# Description:
# Going to a browser and playing cut and paste games can be time consuming and break the flow
# of a penetration. Searchsploit is a great tool that acts as a cli interface with exploit-db.
# You can search for exploits in much the same way as you can on the site. This is a bare
# bones script that will take either a cve or exploit id and open up a browser tab directly to
# the exploit given or search results given a cve.
#
# License: MIT
" Caffeintaed Engineering
" .vimrc version 0.0.1
"
"
" Dependencies
"
" apt install build-essential cmake python3-dev pandoc xdotool
" pip3 install pynvim git+git://github.com/powerline/powerline
"
"
#!/usr/bin/env bash
#
# parrot-upgrade
#
# DESCRIPTION:
# Upgrade a parrotOS system to the latest rolling release using sane defaults
#
# OUTPUT:
# plain text
#
# tested with Python >=3.6
import urllib.request
def check_url(url):
ret = urllib.request.urlopen(url)
if ret.code == 200:
c = True
else:
c = False
@mattyjones
mattyjones / Brewfile
Created May 23, 2018 01:14
Sample brew file
# SF Laptop Brewfile
#
# Not included:
# OmniGraffle
# Git-Tower
# oh-my-zsh
# Capto
# Transmit
# MacTex
# OmniFocus

New Functionality

I am submitting the inital stable version of a pagerduty module that will allow a developer the following functionality:

/users

  • add users
  • update users
  • remove users

/teams

  • add teams

Keybase proof

I hereby claim:

To claim this, I am signing this object:

.gitlab-vi.yml

production:
  script:
    - hugo --cacheDir $HOME/cache
    - sudo cp -R public/* /var/www/html/
    - sudo chown -R root:root /var/www/html/
  only:
 - master