@@ -1,6 +1,6 @@
CFLAGS=-g -Wall
-TARGETS= testget
+TARGETS= socks
all: $(TARGETS)
@@ -9,6 +9,9 @@ rclient.o ptwist168.o testget.o:: ptwist.h
testget: testget.c rclient.o ptwist168.o ptwist.h
gcc -g -o $@ $^ -I/home/sltiheen/Downloads/include/openssl libssl.a libcrypto.a -ldl
+socks: socks5proxy.c
+ gcc -o $@ $^ -lpthread -lssl -lcrypto
+
clean:
-rm *.o
@@ -0,0 +1,18 @@
+To install:
+make openssl (cbocovic/slitheen version)
+copy path to include files and libraries to makefile
+make phantomjs (cbocovic/slitheen version)
+move it to this directory
+run make
+make
+To run:
+$./socks
+$./ous.sh
+set web browser proxy to send to localhost:1080
@@ -0,0 +1,10 @@
+#!/bin/bash
+count=0
+while true
+do
+ count=$((count+1))
+ echo "Calling phantomJS fr the $count th time"
+ ./phantomjs --ssl-callbacks=slitheen --ssl-protocol=tlsv1.2 --ssl-ciphers=DHE-RSA-AES256-GCM-SHA384 loadpage.js > out-$count-put.out
+done
@@ -0,0 +1,9 @@
+open slitheen-proxy.c and change the MAC address to your client machine
+make openssl
+copy libraries and include directories into makefile
+./slitheen-proxy [interface to client] [interface to world]