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
Agostini | |
Aiello | |
Albanese | |
Amato | |
Antonelli | |
Arena | |
Baldi | |
Barbieri | |
Barone | |
Basile |
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
abaco | |
abbondanza | |
abbondanzia | |
abbondanzio | |
abbondazio | |
abbondia | |
abbondina | |
abbondio | |
abdenago | |
abdon |
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
package com.mycompany.ssl; | |
import java.net.Socket; | |
import java.security.Principal; | |
import java.security.PrivateKey; | |
import java.security.cert.X509Certificate; | |
import java.util.List; | |
import javax.annotation.Nullable; | |
import javax.net.ssl.X509KeyManager; |
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
package com.mycompany.ssl; | |
import java.security.cert.CertificateException; | |
import java.security.cert.X509Certificate; | |
import java.util.List; | |
import javax.net.ssl.X509TrustManager; | |
import com.google.common.collect.ImmutableList; | |
import com.google.common.collect.Iterables; |
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
private static OkHttpClient getUnsafeOkHttpClient() throws KeyManagementException, NoSuchAlgorithmException { | |
// Create a trust manager that does not validate certificate chains | |
final TrustManager[] trustAllCerts = new TrustManager[] { | |
new X509TrustManager() { | |
@Override | |
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) { | |
} | |
@Override |
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 java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.security.KeyManagementException; | |
import java.security.KeyStore; | |
import java.security.KeyStoreException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SecureRandom; | |
import java.security.UnrecoverableKeyException; | |
import java.security.cert.CertificateException; |
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 javax.crypto.Cipher; | |
import java.security.NoSuchAlgorithmException; | |
public class KeyLengthDetector { | |
public static void main(String[] args) { | |
int allowedKeyLength = 0; | |
try { | |
allowedKeyLength = Cipher.getMaxAllowedKeyLength("AES"); | |
} catch (NoSuchAlgorithmException e) { |
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
frontend ssl | |
mode tcp | |
bind 0.0.0.0:443 name frontend-ssl | |
option tcplog | |
log global | |
tcp-request inspect-delay 3s | |
tcp-request content accept if { req.ssl_hello_type 1 } | |
use_backend main-ssl if { req.ssl_hello_type 1 } | |
use_backend ssh if !{ req.ssl_hello_type 1 } { payload(0,7) -m bin 5353482d322e30 } | |
use_backend openvpn if !{ req.ssl_hello_type 1 } !{ req.len 0 } |
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
port=9999 | |
proxy=myproxy | |
proxy_port=8080 | |
dest=myserver | |
dest_port=443 | |
ssh -D $port user@$dest -o "ProxyCommand corkscrew $proxy $proxy_port $dest $dest_port proxy.auth" |
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
#IP | |
<FilesMatch "\.php$"> | |
SetHandler "proxy:fcgi://localhost:9000" | |
</FilesMatch> | |
DirectoryIndex index.html index.php | |
#UNIX SOCKET | |
<FilesMatch "\.php$"> | |
SetHandler "proxy:unix:/var/run/php-fpm/php-fpm.sock|fcgi://localhost/" | |
</FilesMatch> |
OlderNewer