Skip to content

Commit

Permalink
clarify use of Invoke-WebRequestVerifyHash (#823)
Browse files Browse the repository at this point in the history
* move emond test into correct T#

* only show cleanup with inputs if there are inputs

* clarify use of Invoke-WebRequestVerifyHash

Co-authored-by: Tony M Lambert <[email protected]>
Co-authored-by: Michael Haag <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2020
1 parent 196b2ae commit db9df0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ This will run the "Get Prereq Commands" listed in the Dependencies section for t
The execution framework provides a helpful PowerShell function called `Invoke-WebRequestVerifyHash` which only downloads and saves a file to disk if the file hash matches the specified value. Call this method by passing in the url of the file to download, the path where it should be saved, and lastly the expected Sha256 file hash.
The function returns `$true` if the file was saved to disk, `$false` otherwise.

Important Note: You must add the import of `Invoke-WebRequestVerifyHash.ps1` or the entire `Invoke-AtomicRedTeam.psm1` to your PowerShell profile to make this function available to the prereq commands.

#### Specify Input Parameters on the Command Line

```powershell
Expand Down

0 comments on commit db9df0e

Please sign in to comment.