Skip to content

Instantly share code, notes, and snippets.

View roycewilliams's full-sized avatar
💭
:cheeeeeese:

Royce Williams roycewilliams

💭
:cheeeeeese:
View GitHub Profile
@roycewilliams
roycewilliams / mastodon-filter-backup.sh
Last active August 5, 2023 19:31
a simple Mastodon filter JSON backup script
#!/bin/bash
# Ref/howto: https://infosec.exchange/@tychotithonus/110838547200953177
INSTANCE_NAME=inst.example
TOKEN=your-token-here
DATESTAMP=$(date "+%Y%m%d_%H%M%S")
OUTFILE="mastodon-filters_${INSTANCE_NAME}_${DATESTAMP}.json"
@roycewilliams
roycewilliams / www.www.sample.txt
Created February 26, 2023 18:01
Sample of recent cert hostnames with repeating 'www.www' DNS components
This file has been truncated, but you can view the full file.
issuer|hostname|not_before|not_after
www.www.www.www.mobile.nzurienergy.africa
www.www.secure.nzurienergy.africa
www.www.deaf.gevas.ag
www.www.straubing.gevas.ag
www.www.suedbaden.gevas.ag
www.wwwadmin.easyrecovery.agency
www.www.hub.groza.agency
www.www.client.ohm.agency
www.www.git.git.git.git.git.mysql.ohm.agency
@roycewilliams
roycewilliams / git.git.sample.txt
Created February 26, 2023 17:43
Sample of recent GitLab-related cert hostnames with repeating 'git.git' DNS components
This file has been truncated, but you can view the full file.
issuer|hostname|not_before|not_after
Let's Encrypt|gitlab.git.git.git.git.demo.post.dentistrybliss.com|1677427040|1685203039
Let's Encrypt|gitlab.gitlab.git.git.tv.1201001.ru|1677427054|1685203053
Let's Encrypt|www.gitlab.gitlab.git.git.tv.1201001.ru|1677427054|1685203053
Let's Encrypt|gitlab.gitlab.git.gitlab.staging.nastyarybka.com|1677427056|1685203055
Let's Encrypt|www.gitlab.gitlab.git.gitlab.staging.nastyarybka.com|1677427056|1685203055
Let's Encrypt|git.git.git.git.news.blog.blog.h2775398.stratoserver.net|1677427056|1685203055
Let's Encrypt|git.gitlab.git.gitlab.git.gitlab.forum.steptostep22.ru|1677426990|1685202989
Let's Encrypt|www.git.gitlab.git.gitlab.git.gitlab.forum.steptostep22.ru|1677426990|1685202989
Let's Encrypt|gitlab.gitlab.git.gitlab.owa.serov-psytherapy.ru|1677427050|1685203049
@roycewilliams
roycewilliams / scanModem.sh
Last active February 26, 2023 03:39
archive of linmodems.org scanModem.sh
#!/bin/bash
echo
NOTE=" ONLY use scanModem downloaded as: http://linmodems.technion.ac.il/packages/scanModem.gz"
UPDATE="2005_Oct_23"
cat<<END>/dev/null
Just working notes and URLs
http://linmodems.technion.ac.il/packages/smartlink/
mirror http://phep17.technion.ac.il/linmodems
@roycewilliams
roycewilliams / company-privacy-management.md
Last active February 24, 2023 07:16
opt-out company contacts and links

Opt-out company contacts and links


A list of companies associated with a variety of marketing practices that may need to be managed for seniors and other potentially vulnerable populations, including invocation of privacy, opt-out, or similar actions.


Coins / currency / metals

