shunf4 / proxychains-windows

Windows and Cygwin port of proxychains, based on MinHook and DLL Injection
GNU General Public License v2.0
967 stars 117 forks source link

proxy配置不生效 #33

Closed Korov closed 3 years ago

Korov commented 3 years ago
[ProxyList]
socks5  127.0.0.1   1080

配置了IP地址和端口,但是使用的时候没有用我指定的端口

proxychains pipenv install
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environmen
t and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
           Building requirements...
Resolving dependencies...
[  ==] Locking...[PID34544] [I] 2021/08/16 16:11:38 Ws2_32.dll connect(980 127.0.0.1:8889 16) DIRECT
[=== ] Locking...[PID34544] [I] 2021/08/16 16:11:59 Ws2_32.dll connect(352 127.0.0.1:8889 16) DIRECT
shunf4 commented 3 years ago

日志里写得很清楚,pipenv 在尝试连接到 127.0.0.1:8889,所以走了直连。

127.0.0.1:8889 是什么?

Korov commented 3 years ago

8889 是http proxy监听的端口,socks监听的端口是1089,我配置了1089,proxychains不会强制走1089端口,而是走系统的proxy吗?

shunf4 commented 3 years ago

pipenv 的决定权也是很重要的。

如果 pipenv 本来就会识别系统配置的代理并连接到这个代理,则加上 proxychains 没有意义。

Korov commented 3 years ago

明白