OSINTverse

otinstaller · Websites

Install HTTrack on Windows, macOS, or Linux in one command

HTTrack copies a website to your disk, following its links and rewriting them so that the copy can be browsed offline. Investigators use it to preserve a site as it was on a given day.

HTTrack in three lines

curl -fsSL https://otinstaller.com/install.sh | sh
ot install httrack
ot run httrack https://example.com -O ./mirror

On Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.

Runs httrack.com (GPL-3.0, otinstaller 0.3.0). otinstaller installs it as a system package; it does not change or audit the tool itself.

What HTTrack is for

  • Preserving a site as it was on a given day.
  • Reading a site offline, with its links rewritten to the local copy.
  • A shallow copy of the first levels only (-r2).

Run HTTrack with ot

ot run httrack passes everything after the tool's name to HTTrack unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.

Copy a site into the mirror folder.
ot run httrack https://example.com -O ./mirror
Follow links only two levels deep.
ot run httrack https://example.com -O ./mirror -r2

HTTrack sends traffic to its target, so run it only against systems you are allowed to test.

Where the results go

ot run saves nothing itself: HTTrack's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.

Before you run it

  • ot uses your system's package manager for HTTrack and shows the command before it runs it.
  • A full mirror requests every page and file. Limit the depth, and copy only sites you may copy.

Update, remove, inspect

ot info httrack              # details, and how it installs on this system
ot update httrack            # move to the version the registry pins
ot update httrack --latest   # take the newest upstream release instead
ot remove httrack            # remove it

Full reference: the otinstaller docs, HTTrack on otinstaller.com, and the tool's own project page.

Pairs with

waybackpy is a command-line interface to the Internet Archive's Wayback Machine.
gau (get all URLs) lists every URL of a domain that the Wayback Machine, Common Crawl, AlienVault OTX and urlscan have on record.
gowitness opens web pages in headless Chrome and saves a screenshot of each, with the response headers and page title.

FAQ

HTTrack with otinstaller, answered

How do I install HTTrack on Windows, macOS, or Linux?

Install ot once with the one-line script on the otinstaller page, then run ot install httrack. Ot uses the copy already on your PATH, or shows you the winget, brew, or apt command and asks before it runs it. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.

How do I run HTTrack through ot?

With ot run httrack followed by HTTrack's own arguments, for example: ot run httrack https://example.com -O ./mirror. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.

Is HTTrack part of ot scan?

No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run HTTrack on its own with ot run httrack.

Does HTTrack need an API key or a login?

ot stores no key for it. The basic run needs neither a key nor a login.

Does HTTrack send traffic to the target?

Yes. The registry lists HTTrack as active: it contacts the target directly, so run it only against systems you are allowed to test. ot prints that reminder once, and ot mcp refuses active tools unless it was started with --allow-active.