Skip to content

phaag/go-vba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-vba

This package implements the VBA decompression code in Go. It follows the Golang standards for Reader/Writer model.

Example:

import {
  "github/phaag/ole-vba"
)
  
rfd, _ = os.OpenFile(inFile)
wfd, _ = os.OpenFile(outFile, os.O_RDWR|os.O_CREATE, 0755)
vba := vba.NewWriter(wfd)
_, err = io.Copy(vba, rfd)
vba.Close()

If you prefer a function call, you may use the integrated wrapper:

func DecompressFile(inFile, outFile string) (bool, error)

The code follows basically olevba from oletools. The outFile is a simple .txt file containing the decompressed VBA code.

About

Go implementation for VBA decompression

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages