smbwalker

command
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: CC-BY-4.0 Imports: 15 Imported by: 0

README

SMB Walker

The SMB Walker walks all the SMB frontends of an Avere vFXT. It gets all the VServer IP address from the DNS. In the following call, it will spawn a thread for each ip address resolved from "assetfiler.rendering.com", and read bytes from each png file found.

# USAGE .\smbwalker.exe BASE_SMB_PATH [WALKERS_PER_SHARE] [FILE_FILTER]
.\smbwalker.exe \\assetfiler.rendering.com\assets\scene1 1 *.png

Install instructions

To install on Windows, run the following instructions:

  1. open a powershell as administrator

  2. execute the following commands to install go and download and install go. Choose all defaults on the installer:

mkdir c:\gowork
cd c:\gowork
# make Invoke-WebRequest go fast: https://stackoverflow.com/questions/14202054/why-is-this-powershell-code-invoke-webrequest-getelementsbytagname-so-incred
$ProgressPreference = "SilentlyContinue"
Invoke-WebRequest https://golang.org/dl/go1.15.7.windows-amd64.msi -OutFile c:\gowork\go1.15.7.windows-amd64.msi -Verbose
c:\gowork\go1.15.7.windows-amd64.msi
Remove-Item c:\gowork\go1.15.7.windows-amd64.msi
  1. set the path for go
$Env:PATH = "$Env:PATH;c:\go\bin"
  1. build the walker
mkdir c:\gowork\smbwalker
cd c:\gowork\smbwalker
Invoke-WebRequest https://raw.githubusercontent.com/Azure/Avere/main/src/go/cmd/smbwalker/main.go -OutFile c:\gowork\smbwalker\main.go -Verbose
go build
  1. once installed run the walker against your avere. The following command will walk all shares of the Avere and read bytes from all *.png files
# USAGE .\smbwalker.exe BASE_SMB_PATH [WALKERS_PER_SHARE] [FILE_FILTER]
.\smbwalker.exe \\assetfiler.rendering.com\assets\scene1 1 *.png

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL