Skip to content

Instantly share code, notes, and snippets.

View wtfiwtz's full-sized avatar

Nigel Sheridan-Smith wtfiwtz

View GitHub Profile
@wtfiwtz
wtfiwtz / cleanup-github-secrets.rb
Last active June 7, 2024 05:24
Clean up Github Advanced Security secret scanning results
require 'json'
require 'uri'
require 'net/http'
require 'net/http/post/multipart'
require 'amazing_print'
# require 'http-cookie'
COOKIE_PART = "_octo=; preferred_color_mode=; tz=; _device_id=; has_recent_activity=1; saved_user_sessions=; user_session=; __Host-user_session_same_site=; color_mode=; logged_in=yes; dotcom_user=; "
COOKIE = "_gh_sess="
SECRET_TYPE = "email_addresses"
@wtfiwtz
wtfiwtz / block-symbio-networks.txt
Last active September 23, 2023 07:23
Blocking Symbio Networks in Australia - the source of most of the spam, scam and abuse calls
Import this list into an app like "Number Shield" that can block whole number ranges
https://apps.apple.com/au/app/number-shield/id1319082167
https://www.kinnamansoftware.com/number-shield
Full number database for Australia - downloadable from https://www.thenumberingsystem.com.au/#!/number-register/search
I haven't tested this yet, but going to very soon now!
02 3813 7xxx
02 3813 9xxx