__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl # 19.6.1998, Sampo Kellomaki <[email protected]> # 31.3.1999, Upgraded to OpenSSL-0.9.2b, --Sampo # 31.7.1999, Upgraded to OpenSSL-0.9.3a, fixed depending on symlinks # (thanks to schinder@@pobox_.com) --Sampo # 7.4.2001, Upgraded to OpenSSL-0.9.6a --Sampo # 9.11.2001, EGD patch from Mik Firestone <mik@@speed.stdio._com> --Sampo # # Make a self signed cert use strict; use warnings; use File::Copy; use File::Spec::Functions qw(catfile); my $dir = shift || usage(); my $exe_path = shift || '/usr/local/ssl/bin/openssl'; my $egd = defined( $ENV{EGD_POOL} ) ? "-rand $ENV{EGD_POOL}" : ''; my $conf = catfile($dir, 'req.conf'); my $key = catfile($dir, 'key.pem' ); my $cert = catfile($dir, 'cert.pem'); open (REQ, "|$exe_path req -config $conf " . "-x509 -days 3650 -new -keyout $key $egd >$cert") or die "cant open req. check your path ($!)"; print REQ <<DISTINGUISHED_NAME; XX Net::SSLeay test land Test City Net::SSLeay Organization Test Unit 127.0.0.1 sampo\@iki.fi DISTINGUISHED_NAME ; close REQ; system "$exe_path verify $cert"; # Just to check # Generate an encrypted password too system "$exe_path rsa -in $key -des -passout pass:secret -out $key.e"; ### Prepare examples directory as certificate directory my $hash = `$exe_path x509 -inform pem -hash -noout <$cert`; chomp $hash; my $hash_file = catfile($dir, "$hash.0"); unlink $hash_file; copy($cert, $hash_file) or die "Can't symlink $dir/$hash.0 ($!)"; sub usage { die "Usage: $0 DIR [PATH_TO_OPENSSL]"; }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bio.pl | File | 1.18 KB | 0644 |
|
| bulk.pl | File | 1.91 KB | 0755 |
|
| callback.pl | File | 3.12 KB | 0755 |
|
| cb-testi.pl | File | 548 B | 0644 |
|
| cli-cert.pl | File | 3.72 KB | 0644 |
|
| ephemeral.pl | File | 553 B | 0644 |
|
| get_authenticated_page.pl | File | 730 B | 0755 |
|
| get_page.pl | File | 507 B | 0755 |
|
| get_page_cert.pl | File | 966 B | 0644 |
|
| https-proxy-snif.pl | File | 4.44 KB | 0755 |
|
| makecert.pl | File | 1.5 KB | 0755 |
|
| minicli.pl | File | 1.31 KB | 0755 |
|
| passwd-cb.pl | File | 809 B | 0644 |
|
| req.conf | File | 1.2 KB | 0644 |
|
| server_key.pem | File | 963 B | 0644 |
|
| ssl-inetd-serv.pl | File | 1.6 KB | 0755 |
|
| ssl_diff.pl | File | 631 B | 0755 |
|
| sslcat.pl | File | 526 B | 0755 |
|
| sslecho.pl | File | 3.07 KB | 0755 |
|
| stdio_bulk.pl | File | 2.53 KB | 0755 |
|
| tcpcat.pl | File | 422 B | 0755 |
|
| tcpecho.pl | File | 1.77 KB | 0755 |
|
| x509_cert_details.pl | File | 10.31 KB | 0755 |
|