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
#!/bin/bash | |
# | |
# This demonstrates using the `openssl` CLI to encrypt and decrypt data with | |
# public-key cryptography (RSA), to share data across an untrusted communication | |
# medium. | |
# | |
# Public keys that are used to encrypt cannot be used to decrypt, so they can | |
# be shared freely ("public" keys). | |
# | |
# Private keys that can decrypt data are never shared, so the data cannot be |
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
#!/bin/bash | |
########################################################### | |
# | |
# Quantify a directory of git repos by measuring LoC. | |
# Generates report for each repo, and an aggregate report. | |
# | |
########################################################### | |
REPORT_DIR="_report_cloc_$(date +'%Y%m%d%H%M')" |
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
#!/usr/bin/env python3 | |
""" | |
lxml and XXE vulnerabilities: explanation, examples, and recommendation. | |
Requirements: | |
- lxml == 4.4.1 | |
Contents: |