This file contains hidden or 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
| if ( $request_uri ~* (/)((php|web)?shell|conf(ig)?|crossdomain|fileditor|locus7|nstview|php(get|remoteview|writer)|r57|remview|sshphp|storm7|webadmin)(.*)(\.)(svg|png|jpe?g) ) { | |
| set $bad_request_7g 0${bad_request_7g}; | |
| } | |
| if ( $bad_request_7g = 024 ){ | |
| set $bad_request_7g 0; | |
| set $7g_drop_bad_request 0; | |
| } |
This file contains hidden or 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
| // An implementation of Jenkins's one-at-a-time hash | |
| // <http://en.wikipedia.org/wiki/Jenkins_hash_function> | |
| function hashString(key) { | |
| var hash = 0, i = key.length; | |
| while (i--) { | |
| hash += key.charCodeAt(i); | |
| hash += (hash << 10); | |
| hash ^= (hash >> 6); | |
| } |
This file contains hidden or 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
| server { | |
| listen 443; | |
| server_name example.com; | |
| error_log /var/log/nginx/example_com_error.log warn; | |
| ssl on; | |
| ssl_certificate /etc/nginx/ssl/your.crt; #certificate chains | |
| ssl_certificate_key /etc/nginx/ssl/your.key; #private key | |
This file contains hidden or 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 | |
| # generate ca.key | |
| openssl genrsa -out ca.key 4096 | |
| # generate certificate | |
| openssl req -new -x509 -key ca.key -sha256 -subj "/C=SE/ST=HL/O=Example, INC." -days 365 -out ca.cert | |
| # generate the server key | |
| openssl genrsa -out server.key 4096 | |
| # Generate the csr | |
| openssl req -new -key server.key -out server.csr -config certificate.conf |
This file contains hidden or 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
| <?php | |
| /** | |
| * Nginx Encrypted Session module | |
| * Encryption and decryption with PHP | |
| * | |
| * https://github.com/openresty/encrypted-session-nginx-module | |
| * | |
| * | |
| * User: www.sib.li | |
| * Date: 19.03.15 |
This file contains hidden or 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
| ××××××××××××××××××××××××××××××××××××× | |
| MOVED HERE: | |
| https://github.com/siberex/RestyCrypt | |
| ××××××××××××××××××××××××××××××××××××× | |
| <?php | |
| /** | |
| * Nginx Encrypted Session module | |
| * Encryption and decryption with PHP | |
| * |
This file contains hidden or 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
| Cached: <!--# echo var="date_local" --> |
This file contains hidden or 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
| // styles for this are based on Bootstrap 3.3.7 | |
| import React, { Component } from "react"; | |
| import ReactDOM from "react-dom"; | |
| import { withProps } from "recompose"; | |
| const users = [ | |
| { "name": "Homer Jay", "status": "pending" }, |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Accordions</title> | |
| <style type="text/css"> | |
| body { | |
| margin: 0 auto; | |
| max-width: 40em; | |
| width: 88%; |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>My Iframe</title> | |
| </head> | |
| <body> | |
| <button>Botão</button> | |
| <script type="text/javascript"> |