Created
July 2, 2020 23:05
-
-
Save ahhh/399ee28b1537635223b35316a72b47de to your computer and use it in GitHub Desktop.
GBJ is a hacky shim used for using binjection in gscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package gbj | |
import( | |
"github.com/Binject/binjection/bj" | |
) | |
func PeBinject(sourceBytes []byte, shellcodeBytes []byte) ([]byte, error) { | |
results, err := bj.PeBinject(sourceBytes, shellcodeBytes, &bj.BinjectConfig{ | |
InjectionMethod: bj.PE, | |
}) | |
return results, err | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment