Skip to content

Instantly share code, notes, and snippets.

View Shadow0ps's full-sized avatar
👋
Hi there. Nice to meet you.

Shadow0pz Shadow0ps

👋
Hi there. Nice to meet you.
View GitHub Profile
@Shadow0ps
Shadow0ps / update.sh
Created July 10, 2018 19:22 — forked from Omeryl/update.sh
manage an OpenWRT LetsEncrypt https installation
#!/usr/bin/env sh
## update.sh - manage a OpenWRT LetsEncrypt https instalation
# HOWTO:
# - put update.sh in its own directory (like /root/.https)
# - run ./update.sh your.domain.com (that domain needs to point to your router)
# * this get an issued cert from letsencrypt.org using the webroot verification method
# * also installs curl and ca-certificates packages
# - use crontab -e; add the line `0 0 * * * "/root/.https/update.sh" >>/root/.https/log.txt 2>&`
# * this runs the update every day, logging everything to log.txt
#
@Shadow0ps
Shadow0ps / all.txt
Created June 29, 2018 00:08 — forked from haccer/all.txt
all wordlists for every dns enumeration tool... ever.
This file has been truncated, but you can view the full file.
0
00
0-0
000
0000
00000
000000
000005
00001
00002
@Shadow0ps
Shadow0ps / alexa.sh
Created June 29, 2018 00:07 — forked from haccer/alexa.sh
Gather domains in the Alexa top 1 million
#!/bin/bash
# This script will fetch the Alexa top 1 million domains and prepare them how I like it.
# Check if unzip is installed
[ -f /usr/bin/unzip ] || sudo apt-get install unzip
# Get Alexa Top 1 mil
wget -q --show-progress http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
# Unzip
@Shadow0ps
Shadow0ps / alexa.sh
Created June 29, 2018 00:07 — forked from haccer/alexa.sh
Gather domains in the Alexa top 1 million
#!/bin/bash
# This script will fetch the Alexa top 1 million domains and prepare them how I like it.
# Check if unzip is installed
[ -f /usr/bin/unzip ] || sudo apt-get install unzip
# Get Alexa Top 1 mil
wget -q --show-progress http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
# Unzip
@Shadow0ps
Shadow0ps / AFI-R Boot Log.txt
Created May 19, 2018 18:13 — forked from ndoo/AFI-R Boot Log.txt
AFI-R Boot Log
ath>
ath> ?
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
chpart - change active partition
cmp - memory compare
@Shadow0ps
Shadow0ps / gw-gravity-forms-advanced-conditional-logic.php
Created April 14, 2018 01:24 — forked from spivurno/gw-gravity-forms-advanced-conditional-logic.php
Gravity Wiz // Gravity Forms // Advanced Conditional Logic
<?php
/**
* Gravity Wiz // Gravity Forms // Advanced Conditional Logic
*
* PLEASE NOTE: This snippet is a proof-of-concept. It is not supported and we have no plans to improve it.
*
* Allows multiple groups of conditional logic per field.
*
* @version 0.1
* @author David Smith <david@gravitywiz.com>
@Shadow0ps
Shadow0ps / OpenSSL RSA encryption sample
Created November 27, 2017 17:45 — forked from superwills/OpenSSL RSA encryption sample
Base64 encoding and RSA encryption sample
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <openssl/rsa.h>
#include <openssl/engine.h>
#include <openssl/pem.h>
// I'm not using BIO for base64 encoding/decoding. It is difficult to use.
// Using superwills' Nibble And A Half instead
@Shadow0ps
Shadow0ps / keybase.md
Created August 12, 2017 21:34
keybase.md

Keybase proof

I hereby claim:

  • I am Shadow0ps on github.
  • I am shadow0ps (https://keybase.io/shadow0ps) on keybase.
  • I have a public key whose fingerprint is 1B65 0E95 76F5 AE77 8859 FCE3 11FB A5F6 77A4 6AFA

To claim this, I am signing this object:

@Shadow0ps
Shadow0ps / InnoculatePetya.ps1
Created June 27, 2017 19:32
This will create a file called perfc in the C:\Windows directory. Petya/Goldeneye looks for this file and if it exists it terminates the program.
if (!(Test-Path "C:\Windows\perfc"))
{
New-Item -path C:\Windows -name perfc -type "file" -value "Inoculated"
Write-Host "System Inoculated"
}
else
{
Write-Host "File already exists! Your system may be infected."
}
if (!(Test-Path "C:\Windows\perfc"))
{
New-Item -path C:\Windows -name perfc -type "file" -value "Inoculated"
Write-Host "System Inoculated"
}
else
{
Write-Host "File already exists! Your system may be infected."
}