This file contains hidden or 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
import random | |
def sPongEbOb_iT(data): | |
return "".join([random.choice([s, s.upper()]) for s in data]) |
This file contains hidden or 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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
This file contains hidden or 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
/^(-----BEGIN PGP PUBLIC KEY BLOCK-----).*([a-zA-Z0-9//\n\/\.\:\+\ \=]+).*(-----END PGP PUBLIC KEY BLOCK-----)$|^(-----BEGIN PGP PRIVATE KEY BLOCK-----).*([a-zA-Z0-9//\n\/\.\:\+\ \=]+).*(-----END PGP PRIVATE KEY BLOCK-----)$/ |
This file contains hidden or 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
{ | |
"_heading":[["OCT", "HEX", "BIN", "Symbol", "Description"]], | |
"ASCII":[ | |
["000", "00", "00000000", "NUL", "Null char"], | |
["001", "01", "00000001", "SOH", "Start of Heading"], | |
["002", "02", "00000010", "STX", "Start of Text"], | |
["003", "03", "00000011", "ETX", "End of Text"], | |
["004", "04", "00000100", "EOT", "End of Transmission"], | |
["005", "05", "00000101", "ENQ", "Enquiry"], | |
["006", "06", "00000110", "ACK", "Acknowledgment"], |
This file contains hidden or 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
$('textarea').on('keydown', function(e){ | |
console.log(e.keyCode); | |
if( e.keyCode == 90 ){ | |
e.preventDefault(); | |
$(this).append('y').focus(); | |
} | |
if( e.keyCode == 89 ){ | |
e.preventDefault(); | |
$(this).append('z').focus(); |
This file contains hidden or 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
import re | |
import time | |
import urllib.request | |
import _thread | |
paths = ["/Login/Admin", "/UserLogin", "/acceso.asp", "/acceso.aspx", "/acceso.brf", "/acceso.cfm", "/acceso.cgi", "/acceso.js", "/acceso.php", "/access", "/access.asp", "/access.aspx", "/access.php", "/account.asp", "/account.aspx", "/account.brf", "/account.cfm", "/account.cgi", "/account.html", "/account.js", "/account.php", "/accounts", "/accounts.asp", "/accounts.aspx", "/accounts.php", "/adm", "/adm.asp", "/adm.aspx", "/adm.brf", "/adm.cfm", "/adm.cgi", "/adm.html", "/adm.js", "/adm.php", "/adm/admloginuser.asp", "/adm/admloginuser.aspx", "/adm/admloginuser.brf", "/adm/admloginuser.cfm", "/adm/admloginuser.cgi", "/adm/admloginuser.js", "/adm/admloginuser.php", "/adm/index.asp", "/adm/index.aspx", "/adm/index.brf", "/adm/index.cfm", "/adm/index.cgi", "/adm/index.html", "/adm/index.js", "/adm/index.php", "/adm_auth.asp", "/adm_auth.aspx", "/adm_auth.brf", "/adm_auth.cfm", "/adm_auth.cgi", "/adm_auth.js", "/adm_auth.php", "/admin", "/admin-login.a |
This file contains hidden or 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
import re | |
import nmap | |
""" | |
name: nmap_profile.py | |
author: bryan angelo | |
description: A collection of Nmap scan profiles for python-nmap. | |
""" | |
nmap_profiles = { |
This file contains hidden or 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
# keydown data from the web | |
# http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes | |
map = | |
backspace: 8 | |
tab: 9 | |
enter: 13 | |
shift: 16 | |
ctrl: 17 |
This file contains hidden or 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
''' | |
written by: Bryan Angelo | |
''' | |
def fibCount(nth=0,ntp=0,sus=False): # where / limit / yield | |
# infinite loop | |
A,B = 1,1 | |
nth_ = 0 | |
while 1: | |
if bool(nth): # last number of specific iteration limit |
This file contains hidden or 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
sorted_geo = [] | |
def Geolocation_sorter(geo_info): # arg={COUNTRY:'',LNG:'',LAT:''} | |
if not bool(sorted_geo): # if empty | |
sorted_geo.append(geo_info) | |
return | |
i = 0 | |
while i < len(sorted_geo): | |
if (float(geo_info["LNG"]) >= float(sorted_geo[i]["LNG"]) and float(geo_info["LNG"]) <= float(sorted_geo[:i+1][0]["LNG"])): | |
sorted_geo.insert(i+1, geo_info) |