Skip to content

Instantly share code, notes, and snippets.

@ed-davies
Created May 9, 2014 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ed-davies/514441d3e80c674dd414 to your computer and use it in GitHub Desktop.
Save ed-davies/514441d3e80c674dd414 to your computer and use it in GitHub Desktop.
wget without SNI
edavies@bill:~$ wget --version
GNU Wget 1.13.4 built on linux-gnu.
+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl
Wgetrc:
/etc/wgetrc (system)
Locale: /usr/share/locale
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
-DLOCALEDIR="/usr/share/locale" -I. -I../../src -I../lib
-I../../lib -D_FORTIFY_SOURCE=2 -Iyes/include -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -DNO_SSLv2
-D_FILE_OFFSET_BITS=64 -g -Wall
Link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -DNO_SSLv2
-D_FILE_OFFSET_BITS=64 -g -Wall -Wl,-Bsymbolic-functions
-Wl,-z,relro -Lyes/lib -lssl -lcrypto -lz -ldl -lz -lidn -lrt
ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.
edavies@bill:~$ ldd $(which wget)
linux-gate.so.1 => (0x00d4d000)
libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0x0087d000)
libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0x00b0c000)
libidn.so.11 => /usr/lib/i386-linux-gnu/libidn.so.11 (0x005ff000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x00844000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x0090d000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x007ed000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x003f8000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x00339000)
/lib/ld-linux.so.2 (0x00476000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment