Skip to content

Instantly share code, notes, and snippets.

View m4ll0k's full-sized avatar
💭
I may be slow to respond.

m4ll0k (mallok) m4ll0k

💭
I may be slow to respond.
  • localhost
  • Italy (Rimini)
  • X @m4ll0k
View GitHub Profile
@m4ll0k
m4ll0k / readme.md
Created April 3, 2020 11:48 — forked from jimmywarting/readme.md
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@m4ll0k
m4ll0k / webarchive.sh
Created May 29, 2020 18:22
Find web-archive subdomains
# download webarchive.sh
# bash webarchive.sh example.com
curl -s 'http://web.archive.org/cdx/search/cdx?url=*.$1/*&output=json&collapse=urlkey'|jq ".[][2]"|tr '"' ' '|awk "{print $2}"|tr '://' ' '|awk '{print $2}'
@m4ll0k
m4ll0k / jsbeautify.py
Last active September 4, 2023 06:45
Javascript Beautifier with Python
# by m4ll0k
# github.com/m4ll0k
import sys
try:
import jsbeautifier
import requests
except Exception as e:
sys.exit(print("{0}.. please download this module/s".format(e)))
@m4ll0k
m4ll0k / tojson.py
Created June 1, 2020 15:48
html to json using html2json.com api
# by m4ll0k
# github.com/m4ll0k
# gist.github.com/m4ll0k
# Usage:
#------ python3 tojson.py https://www.example.com
#------ cat targets.txt | python3 tojson.py
import requests as _0x1
import sys as _0x2
@m4ll0k
m4ll0k / getpoint.py
Last active November 26, 2021 16:54
getpoint.py - Take a wordlist and generate the potential injection point for make dns bruteforce
# -----------------------------
# by m4ll0k (@m4ll0k)
# github.com/m4ll0k
# ------------------------------
# e.g:
# echo -e "test.example.com\ntest-dev.example.com\nstaging-test.example.com" > targets.txt && python3 getpoint.py targets.txt %FUZZ%
# output:
'''
%FUZZ%.test.example.com
%FUZZ%.test-dev.example.com
@m4ll0k
m4ll0k / content_discovery_all.txt
Created June 17, 2020 11:18 — forked from jhaddix/content_discovery_all.txt
a masterlist of content discovery URLs and files (used most commonly with gobuster)
This file has been truncated, but you can view the full file.
`
~/
~
ים
___
__
_
@m4ll0k
m4ll0k / all.txt
Created June 17, 2020 11:19 — forked from jhaddix/all.txt
all wordlists from every dns enumeration tool... ever. Please excuse the lewd entries =/
This file has been truncated, but you can view the full file.
.
..
........
@
*
*.*
*.*.*
🐎
# replace $mytarget with your target
gau $mytarget|egrep -iv '\.json'|grep -iE '\.js'|antiburl|awk '{print $4}' | xargs -I %% bash -c 'python3 SecretFinder.py -i %% -o cli'
# use -r option for extract anything
gau $mytarget|egrep -iv '\.json'|grep -iE '\.js'|antiburl|awk '{print $4}' | xargs -I %% bash -c 'python3 SecretFinder.py -i %% -o cli -r "$anything"'
@m4ll0k
m4ll0k / fuzz.txt
Last active June 23, 2023 05:43
fuzz wordlist
undefined
undef
null
NULL
(null)
nil
NIL
true
false
True
@m4ll0k
m4ll0k / chaos.py
Last active September 5, 2022 05:44
# github.com/m4ll0k (@m4ll0k2)
'''
Steps:
0. Make dir like chaos 'mkdir chaos'
1. Download this script in choas dir 'wget https://..'
2. Now: 'python3 choas.py |sort -u > dns_wordlist.txt'
'''