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
#!/bin/bash | |
# Defaults | |
CA_EXPIRY=7300 # in days | |
SUBJ_EXPIRY=730 # in days | |
KEYDIR="$HOME/.ssl/private" | |
CERTDIR="$HOME/.ssl/certs" | |
CA="localCA" | |
SUBJ="subj" | |
CA_KEYLEN=4096 |
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
#!/usr/bin/env python3 | |
# NO LONGER MAINTAINED, CURRENT CODE NOW LIVES HERE | |
# https://github.com/aurainfosec/time_http_response | |
# | |
# Measure the average delay between sending an HTTP request and receiving the response. | |
# Use for time-based attacks or just to check the server load. | |
# | |
# Features | |
# - GET with URL parameters and no body | |
# - POST with application/x-www-form-urlencoded body and no URL parameters |
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
#!/usr/bin/env python2 | |
############################################################# | |
# @AaylaSecura1138, github.com/aayla-secura | |
# Modify and distribute as you wish | |
############################################################# | |
# NO LONGER MAINTAINED: CURRENT CODE LIVES HERE: | |
# https://github.com/aurainfosec/jwt_resign_asym_to_sym | |
############################################################# | |
# Some JWT libraries are vulnerable to a known attack which changes | |
# the type of a JWT from an asymmetric (e.g. RS256) to a symmetric |
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
# Tested with GNU awk v4.2.1 and above | |
# Copyright 2021 aayla-secura | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CO |
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
# EXAMPLE USAGE | |
# import json | |
# | |
# mdorder = MagicDict() | |
# mdorder.configure( | |
# defaults={'^price$': 0, '_address$': 'No such street, PO 000'}) | |
# create a default order | |
# mdorder['price'] | |
# mdorder['shipping_address'] | |
# mdorder['billing_address'] |
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
#!/bin/bash | |
# TODO | |
# - Consolidate ports for the same host from different files | |
ONE_PER_LINE=0 | |
AS_URLS=0 | |
AS_IPS=0 | |
NO_VERSION=0 | |
SEP=" " | |
SUBSEP="," |
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
#!/usr/bin/env python3 | |
import json | |
from urllib.parse import quote, quote_plus | |
import sys | |
import os | |
import argparse | |
parser = argparse.ArgumentParser( |
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
from googleapiclient.discovery import build | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
import pickle | |
import base64 | |
import os.path | |
import sys | |
import re | |
import argparse | |
import logging |
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
#!/usr/bin/env python3 | |
############################################################# | |
# @AaylaSecura1138, github.com/aayla-secura | |
# Modify and distribute as you wish | |
############################################################# | |
import logging | |
import jwt | |
import sys | |
import argparse |
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
#!/bin/bash | |
# See -h for help | |
INTERACTIVE=1 | |
READ_ARGS=() | |
NASM_ARGS=() | |
OBJDUMP_ARGS=() | |
# Determine if interactive or stdin is redirected from file/heredoc/command | |
# output/etc |
OlderNewer