From kitploit.com
oGhost is a High Performance, lightweight, portable Open Source tool for mass SMBGhost Scan.
Installation
You can download Windows Binary or Linux Binary. Alternatively, GoGhost uses native Golang libraries so the line above would be fine to compile it:
go build GoGhost.go