Example of AES in CBC mode with PKCS7 padding using the tiny-AES implementation of kokke.
Files needed besides the test.c found below
Once you have all the files simply run make
<# | |
.SYNOPSIS | |
Enumerates Azure resources and, if no subscription access is available, attempts to add a client secret to every application. | |
.DESCRIPTION | |
This script accepts an Azure Management API token and an optional Graph API token. | |
It first attempts to retrieve a subscription ID. | |
- If found, it enumerates Azure resources and their permissions. | |
- If not found, it uses the Graph token to enumerate all applications (via the /applications endpoint) | |
and then attempts to add a client secret to each one. |
Files needed besides the test.c found below
Once you have all the files simply run make
version: "3" | |
services: | |
wordpress: | |
container_name: 'Wordpress' | |
image: 'wordpress:latest' | |
depends_on: | |
- mysql | |
environment: | |
- WORDPRESS_DB_PASSWORD=wordpressPS | |
ports: |
#!/bin/bash | |
sed "s/<tr>//g" < $1 | sed "s/<\/tr>//g" | sed "s/<td>//g" | sed "s/<\/td>//g" | sed '/^[[:space:]]*$/d' | sed "s/<tbody>//g" | sed "s/<\/tbody>//g" | tr -d '[:blank:]' | tail -n +4 > check | |
awk ' | |
/[0-9]{2}:[0-9]{2}:[0-9]{2}\.*/ { | |
if (NR > 1) p() | |
a[i = 1] = $0 | |
next | |
} | |
{ a[++i] = $0 } | |
END { p() } |
#!/bin/bash | |
sed "s/<tr>//g" < $1 | sed "s/<\/tr>//g" | sed "s/<td>//g" | sed "s/<\/td>//g" | sed '/^[[:space:]]*$/d' | sed "s/<tbody>//g" | sed "s/<\/tbody>//g" | tr -d '[:blank:]' | sed -r '/^.{,3}$/d' | awk -F, 'length($1) < 8 { print f; print} {f=$1}' | sed "s/00://g" | tail -n +3 > tmp | |
awk 'NR % 2 == 1' tmp > times.txt | |
awk 'NR % 2 == 0' tmp > values.txt | |
rm tmp |
Gluu Server 3 | MITREid Connect | Aerobase.io | WSO2 Identity Server | Keycloak | Connect2id | pyoidc | |
---|---|---|---|---|---|---|---|
Multi-factor authentication | Yes |
#!/bin/bash | |
wget http://download.configserver.com/csf.tgz | |
tar -xzf csf.tgz | |
ufw disable #in case it is on | |
cd csf | |
sh install.sh | |
#run the test to see if it passed | |
perl /usr/local/csf/bin/csftest.pl |
#!/bin/bash | |
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get -y install docker-ce | |
sudo curl -L https://github.com/docker/compose/releases/download/1.25.0-rc4/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose |
#!/bin/bash | |
#*/5 * * * * /root/isitdone.sh | |
ps -ef | grep -v grep | grep "java" | |
if [ $? -ne 0 ]; then | |
echo "Process done" | mail -s "Process done" [email protected] | |
fi |
import thesaurus as th | |
wordlist = [] | |
with open('test.txt') as f: | |
wordlist = ([word for line in f for word in line.split()]) | |
changedw = [] | |
for word in wordlist: | |
tmpword = th.Word(word).synonyms(relevance=3) | |
if not tmpword: |