Skip to content

Instantly share code, notes, and snippets.

@billfitzgerald
billfitzgerald / move_me.py
Last active July 30, 2024 13:16
Short script to move files generated by an automated process. For example, a Raspberry Pi can mount a remote directory vis sshfs and then periodically copy files to a different remote location.
import glob
import os
import time
import shutil
import schedule
import sys
# this script is released into the Public Domain
# use freely, and at your own risk :)
@billfitzgerald
billfitzgerald / system_setup.md
Last active September 12, 2024 16:39
Setup steps for a fresh install on Ubuntu 24.04

I have been doing versions of this setup repeatedly over years. If I was smarter I would have written this down years ago. These steps are for Ubuntu 24.04; they should work with minimal modification for other Debian-based systems.

I'm now going to peel some grapes and make good use of all the time I just saved my future self.

This is also documented in this blog post: https://www.funnymonkey.com/2024/06/basic-setup-finally/

Update the install

sudo apt update

@billfitzgerald
billfitzgerald / merge_pdf.py
Created January 30, 2024 18:47
Simple ugly script to merge pdfs - while pdfs are the Devil's Own Format, they are useful on occasion
from pypdf import PdfMerger
pdfs = ['pdf_1.pdf', 'pdf_2.pdf'] # pdfs to be merged, in order
output_name = 'merged_pdf' # filename of the merged pdfs
merger = PdfMerger()
for pdf in pdfs:
merger.append(pdf)
@billfitzgerald
billfitzgerald / GoogleHackMasterList.txt
Created June 9, 2023 16:31 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
#!/usr/bin/env python3
# Script: mobile-app-cves.py
# Author: Corey Garst
# Description: This script downloads the NIST NVD feed and extracts a list of Android & iOS app CVEs into an HTML report.
import datetime
import io
import json
import sys
import urllib.request
@billfitzgerald
billfitzgerald / GoogleDorking.md
Last active July 10, 2023 13:50 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@billfitzgerald
billfitzgerald / coursehero_signup.md
Last active February 4, 2022 07:46
List of domains contacted when signing up for a student account on CourseHero.

Testing Summary

This proxy scan captured traffic taken when signing up for a student account on CourseHero.

During testing, 37 domains were contacted. 36 domains were controlled by 22 organizations. Organizations contacted include:

  • Amazon Technologies, Inc.
  • Amplitude
  • Apple Inc.
fying pathways to harmful groups about nudity
Identifying pathways to harmful
groups about nudity
A key component of the Drebbel system is to discover pathways to harmful entities a user might
take when engaging with our recommendation surfaces. As part of this effort, we have built a
workflow to identify entities that act as gateways to recognized harmful entities. In this note, we
apply this workflow to focus on groups considered harmful due to nudity and sexual activity.
» Community Standards Feedback
>. &
Policy for Misinformation - Climate Change Denial?
I'm writing to find out if we have a policy regarding Climate Change denial, specifically
human involvement towards climate change. Is this covered in our misinformation
enforcement of inform treatments and downranking? I'm wondering because this is science-
» FCU Feedback & XFN (FIT, UIP, Content Understanding) ae
FIT subtopic (climate science, climate change & global warming, earth science etc. )
guidelines for content classification
nat we are doing -
ea e from a search integrity team and working to minimize the spread of harm for climate
e topics in this H1 through SERP. We are in the very initial stage and working on ©
eloping guidelines and query sets.
» Search Integrity: XFN