Application Security Testing Playlist.
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/python | |
# vim: fileencoding=utf-8 | |
# SPDX-License-Identifier: MIT | |
u"""Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- |
All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_, and this project adheres to `Semantic Versioning`_.
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 node | |
// SPDX-License-Identifier: MIT | |
// Decode binary from base64 | |
const fs = require("fs"); | |
const process = require("process"); | |
const util = require("util"); | |
process.argv.forEach(function (val, index, array) { | |
const txt = fs.readFileSync(val); | |
const bin = Buffer.from(txt,'base64').toString(); |
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
# Copyright (c) 2020 Lucas Ramage <[email protected]> | |
# SPDX-License-Identifier: UPL-1.0 | |
# Create generic three-node cluster | |
# Based on: https://github.com/oracle/vagrant-projects/blob/master/Kubernetes/Vagrantfile | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" |
This is a work in progress.
Note: this requires software in the edge repository.
apk upgrade
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
# SPDX-License-Identifier: MIT | |
FROM alpine:latest | |
# Install nginx and enable gzip compression | |
RUN apk update && \ | |
apk upgrade && \ | |
apk add nginx && \ | |
mkdir -p /run/nginx && \ | |
touch /run/nginx/nginx.pid && \ | |
sed -i 's/#gzip on;/gzip on;/g' /etc/nginx/nginx.conf |