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 02:22] – [How to Use Wget] Humphrey Boa-Garttools:wget [2024/11/18 04:31] (current) – [Further Documentation] Humphrey Boa-Gart
Line 26: Line 26:
  
   wget <target url here>   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
 +
  
  
Line 37: Line 72:
 ===== Weaponized Wget ===== ===== Weaponized Wget =====
  
-[[anonymous:anonops|AnonOps]] has devised several ways to deploy Wget **offensively**. Some of these methods are outlined below:+[[anonymous:anonops|AnonOps]] has devised several ways to deploy Wget **offensively**. Some of these methods are outlined below //(more methods coming eventually)//:
  
  
Line 56: Line 91:
 ===== Further Documentation ===== ===== Further Documentation =====
  
-Run ''wget -h'' or ''man wget'' to bring up more information about Wget in your terminal.+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.  Or visit the [[https://www.gnu.org/software/wget/manual/wget.html|official site]] for even more detailed information. 
tools/wget.1731896550.txt.gz · Last modified: 2024/11/18 02:22 by Humphrey Boa-Gart

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