Skip to content

Instantly share code, notes, and snippets.

View NoDataFound's full-sized avatar
💭
█▬█ ▞▚匚🄺 █ █▀█₲

Corian (Cory) Kennedy NoDataFound

💭
█▬█ ▞▚匚🄺 █ █▀█₲
View GitHub Profile
#!/bin/bash
# Ensure the script runs as root.
if [ "$EUID" -ne 0 ]; then
exec sudo "$0" "$@"
fi
BASE_BACKUP="Flipper/backups"
SOURCE_DIR="/Volumes/Flipper"
DATE=$(date +%Y-%m-%d)
TIME=$(date +%H%M%S)
@NoDataFound
NoDataFound / strike.png
Last active March 26, 2025 15:48
STRIKE
strike.png
@NoDataFound
NoDataFound / dfi.sh
Created February 1, 2025 04:34
This script provides an easy way to install, update, or uninstall Decky FrameGen on the Steam Deck until it becomes officially available in the Decky Loader Store. Why? Decky FrameGen is currently not in the store, so this temporary solution makes installation seamless without manual file management.
#!/bin/bash
# Define variables
DECKY_LOADER_URL="https://github.com/SteamDeckHomebrew/decky-loader/releases/latest/download/decky_installer.desktop"
FRAMEGEN_RELEASE_API="https://api.github.com/repos/xXJSONDeruloXx/Decky-Framegen/releases/latest"
DOWNLOADS_DIR="$HOME/Downloads"
PLUGINS_DIR="$HOME/homebrew/plugins"
FRAMEGEN_FOLDER="$PLUGINS_DIR/decky-framegen"
DECKY_INSTALLER="$DOWNLOADS_DIR/decky_installer.desktop"
INSTALLED_VERSION_FILE="$FRAMEGEN_FOLDER/version.txt"
@NoDataFound
NoDataFound / gist:0bb3ca3d3cb1bb4b92698e708eb08918
Created June 12, 2024 16:16
gitleaks scan to csv one liner
gitleaks detect --source . -v -l debug -r "git_sh1t.json" -f json | echo "Commit,File,Match,Author,Email,Date" > git_sh1t.csv && jq -r '.[] | "\(.Commit),\(.File),\(.Match),\(.Author),\(.Email),\(.Date)"' git_sh1t.json | sort | uniq >> git_sh1t.csv
@NoDataFound
NoDataFound / gist:6e8499d0dba947379da2503d2ba60890
Created June 14, 2023 15:10
simple python progress monitor
import os
import json
# define progress file
progress_file = 'progress.json'
# read progress file to find place
if os.path.isfile(progress_file):
with open(progress_file, 'r') as progress_file:
progress = json.load(progress_file)
@NoDataFound
NoDataFound / SSC_Dork.py
Created March 16, 2023 10:18
SSC_Dork.py
# `SSC Portfolio` + `response['entries']['domain']` + `Google Dorks`
#filetype:pdf confidential site:portfolio_id+Domains
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import requests
from dotenv import load_dotenv
import os
from prettytable import PrettyTable
import bs4
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
@NoDataFound
NoDataFound / gist:12e299a6f928a6d1e79f828ebdca8e2f
Created November 12, 2020 21:11
"Magecart Group 12: End of Life Magento Sites Infested with Ants and Cockroaches" https://community.riskiq.com/article/fda1f967
#API Documentation: https://api.riskiq.net/api/articles/
#Command to pull IoC's for "Magecart Group 12: End of Life Magento Sites Infested with Ants and Cockroaches"
curl -u <RiskIQ_Email>:<APIKey> 'https://api.riskiq.net/pt/v2/articles/indicators?articleGuid=fda1f967' | jq '.indicators[] .value'
#Documentation https://api.riskiq.net/api/articles/#!/default/get_pt_v2_articles_indicators
#THREAT INTEL INDICATORS for #Ryuk
#Just replace the $USERNAME:$KEY below with values from your riskiq account.
#API values for your account live here: https://community.riskiq.com/settings
curl -u $USERNAME:$KEY 'https://api.riskiq.net/pt/v2/articles/indicators?articleGuid=0bcefe76' | jq '.indicators[] .value'

Keybase proof

I hereby claim:

  • I am nodatafound on github.
  • I am corykennedy (https://keybase.io/corykennedy) on keybase.
  • I have a public key ASDdr_jvGm8SBkyW6ycdJriDCGxj8VDXYraFAGTyIQw07Ao

To claim this, I am signing this object: