Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
popping shellz on ya box

hackerpain

🎯
popping shellz on ya box
View GitHub Profile
@hackerpain
hackerpain / concurrency.go
Created Jun 29, 2020 — forked from s0md3v/concurrency.go
concurrency in golang
View concurrency.go
package main
import (
"sync"
"net/http"
)
func example_function(){
// function to be run concurrently
}
View nbAdBypass.js
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 Mar 21, 2020 — 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.
View firefox.sh
# 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 Mar 18, 2020 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku
View deploy-static-site-heroku.md

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