@roycewilliams
roycewilliams / mdxfind-empty-hashes.txt
Last active August 5, 2022 04:52
mdxfind-empty-hashes.txt
# A list of hashes for the empty string
#
# Source: https://gist.github.com/roycewilliams/e491f8db6ee388ff0c1ce71d808c191b
#
$ echo '' | mdxfind -h 'ALL' -h '!salt,!user,!crypt,!rev' -z -f /dev/null -i 1 stdin 2>&1 | egrep -v 'hashes found' | sort
Debug output - output all hashes, explore long hash chains
Iterations set to 1
Working on hash types: MD5 MD5UC MD4 MD2 WRL HAV128 SHA0 SHA1 SHA224 SHA256 SHA384 SHA512 GOST HAV256 RMD128 RMD160 TIGER TTH HAS160 EDON256 EDON512 SNE128 SNE256 MD6 MD6256 MD6512 MDC2 MD5RAW SHA224RAW SHA256RAW SHA384RAW SHA512RAW HAV128_4 HAV128_5 HAV160_3 HAV160_4 HAV160_5 HAV192_3 HAV192_4 HAV192_5 HAV224_3 HAV224_4 HAV224_5 HAV256_4 HAV256_5 BLAKE224 BLAKE256 BLAKE384 BLAKE512 BMW224 BMW256 BMW384 BMW512 CUBE224 CUBE256 CUBE384 CUBE512 ECHO224 ECHO256 ECHO384 ECHO512 FUGUE224 FUGUE256 FUGUE384 FUGUE512 GROESTL224 GROESTL256 GROESTL384 GROESTL512 HAMSI224 HAMSI256 HAMSI384 HAMSI512 JH224 JH256 JH384 JH512 SHA3-224 SHA3-256 SHA3-384 SHA3-512 LUFFA224 LUFFA256 LUFFA384 LUFFA512 PANAM
@roycewilliams
roycewilliams / hashmob-topmasks-len1-6.txt
Last active May 12, 2022 17:57
Masks from hashmob founds of length 1 through 6
### ----------------------------------------------------------------------------
### Masks from hashmob 'official' founds (not user-submitted), length 1 through 6
### Source: https://gist.github.com/roycewilliams/cc78a971da935778d5469cdaf54e8980
### As of: 2022-05-12
### Only useful for slow hashes (?a x6 can be exhausted very quickly for fast hashes),
### and so obviously only the first few % of this list will be most useful.
### ----------------------------------------------------------------------------
?l?l?l?l?l?l,10213591
?l?l?l?l?l,8150008
?l?l?l?l?d?d,3485274
@roycewilliams
roycewilliams / i18n.txt
Created May 7, 2022 16:03
i18n check - one character per many Unicode areas
À à Ā Ġ ŀ Š ƀ Ơ ǀ Ǡ Ȁ Ƞ ɀ ɠ ʀ ʠ ˀ ˠ ̀ ̠ ̀ ͠ ΀ Π π Ϡ Ѐ Р р Ѡ Ҁ Ҡ Ӏ Ӡ Ԁ Ԡ ؠ ـ ٠ ڀ ऀ ठ ी ࿀ Ⴀ Ꭰ ᐀ ᖀ   ᚠ ᛀ ᛠ ᴀ ᴠ ᵀ Ḁ Ḡ Ṁ Ṡ Ẁ Ạ Ề Ỡ ἀ ἠ ὀ ὠ ᾀ ᾠ ῀ ῠ   † ⁀ ⁠ ₀ ₠ ⃀ ⃠ ℀ ℠ ⅀ Ⅰ ↀ ↠ ⇀ ⇠ ∀ ∠ ≀ ≠ ⊀ ⊠ ⋀ ⋠ ⌀ ⌠ ⍀ ⍠ ⎀ ⎠ ⏀ ⏠ ␀ ␠ ⑀ ① ⒀ ⒠ Ⓚ ⓠ ─ ┠ ╀ ╠ ▀ ■ ◀ ◠ ☀ ☠ ♀ ♠ ⚀ ⚠ ✀ ✠ ❀ ❠ ➀ ➠ ⟀ ⟠ ⠀ ⠠ ⡀ ⡠ ⢀ ⢠ ⣀ ⣠ ⤀ ⤠ ⥀ ⥠ ⦀ ⦠ ⧀ ⧠ ⨀ ⨠ ⩀ ⩠ ⪀ ⪠ ⫀ ⫠ ⬀ ⬠ Ⱡ ⺀ ⺠ ⻀ ⻠ ⼀ ⼠ ⽀ ぀ だ ㍠ ㎀ ㎠ ㏀ 僀 僠 ꧠ 가 갠        ff ﬠ ¢ 𝌀 𝔠 𝕀 𝕠 𦤀
@roycewilliams
roycewilliams / sha384-10k-rounds-password.txt
Created March 19, 2022 18:49
The first 10,000 rounds of SHA384("password")
This file has been truncated, but you can view the full file.
# The first 10,000 rounds of SHA384("password")
# Courtesy MDXfind - https://hashes.org/mdxfind.php
# (Mirror: https://www.techsolvency.com/pub/bin/mdxfind/)
# Source: https://gist.github.com/roycewilliams/4dbc164d782e0a544aaa2f12edcda204
#
# See also: https://gist.github.com/roycewilliams/5e8d676ac4fe54fb7b6cb233b0721f57
#
$ echo -n 'password' | mdxfind -h '^SHA384$' -z -f /dev/null -i 10000 stdin 2>&1 | fgrep password | sort -tx -n -k 2 | align
SHA384x01 a8b64babd0aca91a59bdbb7761b421d4f2bb38280d3a75ba0f21f2bebc45583d446c598660c94ce680c47d19c30783a7:password
@roycewilliams
roycewilliams / sha512-10k-rounds-password.txt
Last active March 19, 2022 18:33
The first 10,000 rounds of SHA512("password")
This file has been truncated, but you can view the full file.
# The first 10,000 rounds of SHA512("password")
# Courtesy MDXfind - https://hashes.org/mdxfind.php
# (Mirror: https://www.techsolvency.com/pub/bin/mdxfind/)
# Source: https://gist.github.com/roycewilliams/9e4e58c4493a21e550b73627e5ee5340
#
# See also: https://gist.github.com/roycewilliams/5e8d676ac4fe54fb7b6cb233b0721f57
#
$ echo -n 'password' | mdxfind -h '^SHA512$' -z -f /dev/null -i 10000 stdin 2>&1 | fgrep password | sort -tx -n -k 2 | align
SHA512x01 b109f3bbbc244eb82441917ed06d618b9008dd09b3befd1b5e07394c706a8bb980b1d7785e5976ec049b46df5f1326af5a2ea6d103fd07c95385ffab0cacbc86:password
SHA512x02 afe99137967ee6f5ec8f08df89dd8076db932e13d4ca8d7b32feda3dc919ae3e1657cf30616523d28500727755eddad5a6e18fe255b407a9c5f6dd8de1a43b99:password