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
#!/usr/bin/php -H | |
<?php | |
function error($msg) { | |
echo "ERROR: $msg\n"; | |
exit(2); | |
} | |
$required_options = array( | |
"key", |
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
diff --git a/doc/stunnel.8 b/doc/stunnel.8 | |
index 589d968..f56f5c0 100644 | |
--- a/doc/stunnel.8 | |
+++ b/doc/stunnel.8 | |
@@ -693,6 +693,10 @@ This options has been renamed to \fInone\fR. | |
.RE | |
.RS 4 | |
.RE | |
+.IP "\fBxforwardedfor\fR = yes | no" 4 | |
+.IX Item "xforwardedfor = yes | no" |
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
diff --git a/doc/stunnel.8 b/doc/stunnel.8 | |
index b0204d6..7f46be0 100644 | |
--- a/doc/stunnel.8 | |
+++ b/doc/stunnel.8 | |
@@ -739,6 +739,10 @@ This options has been renamed to \fInone\fR. | |
.RE | |
.RS 4 | |
.RE | |
+.IP "\fBxforwardedfor\fR = yes | no" 4 | |
+.IX Item "xforwardedfor = yes | no" |
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
<?php | |
$consumerKey = CONSUMER_KEY_FROM_APPLICATION_PANEL; | |
$consumerSecret = CONSUMER_SECRET_FROM_APPLICATION_PANEL; | |
$uid = USER_PERSON_ID; | |
require 'OAuth.php'; | |
$url = 'http://opensocial.nk-net.pl/v09/social/rest/messages/@me/@self/@outbox'; | |
$consumer = new OAuthConsumer($consumerKey, $consumerSecret); |
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
diff --git a/doc/stunnel.8 b/doc/stunnel.8 | |
index 7624a27..3593f24 100644 | |
--- a/doc/stunnel.8 | |
+++ b/doc/stunnel.8 | |
@@ -753,6 +753,10 @@ This options has been renamed to \fInone\fR. | |
.RE | |
.RS 4 | |
.RE | |
+.IP "\fBxforwardedfor\fR = yes | no" 4 | |
+.IX Item "xforwardedfor = yes | no" |
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
#!/usr/bin/python | |
import sys | |
import argparse, json, base64, struct | |
import urllib2 | |
from datetime import datetime | |
LOGS = { | |
'icarus': 'https://ct.googleapis.com/icarus', | |
'pilot': 'https://ct.googleapis.com/pilot', |
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 btest; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
public class NetHttp { | |
private static void get(String u) { | |
try { | |
var url = new URL(u); |