総数:21 今日:1 昨日:0
Memorandums

もくじ

SOCKSプロキシとHTTPプロキシの違い
SOCKS4プロトコル
SOCKS Protocol Version 5 ja
SOCKS Protocol Version 5
サポートされている cURL オプション

git clone https://github.com/curl/curl.git
--socks5-hostname <ホスト[:ポート]>
--proxy-user <ユーザ:パスワード>

apt

sudo apt-config dump
/etc/apt/apt.conf
git clone https://github.com/Debian/apt.git
Acquire::socks5::proxy "socks://127.0.0.1:1080/";
Acquire::socks5h::proxy "socks://127.0.0.1:1080/";
          Acquire::https {
               Proxy::example.org "DIRECT";
               Proxy "socks5h://apt:pass@localhost:9050";
               Proxy-Auto-Detect "/usr/local/bin/apt-https-proxy-auto-detect";
               No-Cache "true";
               Max-Age "3600";
               No-Store "true";
               Timeout "10";
               Dl-Limit "42";
               Pipeline-Depth "0";
               AllowRedirect "false";
               User-Agent "My APT-HTTPS";
               SendAccept "false";
               CAInfo "/path/to/ca/certs.pem";
               CRLFile "/path/to/all/crl.pem";
               Verify-Peer "true";
               Verify-Host::broken.example.org "false";
               SSLCert::example.org "/path/to/client/cert.pem";
               SSLKey::example.org "/path/to/client/key.pem"
          };

wget

git clone https://github.com/mirror/wget
./contrib/tsocked-wget:3:# Script that executes wget using a socks proxy if the environment variable
./contrib/tsocked-wget:4:# socks_proxy is set.
./contrib/tsocked-wget:6:# The socks_proxy variable shall have one of the forms:
./contrib/tsocked-wget:7:#   socks://username:password@host:port
./contrib/tsocked-wget:8:#   socks4://username:password@host:port
./contrib/tsocked-wget:9:#   socks5://username:password@host:port

python

pip install google_oauth2_tool
pip3 install google_oauth2_tool
pip install --upgrade google-api-python-client
pip3 install google-oauth
pip3 install urllib3
python --version
python3 --version
sudo apt update 
sudo apt upgrade
cat /etc/os-release
python3 --version
sudo apt install python3
sudo apt install python
python --version
pip
sudo apt upgrade
sudo apt install python-pip
sudo apt install python3-pip
pip --version
pip3 --version
pip3 freeze
pip3 install -U requests[socks]
pip3 freeze
pip3 install PySocks
find .local/ | grep -i --color -e "python"
ls -la .local/lib/python3.6/site-packages/
find .local/lib/python3.6/site-packages/ -type f
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5h"
find .local/lib/python3.6/site-packages/ -type f | grep -i --color -e "METADATA"
openssl help
openssl version
pip3 freeze| grep -i --color -e "urllib3"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "socks5h"
gvim -f .local/lib/python3.6/site-packages/urllib3/contrib/socks.py &
pip3 show urllib3
pip3 show --vorbose urllib3
pip3 freeze
pip3 show --verbose PySocks
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "ssl"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "openssl"
find .local/lib/python3.6/site-packages/ -type f | xargs grep -ni --color -e "PROXY_TYPE_SOCKS5"

トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS