zoukankan      html  css  js  c++  java
  • 编译安装 proxychains-ng proxychains4

    下载

    [root@localhost html]# git clone https://github.com/rofl0r/proxychains-ng.git

    编译安装

    [root@localhost html]# cd proxychains-ng/
    [root@localhost proxychains-ng]# ls
    AUTHORS  configure  COPYING  Makefile  README  src  tests  TODO  tools  VERSION
    [root@localhost proxychains-ng]# ./configure --prefix=/usr --sysconfdir=/etc
    checking whether we have GNU-style getservbyname_r() ... yes
    checking whether we have pipe2() and O_CLOEXEC ... yes
    checking whether $CC defines __APPLE__ ... no
    checking whether $CC defines __FreeBSD__ ... no
    checking whether $CC defines __OpenBSD__ ... no
    checking whether $CC defines __sun ... no
    checking whether we can use -Wl,--no-as-needed ... yes
    checking what's the option to use in linker to set library name ... --soname
    Done, now run make && make install
    [root@localhost proxychains-ng]# make
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/nameinfo.o src/nameinfo.c
    printf '#define VERSION "%s"
    ' "$(sh tools/version.sh)" > src/version.h
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/version.o src/version.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/core.o src/core.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/common.o src/common.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/libproxychains.o src/libproxychains.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/allocator_thread.o src/allocator_thread.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/ip_type.o src/ip_type.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/hostsreader.o src/hostsreader.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/hash.o src/hash.c
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/debug.o src/debug.c
    cc -fPIC -Wl,--no-as-needed -ldl -lpthread -Wl,--soname,libproxychains4.so  
        -shared -o libproxychains4.so src/nameinfo.o src/version.o src/core.o src/common.o src/libproxychains.o src/allocator_thread.o src/ip_type.o src/hostsreader.o src/hash.o src/debug.o 
    cc -DSUPER_SECURE -DHAVE_GNU_GETSERVBYNAME_R -DHAVE_PIPE2 -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe   -DLIB_DIR="/usr/lib" -DSYSCONFDIR="/etc" -DDLL_NAME="libproxychains4.so"  -fPIC -c -o src/main.o src/main.c
    cc src/main.o src/common.o  -o proxychains4
    [root@localhost proxychains-ng]# make install
    ./tools/install.sh -D -m 644 libproxychains4.so /usr/lib/libproxychains4.so
    ./tools/install.sh -D -m 755 proxychains4 /usr/bin/proxychains4
    [root@localhost proxychains-ng]# make install-config
    ./tools/install.sh -D -m 644 src/proxychains.conf /etc/proxychains.conf

    配置

    /etc/proxychains.conf

    如果对你有帮助,请点击推荐!非常感谢

  • 相关阅读:
    taro clock组件
    创建taro项目
    ts声明各种变量类型
    ts的数组/元组/type/interface
    使用styled-components初始化css
    Oracle profile含义、修改、新增
    JDK bin指令
    Nginx 设置忽略favicon.ico文件的错误日志
    nginx: [error] CreateFile() "D: ginx-1.14.2/logs/nginx.pid" failed 解决办法
    Nginx Windows详细安装部署教程
  • 原文地址:https://www.cnblogs.com/xuyaowen/p/ProxyChians4.html
Copyright © 2011-2022 走看看