Skip to content

Instantly share code, notes, and snippets.

View balook's full-sized avatar

bala manohar surya sai balook

View GitHub Profile
@balook
balook / command line tool patterns (rough)
Last active January 3, 2020 17:43
Command Line tool pattern notes notes (rough)
subfinder
findomain
findomain -t google.com -o -> this outputs the file contents to file with given file name (--help for more)
findomain -t google.com -u customized-filename.txt
aron - parameter bruteforcing
@balook
balook / one liners
Last active January 3, 2020 18:36
One Liners Mostly i use
cat asset-domains.txt | while read line; do echo $line; done
cat asset-domains.txt | while read x; do nmap -Pn $(dig +short $x | head -n1); done
cat asset-domains.txt | while read x; do <perform any function like nmap OR directory brutE OR recursive subdomains , sub bruteforc>; done
#echo xyz.google.com | rev | awk -F'.' '{print $1\.$2\.$3}' | rev
#! /bin/bash
# findomain, subfinder, crtsh, massdns,
# must include amass, bruteforcing domains , port scanning
# massdns, findomain binaries must be in /usr/local/bin
# my .bash_profile must be present
# Author oyenom
@balook
balook / data-taking
Created March 9, 2020 17:24
Taking data into stdin from using python
#! /usr/bin/env python3
import sys
import os
for line in sys.stdin.readlines():
data = line.strip()
print(data)
@balook
balook / foxy-proxy-pattern-settings
Created March 11, 2020 08:56
foxy-proxy-pattern settings
{
"import-2431382345": {
"title": "Burp_suite",
"type": 1,
"color": "#130001",
"address": "127.0.0.1",
"port": 8080,
"active": true,
"whitePatterns": [
{
@balook
balook / small-recon
Created March 11, 2020 10:14
small-recon for subdomains only
#! /bin/bash
findomain -t $1 -q | tee $1.txt
subfinder -d $1 -silent | tee -a $1.txt
#crtsh
crtsh(){
curl -s https://crt.sh/?q\=%.$1\&output\=json | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u
}
@balook
balook / small-recon
Created March 11, 2020 10:14
small-recon for subdomains only
#! /bin/bash
findomain -t $1 -q | tee $1.txt
subfinder -d $1 -silent | tee -a $1.txt
#crtsh
crtsh(){
curl -s https://crt.sh/?q\=%.$1\&output\=json | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u
}
@balook
balook / testing.md
Last active March 13, 2020 16:55
full of jokes
@balook
balook / google-scope.md
Last active March 27, 2020 14:45
google scope data
@balook
balook / github-notes.md
Last active March 27, 2020 16:23
github-notes

github dorks Notes

Dorks list from gentelman Recon

zseano dorks

 "Comapany" [keyword] => /api, /internal/api, stag, swagger,dev,corp, apikey

 "company" path:/api
 "company" extension:php