0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 19:57:54 +01:00
n/test/bin/proxy-run

13 lines
412 B
Plaintext
Raw Normal View History

2019-05-04 09:45:53 +02:00
#!/usr/bin/env bash
BIN_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo ""
echo "To make use of proxy server:"
echo " export https_proxy=\"$(hostname):8080\""
echo " export http_proxy=\"$(hostname):8080\""
echo " export CURL_HOME=$(dirname "${BIN_DIRECTORY}")/config"
echo ""
echo "Launching proxy server..."
mitmdump --server-replay-nopop --server-replay proxy~~.dump