Skip to content

This script removes sensitive data from HAR and Fiddler SAZ session files.

Notifications You must be signed in to change notification settings

ryandunton/HARmless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HARmless

"Removing bearer tokens and cookies, one byte at a time"

Description

This PowerShell script takes a HAR (HTTP Archive) or Fiddler SAZ file as input and removes sensitive data from its headers. The script prompts the user to input the file path if it is not provided as a parameter. The headers to be redacted are specified in a hashtable. The script then reads the HAR file, removes the sensitive data from the specified headers, and saves the sanitized session file with a new name.

Usage

Sanitize HAR
PS C:\> .\Invoke-HARmless.ps1

With parameters
Sanitize HAR
PS C:\> .\Invoke-HARmless.ps1 -SessionFile HarToSanitize.har -RedactWithWord "REDACTED"

Sanitize Fiddler SAZ
PS C:\> .\Invoke-HARmless.ps1 -SessionFile SazToSanitize.saz -RedactWithWord "REDACTED"

HARmless

About

This script removes sensitive data from HAR and Fiddler SAZ session files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published