[tor-commits] [flashproxy/master] Add ptclient shell script to run a managed transport from the command line.

dcf at torproject.org dcf at torproject.org
Wed Jan 30 05:11:38 UTC 2013


commit 8101833b81fdf42bb0a6f4dc33891059e365807a
Author: David Fifield <david at bamsoftware.com>
Date:   Sun Nov 11 20:15:37 2012 -0800

    Add ptclient shell script to run a managed transport from the command line.
    
    ./ptclient ./websocket-client --socks=:5000
---
 websocket-transport/ptclient |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/websocket-transport/ptclient b/websocket-transport/ptclient
new file mode 100755
index 0000000..578c4ba
--- /dev/null
+++ b/websocket-transport/ptclient
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Fakes a Tor pluggable transports client environment.
+
+export TOR_PT_MANAGED_TRANSPORT_VER="1"
+export TOR_PT_CLIENT_TRANSPORTS="*"
+
+exec $@





More information about the tor-commits mailing list