Skip to content

Instantly share code, notes, and snippets.

View pry0cc's full-sized avatar
💭
Hacking the Planet

pry0cc pry0cc

💭
Hacking the Planet
View GitHub Profile
@pry0cc
pry0cc / easy-wordpress.sh
Last active December 10, 2019 16:52
Deploy
#!/bin/bash
### Usage: chmod +x easy-wordpress.sh && ./easy-wordpress.sh yourapp.yourdomain.com
NAME="wordpress"
DOMAIN="$1"
SUBDOMAIN="www"
WWW="$SUBDOMAIN.$DOMAIN"
DB="_db"
DB_NAME="$NAME$DB"
"question":"Do you currently employ or work with an organization that manages your IT Security?",
"options": [
{
"class":"btn-danger",
"value":"No",
"score":-10
},
{
"class":"btn-primary",
"value":"We contract a company",
#!/bin/bash
#
# https://github.com/Nyr/openvpn-install
#
# Copyright (c) 2013 Nyr. Released under the MIT License.
# Detect Debian users running the script with "sh" instead of bash
if readlink /proc/$$/exe | grep -q "dash"; then
echo "This script needs to be run with bash, not sh"
#!/bin/bash
#
# https://github.com/Nyr/openvpn-install
#
# Copyright (c) 2013 Nyr. Released under the MIT License.
# Detect Debian users running the script with "sh" instead of bash
if readlink /proc/$$/exe | grep -q "dash"; then
echo "This script needs to be run with bash, not sh"
@pry0cc
pry0cc / Breachsense.rb
Created July 29, 2019 12:11
A script to lookup data on Breachsense.io
#!/usr/bin/env ruby
require 'mechanize'
require 'json'
### You need to insert a valid key here.
key = ""
@agent = Mechanize.new()
@pry0cc
pry0cc / Be happy
Created March 8, 2018 17:41
Server Recovery Instructions
Don't worry, be happy, and turn it off and on again
@pry0cc
pry0cc / wallpaperbadass.sh
Created September 13, 2016 21:09
Be a badass, with wallpapers.
#!/bin/bash
echo "How many pages of images you would like?"
### Sets threshold for loop ###
read max_pages
echo "At what resolution would you like them."
echo "1] 1920x1080"
echo "2] 3840x2160"

Keybase proof

I hereby claim:

  • I am pry0cc on github.
  • I am pry0cc (https://keybase.io/pry0cc) on keybase.
  • I have a public key whose fingerprint is 4F84 4948 8DC6 2D35 F4B1 13D4 A39C 6C67 EEF0 2546

To claim this, I am signing this object:

@pry0cc
pry0cc / iptrack
Created July 30, 2016 21:49
A snappy application to find out everything known about an IP.
#!/usr/bin/env ruby
require 'json'
require 'mechanize'
require 'rubygems'
require 'open-uri'
puts "Looking up #{ARGV[0]}"
agent = Mechanize.new
import java.util.Scanner;
public class JoshuaFlores_Exam4 {
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int day = 1;
int floor = 120;
int weeks = 7;
int roachsize = 3;
double formula = 0.53 * roachsize * 4;