func (n liefnativelibinjector) InjectIntoLibrary(payload string, target string) error {
	pscript := fmt.Sprintf(_nativeInjectTemplate, target, payload, target)
	_, err := n.shell.Exec("python", "-c", pscript)
	if err != nil {
		return fmt.Errorf("Error doing lief native injection: %v", err)
	}

	return nil
}
// InjectIntoLibrary injects payload library into the target library as a dependency using lief
InjectIntoLibrary injects payload library into the target library as a dependency using lief
// InjectIntoLibrary injects payload library into the target library as a dependency using lief
func (n liefnativelibinjector) InjectIntoLibrary(payload string, target string) error {
	pscript := fmt.Sprintf(_nativeInjectTemplate, target, payload, target)
	_, err := n.shell.Exec("python", "-c", pscript)
	if err != nil {
		return fmt.Errorf("Error doing lief native injection: %v", err)
	}
	return nil
}
func ( n liefnativelibinjector ) InjectIntoLibrary ( payload string , target string ) error { pscript := fmt . Sprintf ( _nativeInjectTemplate , target , payload , target ) _ , err := n . shell . Exec ( " " , " " , pscript ) if err != nil { return fmt . Errorf ( " " , err ) } return nil }
InjectIntoLibrary injects payload library into the target library as a dependency using lief
InjectIntoLibrary injects payload library into the target library as a dependency using lief