Skip to content

Instantly share code, notes, and snippets.

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

Corian (Cory) Kennedy NoDataFound

💭
█▬█ ▞▚匚🄺 █ █▀█₲
View GitHub Profile
@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:

,____
|IoT.\
___ | `
/ .-\ ./=)
| |"|_/\/|
; |-;| /_|
/ \_| |/ \ |
/ \/\( |
| / |` ) |
/ \ _/ |

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@NoDataFound
NoDataFound / dump-images.py
Created December 31, 2016 04:54 — forked from achillean/dump-images.py
Shodan script to parse out screenshot data from banners and store it in a separate directory.
#!/usr/bin/env python
# dump-images.py
#
# Extract all the image data from the banners and store them as separate images
# in a provided output directory.
#
# Example:
# shodan download --limit -1 screenshots.json.gz has_screenshot:true
# ./dump-images.py screenshots.json.gz images/