Skip to content

Instantly share code, notes, and snippets.

@chinghanho
Created June 23, 2016 03:18
Show Gist options
  • Save chinghanho/9685908268f5fd61f09b802ab5ee70ca to your computer and use it in GitHub Desktop.
Save chinghanho/9685908268f5fd61f09b802ab5ee70ca to your computer and use it in GitHub Desktop.
wget 1.18 更新

Wget漏洞(CVE-2016-4971)利用方式解析

sudo apt-get update
curl -O https://launchpad.net/wget/main/1.18/+download/wget-1.18.tar.gz
tar -zxvf wget-1.18.tar.gz
cd wget-1.18
./configure --with-ssl=openssl

The pkg-config script could not be found or is too old

Cannot find pkg-config error

$ sudo apt-get install pkg-config

configure: error: Package requirements (openssl) were not met:

No package 'openssl' found

$ sudo apt-get install libssl-dev
$ ./configure --with-ssl=openssl
$ make
$ sudo make install

/usr/local/bin/wget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment