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
Hypertext Transfer Protocol | |
GET /rootr1/MEwwSjBIMEYwRDAJBgUrDgMCGgUABBS3V7W2nAf4FiMTjpDJKg6%2BMgGqMQQUYHtmGkUNl8qJUC99BM00qP%2F8%2FUsCCwQAAAAAAURO8DYx HTTP/1.1\r\n | |
Host: ocsp.globalsign.com\r\n | |
\r\n | |
[Full request URI: http://ocsp.globalsign.com/rootr1/MEwwSjBIMEYwRDAJBgUrDgMCGgUABBS3V7W2nAf4FiMTjpDJKg6%2BMgGqMQQUYHtmGkUNl8qJUC99BM00qP%2F8%2FUsCCwQAAAAAAURO8DYx] | |
[HTTP request 1/1] | |
[Response in frame: 114] | |
Hypertext Transfer Protocol | |
HTTP/1.1 200 OK\r\n | |
Date: Thu, 13 Oct 2016 14:19:59 GMT\r\n |
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 | |
############################################################################### | |
# CONFIG | |
# AWS config | |
export AWS_SECRET_KEY="XXXX" | |
export AWS_ACCESS_KEY="XXXX" | |
export PATH=$PATH:/usr/local/aws/ec2/bin | |
export EC2_HOME=/usr/local/aws/ec2/ |
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
//-------------------------------------------------------------------------- | |
// See if a url contains http:// or https:// | |
//-------------------------------------------------------------------------- | |
if( !preg_match('/http(s?)\:\/\//i', $url) ) { | |
// URL does NOT contain http:// or https:// | |
} |