Skip to content

Instantly share code, notes, and snippets.

View hackerpain's full-sized avatar
🎯
popping shellz on ya box

hackerpain

🎯
popping shellz on ya box
View GitHub Profile
@hackerpain
hackerpain / concurrency.go
Created June 29, 2020 17:47 — forked from s0md3v/concurrency.go
concurrency in golang
package main
import (
"sync"
"net/http"
)
func example_function(){
// function to be run concurrently
}
javascript:(function(){document.querySelector('.bootbox').style.display="none";})()
/*
Bookmarklet to get rid of NameBio ads.
Requires some effort, to click on the bookmark, to execute the JS code.
I may port it to an extension at some point of time if the ads get more intrusive ;)
*/
@hackerpain
hackerpain / firefox.sh
Created March 21, 2020 11:25 — forked from payloadartist/firefox.sh
Enumerate sub-domains, then open them in Firefox automatically. Useful for taking a quick glance at target's assets, and make notes, while doing recon.
# cat firefox.sh >> ~/.bashrc
# Usage - subf_ff target.tld
# asset_ff target.tld
subf_ff () {
subfinder -d $1 -silent - t 100 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
}
asset_ff () {
assetfinder -subs-only $1 | httprobe -c 50 | sort -u | while read line; do firefox $line; sleep 10; done
@hackerpain
hackerpain / deploy-static-site-heroku.md
Created March 18, 2020 10:55 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions