Sharp-HackBrowserData
C# Wrapper of HackBrowserData from https://github.com/moonD4rk/HackBrowserData
I did this mainly to experiment for myself with embedding golang binaries in C#.
The HackBrowserData main.go file was changed the following before compilation:
package main
import "C"
import "fmt"
import "strings"
import (
"hack-browser-data/cmd"
)
//maindel :
//export maindel
func maindel(charargs *C.char) {
var stringargs string
stringargs = C.GoString(charargs)
arrayargs := strings.Fields(stringargs)
fmt.Println(arrayargs)
cmd.Execute()
}
func main() {
}
Credit to shantanu561993 for writing the following blog post: