Gluu Server 3 | MITREid Connect | Aerobase.io | WSO2 Identity Server | Keycloak | Connect2id | pyoidc | |
---|---|---|---|---|---|---|---|
Multi-factor authentication | Yes |
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
#for debian systems try | |
cat /etc/*_version | |
#for red hat based | |
cat /etc/*-release | |
#other possibilities that work in multiple ones | |
cat /etc/os-release | |
lsb_release -a | |
hostnamectl |
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 | |
for method in GET HEAD POST PUT DELETE CONNECT OPTIONS TRACE; do | |
echo curl -v -X $method $1 | |
done |
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
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: |
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 | |
#*/5 * * * * /root/isitdone.sh | |
ps -ef | grep -v grep | grep "java" | |
if [ $? -ne 0 ]; then | |
echo "Process done" | mail -s "Process done" example@mail.com | |
fi |
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 | |
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 |
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 | |
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 |
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 | |
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 |
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 | |
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() } |
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
version: "3" | |
services: | |
wordpress: | |
container_name: 'Wordpress' | |
image: 'wordpress:latest' | |
depends_on: | |
- mysql | |
environment: | |
- WORDPRESS_DB_PASSWORD=wordpressPS | |
ports: |
OlderNewer