User Tools

Site Tools

tools:wget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:wget [2024/11/18 01:17] – [Wget] Humphrey Boa-Garttools:wget [2024/11/18 04:31] (current) – [Further Documentation] Humphrey Boa-Gart
Line 1: Line 1:
 ====== Wget ====== ====== Wget ======
- 
-[{{ :tools:wget.jpg|Pictured: Wget syntax usage.}}] 
  
 **Wget** is a [[tools:bash|command line]] utility for downloading things from the internet. It is very simple to use: you feed a URL to the ''wget'' command, 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. **Wget** is a [[tools:bash|command line]] utility for downloading things from the internet. It is very simple to use: you feed a URL to the ''wget'' command, 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.
Line 16: Line 14:
   * It also can be run [[wp>Headless_software|headless]] if you so desire.   * It also can be run [[wp>Headless_software|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 is available in their default [[tools:package-manager|package manager]] repos. Read [[https://www.gnu.org/software/wget/manual/wget.html|the manual]] for more detailed information.+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 is available in their default [[tools:package-manager|package manager]] repos.
  
  
-===== 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 [[tools:tor|Tor]] and [[tools:privoxy|Privoxy]] in their default configurations, use ''wget -e "http_proxy http://ip:port/" "http://content"''. Slow, but anonymous.+===== How to Use Wget =====
  
-The real raep666 instances of+[{{ :tools:wget.jpg|Pictured: Wget syntax usage.}}] 
 + 
 +Basic usage is simple. Just run: 
 + 
 +  wget <target url here> 
 + 
 + 
 +==== Rename Downloaded Files ==== 
 + 
 +To save the file you are downloading under a new name, use the ''-O'' flag: 
 + 
 +  wget -O newfilename.zip https://domain.com/oldfilename.zip 
 + 
 + 
 +==== Download Multiple Files ==== 
 + 
 +To provide Wget with a list of files to download, create a TXT file with one target per line, then run Wget with the ''-i'' flag: 
 + 
 +  wget -i /path/to/txtfile.txt 
 + 
 + 
 +==== Download Whole Sites ==== 
 + 
 +Use the following flags to have Wget crawl and download an entire site: 
 + 
 +  wget -mpEk <target url here> 
 + 
 + 
 + 
 + 
 +==== Wget with FTP ==== 
 + 
 +Wget supports downloading files from FTP servers, like so: 
 + 
 +  wget ftp://user:password@host/path 
 +  
 +If the FTP server is running on a non-standard port, you can specify it like this: 
 + 
 +  wget ftp://user:password@host:port/path 
 + 
 + 
 + 
 +==== Wget with Proxies ==== 
 + 
 +To use wget in combination with [[tools:tor|Tor]] or [[tools:privoxy|Privoxy]] in their default configurations, use: 
 + 
 +  wget -e "http_proxy = http://ip:port/" <target url here> 
 + 
 + 
 +===== Weaponized Wget ===== 
 + 
 +[[anonymous:anonops|AnonOps]] has devised several ways to deploy Wget **offensively**. Some of these methods are outlined below //(more methods coming eventually)//: 
 + 
 + 
 +==== Bandwidth Drain Attacks ====
  
   wget --limit-rate=1 <target url here>   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.+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 drain the bandwidth of many sites solo. It has been confirmed that this even works on a 28k line. 
  
 ===== Wget on Windows ===== ===== Wget on Windows =====
Line 36: Line 87:
  
 There is also a Windows port of Wget as part of the [[https://gnuwin32.sourceforge.net/packages/wget.htm|GnuWin]] project. There is also a Windows port of Wget as part of the [[https://gnuwin32.sourceforge.net/packages/wget.htm|GnuWin]] project.
 +
 +
 +===== Further Documentation =====
 +
 +Run ''wget -h'' or ''man wget'' to bring up more information about Wget's available options in your terminal.
 +
 +Or visit the [[https://www.gnu.org/software/wget/manual/wget.html|official site]] for even more detailed information. 
  
  
 {{tag>Tools}} {{tag>Tools}}
tools/wget.1731892643.txt.gz · Last modified: 2024/11/18 01:17 by Humphrey Boa-Gart

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