This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TCP_All Parser | |
cat tcp.gnmap | grep Ports: | awk '{for (i=4;i<=NF;i++) {split($i,a,"/");if (a[2]=="open") printf "T:%s\n",a[1];} print ""}' | sed -e 's/,//' | tee NMAP-Ports.txt | |
#UDP_All Parser | |
cat udp.gnmap | grep Ports: | awk '{for (i=4;i<=NF;i++) {split($i,a,"/");if (a[2]=="open") printf "U:%s\n",a[1];} print ""}' | sed -e 's/,//' | tee -a NMAP-Ports.txt | |
#Sort List for unique values | |
sort -u ./NMAP-Ports.txt | tee NMAP-Ports_uniq.txt | |
#convert Multiline to Comma Seperated list for input into nmap portlist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am lordkiba on github. | |
* I am kiba (https://keybase.io/kiba) on keybase. | |
* I have a public key ASCSmNeqZwE-XNUX6A5w7PMJub7DTrRuiWZ3Xii_ZeP_nAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
After purchasing a Bundle from humble bundle, navigate to the orders purchase page for that bundle. | |
Open a console window for the page (Ctrl+Shift+J on Win or Linux and ⌥ + ⌘ + J on Mac) and paste | |
the below script into the window and press enter to start downloading. | |
This fork downloads all formats and supplements. | |
note that if you are in chrome, chrome will not download the pdfs for you by default, to fix this | |
type “about:plugins” in the address bar and disable chrome's pdf viewer or modify your content settings from | |
Advances settings to have chrome download the PDFs directly rather than opening in a new tab. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# patch adb to: | |
# 1. use busybox to set the same terminal size | |
# 2. change directory to /data/local/tmp automatically | |
# | |
# NOTE: needs an executable busybox in /data/local/tmp | |
# | |
# Joshua J. Drake - jduck | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get-hash | |
{ | |
<# | |
.SYNOPSIS | |
Creates hashes of string input | |
.DESCRIPTION | |
Get-hash is used to generate a hash value based upon string input. outbpt methods include MD5, SHA1, SHA256,SH 384, SHA512, RACE Integrity Primitives Evaluation Message Digest 160, and Mac Triple DES. | |
.PARAMETER algorithm |