User Tools

Site Tools

tools:wget

This is an old revision of the document!


Table of Contents

This article was imported from the 2011 Insurgency Wiki backup, and sits here in its original crude format. It is in dire need of modernization and cleanup.

Wget

Pictured: Wget syntax usage.

Wget is a command line utility for downloading things from the internet. It is very simple to use: you feed it a URL, and it downloads it. It can download pretty much anything that your web browser can, only faster and with less overhead. Because it runs in the terminal, you can also use it on remote machines to download things where there is no browser or GUI.

However, its simplicity belies its incredible versatility. As the Insurgency Wiki once said, it is “the /i/nsurgent's Swiss army knife”. It can do all sorts of things out of the box or with minor additional scripting, including:

  • Recursive downloads.
  • Save and resume interrupted downloads.
  • Download huge images or files that would make your web browser crash.
  • Download web pages for local archival or later viewing.
  • Download whole web sites and automatically convert the links to work offline as well.
  • Downloading through proxies.
  • Forum flooding and DDOS attacks.
  • It also can be run headless if you so desire.

Since it is a very old (and lightweight) package, it is usually installed by default on most modern *nix distros, or at the very least available in their default package manager repos. Read the manual for more detailed information.

Tutorials

With a bit of imagination, brainz and RTFMing, which anon seems to have no lack of, delicious raep can be achieved.

To use wget in combination with Tor and Privoxy in their default configurations, use wget -e “http_proxy = http://ip:port/” “http://content. Slow, but anonymous.

The real raep: 666 instances of

wget --limit-rate=1 <target url here>

Just restart sometimes. What this does is downloading the target at a very low speed, so the connection stays alive for a loooong time. There's a maximum number of connections that a site can take. Using this method you can effectively raep many sites ALONE and still have enough bandwidth for BitTorrent. It has been confirmed that this even works on a 28k line.

Wget on Windows

In PowerShell, wget is aliased to Invoke-WebRequest, which provides similar functionality.

There is also a Windows port of Wget as part of the GnuWin project.

tools/wget.1731889867.txt.gz · Last modified: 2024/11/18 00:31 by Humphrey Boa-Gart

Find this page online at: https://bestpoint.institute/tools/wget