proxy: Add missing libraries

This commit is contained in:
Oleksii Shevchuk 2019-05-27 10:35:05 +03:00
parent 7df9d4a7df
commit b7f05645d6
4 changed files with 6 additions and 3 deletions

View File

@ -39,6 +39,9 @@ import urllib2
import getpass
import __future__
import netaddr
import ntlm
import http_parser
try:
import psutil
except Exception as e:

View File

@ -33,7 +33,7 @@ python -m pip install --upgrade \
rpyc==3.4.4 pyaml rsa netaddr pyyaml ecdsa idna \
paramiko pylzma pydbus python-ptrace psutil scandir \
scapy colorama pyOpenSSL python-xlib msgpack-python python-ntlm \
u-msgpack-python poster dnslib pyxattr pylibacl python-prctl \
u-msgpack-python poster dnslib pyxattr pylibacl python-prctl http_parser \
https://github.com/alxchk/tinyec/archive/master.zip \
https://github.com/CoreSecurity/impacket/archive/master.zip \
https://github.com/warner/python-ed25519/archive/master.zip \

View File

@ -9,7 +9,7 @@ PACKAGES="$PACKAGES pyaudio https://github.com/secdev/scapy/archive/master.zip c
PACKAGES="$PACKAGES https://github.com/AlessandroZ/pypykatz/archive/master.zip"
PACKAGES="$PACKAGES https://github.com/warner/python-ed25519/archive/master.zip"
PACKAGES="$PACKAGES https://github.com/alxchk/tinyec/archive/master.zip"
PACKAGES="$PACKAGES adodbapi idna wmi winkerberos"
PACKAGES="$PACKAGES adodbapi idna wmi winkerberos http_parser"
SELF=`readlink -f "$0"`
SELFPWD=`dirname "$SELF"`

View File

@ -446,7 +446,7 @@ def find_auth(proxy_info):
if proxy_info.username is None and proxy_info.password is None:
address, port = proxy_info.addr.split(':')
cred = find_first_cred(
proxy_info.schema.lower(),
proxy_info.type.lower(),
address, port
)