Skip to content

Instantly share code, notes, and snippets.

View cloudcap10's full-sized avatar
πŸ‡ΈπŸ‡¬
Automating

CloudCap10 cloudcap10

πŸ‡ΈπŸ‡¬
Automating
View GitHub Profile
@cloudcap10
cloudcap10 / create-pfx
Last active April 20, 2020 09:08 — forked from jamielaundon/create-pfx
Create IIS .pfx from Let's Encrypt fullchain and priv key
sudo openssl pkcs12 -export -in /etc/letsencrypt/live/domain.com/fullchain.pem -inkey /etc/letsencrypt/live/domain.com/key.pem -out domain.com.pfx
@cloudcap10
cloudcap10 / ajaxspreadsheet.js
Created May 10, 2020 10:11 — forked from mgamini/ajaxspreadsheet.js
How to receive ajax data and store it in a Google spreadsheet
// Follow the instructions here: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/
//
// That'll get you 80% of the way there. Unfortunately, you'll run into CORS and MIMETYPE errors, so make the following changes.
// ============================================================
// Your clientside script should actually look like this (jquery example):
// ============================================================
var data = {email: "email@address.com"}
@cloudcap10
cloudcap10 / disable EventID 4703
Created May 17, 2020 01:24
Event ID 4703 - Authorization Policy Change
Authorization Policy Change
auditpol.exe /set /subcategory:"Authorization Policy Change" /success:disable /failure:disable
@cloudcap10
cloudcap10 / PowerView-3.0-tricks.ps1
Created June 8, 2020 01:18 — forked from HarmJ0y/PowerView-3.0-tricks.ps1
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : β€˜find’ specific data entries in a data set
@cloudcap10
cloudcap10 / Manage-ADComputers.ps1
Created June 8, 2020 01:22 — forked from 9to5IT/Manage-ADComputers.ps1
PowerShell: Cleanup inactive AD computer objects
Import-Module ActiveDirectory
# Set the number of days since last logon
$DaysInactive = 90
$InactiveDate = (Get-Date).Adddays(-($DaysInactive))
#-------------------------------
# FIND INACTIVE COMPUTERS
#-------------------------------
# Below are three options to find inactive computers. Select the one that is most appropriate for your requirements:
@cloudcap10
cloudcap10 / settings.json
Created June 21, 2020 23:10 — forked from thomasmaurer/settings.json
My Windows Terminal Settings settings.json June 2020
// This file was initially generated by Windows Terminal 0.11.1121.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@cloudcap10
cloudcap10 / Contract Killer 3.md
Created October 27, 2020 13:15
The latest version of my β€˜killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@cloudcap10
cloudcap10 / made-with-love.html
Created December 2, 2020 15:57 — forked from oliveratgithub/made-with-love.html
Various HTML-snippets to add "Made with love" to your website
<!-- Example #1 - no styling -->
Made with ❀ in Switzerland
<!-- Example #2 - inline-styled ❀ -->
Made with <span style="color: #e25555;">&#9829;</span> in Switzerland
Made with <span style="color: #e25555;">&hearts;</span> in Switzerland
<!-- Example #3 - CSS-style class for ❀ -->
<style>.heart{color:#e25555;}</style>
Made with <span class="heart">❀</span> in Switzerland
@cloudcap10
cloudcap10 / haproxy.cfg
Last active February 27, 2021 11:49 — forked from T0MM0R/haproxy.cfg
Let's Encrypt Auto-Renewal script for HTTP and TCP Proxy using HAProxy
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
stats socket /run/haproxy/admin.sock mode 660 level admin
stats timeout 30s
user haproxy
group haproxy
daemon
maxconn 2048
@cloudcap10
cloudcap10 / gist:ecf43a5649bb423fa9696845d1c3792d
Created March 6, 2021 14:08 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: