Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Keepin' cool

Evan defparam

😎
Keepin' cool
View GitHub Profile
@defparam
defparam / flexdump
Created Jun 17, 2021
Flexdump - A script that wraps flexdecrypt to dump, decrypt, re-sign, re-package iOS apps
View flexdump
#!/bin/bash
# Copyright 2021 Evan Custodio (@defparam)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
@defparam
defparam / cluster.py
Last active Dec 2, 2021
Gist of the Day: Turbo Intruder Cluster Bomb with SmartFiltering
View cluster.py
# Gist of the Day: Turbo Intruder Cluster Bomb with SmartFiltering
# Author: Evan Custodio (@defparam)
#
# MIT License
# Copyright 2021 Evan Custodio
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
@defparam
defparam / fuzz.py
Created Mar 13, 2021
Differential Fuzzing of Regex using Atheris
View fuzz.py
import sys, re
import atheris
from urllib.parse import urlparse
# Our sketchy regex to be tested
OurRegex = re.compile(b"^(((([A-Za-z0-9.-]*\.)?example1\.com)|(([A-Za-z0-9.-]*\.)\?example2\.com)|(([A-Za-z0-9.-]*\.)?example3\.com)))")
# The allow list of domains the regex is trying to validate
Allowlist = [b"example1.com", b"example2.com", b"example3.com"]
@defparam
defparam / json_fuzz_poc.py
Created Mar 10, 2021
Turbo Intruder JSON Fuzzing Example using JSONAccessor
View json_fuzz_poc.py
# JSON Fuzz Proof of Concept using JSONAccessor
# Author: Evan Custodio (@defparam)
#
# MIT License
# Copyright 2021 Evan Custodio
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
View keybase.md

Keybase proof

I hereby claim:

  • I am defparam on github.
  • I am defparam (https://keybase.io/defparam) on keybase.
  • I have a public key ASDrkBWb0Uc8t3mMtD77HfzNcgQCnXVp6IdhcpjOUqxcAAo

To claim this, I am signing this object: