mirror of
https://github.com/tj/n.git
synced 2024-11-22 19:57:54 +01:00
13 lines
412 B
Plaintext
13 lines
412 B
Plaintext
|
#!/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
|