Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
reuteras committed Nov 12, 2023
1 parent 029a361 commit ae1f805
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Two different configurations will be created:
- dfirws.wsb - network disabled
- network_dfirws.wsb - network enabled

This script will also create the file *./setup/config.txt*. Here you can select the tools you would like to be available in the sandbox. All tools will be downloaded and can be installed later in the sandbox if needed. The difference will be the time it takes to start the sandbox. You can also turn off Sysmon and specify the configuration file to use.
This script will also create the file *./setup/config.txt*. Here you can select the tools you would like to be available in the sandbox. All tools will be downloaded and can be installed later in the sandbox if needed. The difference will be the time it takes to start the sandbox. You can also turn off Sysmon and specify the configuration file to use.

By default the sandbox will have clipboard redirection off as well as secure defaults for other settings. If you like to enable clipboard copy and paste you should change `<ClipboardRedirection>Disable</ClipboardRedirection>` to `<ClipboardRedirection>Enable</ClipboardRedirection>`. More information about [Windows Sandbox configuration][wsc].

Expand Down
1 change: 1 addition & 0 deletions downloadFiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Write-DateLog "Sandboxes done."
Copy-Item README.md .\downloads\
Copy-Item .\resources\images\dfirws.jpg .\downloads\
Copy-Item ".\setup\utils\PowerSiem.ps1" ".\mount\Tools\bin\"
Copy-Item .\mount\git\CapaExplorer\capaexplorer.py ./mount/Tools/ghidra/Ghidra/Features/Python/ghidra_scripts
# done.txt is used to check last update in sandbox
Write-Output "" > .\downloads\done.txt
Write-DateLog "Download and preparations done."
3 changes: 0 additions & 3 deletions resources/download/git.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,3 @@ foreach ($repourl in $repourls) {
}

Set-Location ..\..

# Copy files
Copy-Item .\mount\git\CapaExplorer\capaexplorer.py ./mount/Tools/ghidra/Ghidra/Features/Python/ghidra_scripts
10 changes: 5 additions & 5 deletions resources/download/winget-download.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ $SETUP_PATH=".\downloads"
Write-DateLog "Download tools via winget."

# Local function
function Remove-Tmp {
function Clear-Tmp {
if (Test-Path -Path .\tmp\winget) {
Remove-Item -Recurse -Force .\tmp\winget > $null 2>&1
}
}

# DotNet 6 runtime

Remove-Tmp
Clear-Tmp
winget download Microsoft.DotNet.Runtime.6 -d .\tmp\winget > $null 2>&1
Copy-Item .\tmp\winget\Microsoft*.exe .\downloads\dotnet6.exe
Remove-Tmp
Clear-Tmp

# VirusTotal CLI
Remove-Tmp
Clear-Tmp
winget download VirusTotal.vt-cli -d .\tmp\winget > $null 2>&1
Copy-Item .\tmp\winget\vt-cli*.zip .\downloads\vt.zip
& "$env:ProgramFiles\7-Zip\7z.exe" x -aoa "$SETUP_PATH\vt.zip" -o"$TOOLS\bin" | Out-Null
Remove-Tmp
Clear-Tmp

0 comments on commit ae1f805

Please sign in to comment.