All Projects → hillu → Go Yara

hillu / Go Yara

Licence: bsd-2-clause
Go bindings for YARA

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects
cgo
20 projects

Projects that are alternatives of or similar to Go Yara

Masc
A Web Malware Scanner
Stars: ✭ 74 (-62.63%)
Mutual labels:  hacktoberfest, yara
Freki
🐺 Malware analysis platform
Stars: ✭ 285 (+43.94%)
Mutual labels:  hacktoberfest, yara
Cargo C
build and install C-compatible libraries
Stars: ✭ 196 (-1.01%)
Mutual labels:  hacktoberfest
Lemuroid
All in 1 emulator on Android!
Stars: ✭ 194 (-2.02%)
Mutual labels:  hacktoberfest
Haste Server
open source pastebin written in node.js
Stars: ✭ 2,417 (+1120.71%)
Mutual labels:  hacktoberfest
Awesome Ideas
💡 Ideias de aplicativos.
Stars: ✭ 194 (-2.02%)
Mutual labels:  hacktoberfest
Compose.jl
Declarative vector graphics
Stars: ✭ 196 (-1.01%)
Mutual labels:  hacktoberfest
Python Scripts
Collection of Various Python Script's.💻
Stars: ✭ 195 (-1.52%)
Mutual labels:  hacktoberfest
Lighthouse Ci
A useful wrapper around Google Lighthouse CLI
Stars: ✭ 198 (+0%)
Mutual labels:  hacktoberfest
Transgui
🧲 A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
Stars: ✭ 2,488 (+1156.57%)
Mutual labels:  hacktoberfest
Tenseal
A library for doing homomorphic encryption operations on tensors
Stars: ✭ 197 (-0.51%)
Mutual labels:  hacktoberfest
Musicbot
🎵 The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
Stars: ✭ 2,744 (+1285.86%)
Mutual labels:  hacktoberfest
Github Profile Languages
📺 Create a nice pie chart with the user's programming languages from their GitHub profile.
Stars: ✭ 197 (-0.51%)
Mutual labels:  hacktoberfest
Laravel Surveillance
Put malicious users, IP addresses and anonymous browser fingerprints under surveillance, log the URLs they visit and block malicious ones from accessing the Laravel app.
Stars: ✭ 198 (+0%)
Mutual labels:  hacktoberfest
Ogx360
Add Wireless Xbox 360 and 8bitdo Controller Support to your Original Xbox 📺 🎮
Stars: ✭ 193 (-2.53%)
Mutual labels:  hacktoberfest
Conference Data
Conference data for www.confs.tech
Stars: ✭ 197 (-0.51%)
Mutual labels:  hacktoberfest
Hacktoberfest
Simply add your details and Get a chance to earn a free tshirt! ✅
Stars: ✭ 199 (+0.51%)
Mutual labels:  hacktoberfest
Librenms
Community-based GPL-licensed network monitoring system
Stars: ✭ 2,567 (+1196.46%)
Mutual labels:  hacktoberfest
Pan Os Python
The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
Stars: ✭ 194 (-2.02%)
Mutual labels:  hacktoberfest
Mattermost Redux
Redux for Mattermost
Stars: ✭ 198 (+0%)
Mutual labels:  hacktoberfest

Logo

go-yara

PkgGoDev Travis Go Report Card

Go bindings for YARA, staying as close as sensible to the library's C-API while taking inspiration from the yara-python implementation.

Build/Installation

On Unix-like systems, libyara version 4, corresponding header files, and pkg-config must be installed. Adding go-yara v4 to a project with Go Modules enabled, simply add the proper dependency…

import "github.com/hillu/go-yara/v4"

…and rebuild your package.

If libyara has been installed to a custom location, the PKG_CONFIG_PATH environment variable can be used to point pkg-config at the right yara.pc file.

For anything more complicated, refer to the "Build Tags" section below. Instructions for cross-building go-yara for different operating systems or architectures can be found in README.cross-building.md.

To build go-yara on Windows, a GCC-based build environment is required, preferably one that includes pkg-config. The 32-bit and 64-bit MinGW environments provided by the MSYS2 provide such an environment.

Build Tags

Static builds

The build tag yara_static can be used to tell the Go toolchain to run pkg-config with the --static switch. This is not enough for a static build; the appropriate linker flags (e.g. -extldflags "-static") still need to be passed to the go tool.

Building without pkg-config

The build tag yara_no_pkg_config can be used to tell the Go toolchain not to use pkg-config's output. In this case, any compiler or linker flags have to be set via the CGO_CFLAGS and CGO_LDFLAGS environment variables, e.g.:

export CGO_CFLAGS="-I${YARA_SRC}/libyara/include"
export CGO_LDFLAGS="-L${YARA_SRC}/libyara/.libs -lyara"
go install -tags yara_no_pkg_config github.com/hillu/go-yara

YARA 4.x vs. earlier versions

This version of go-yara can only be used with YARA 4.0 or later.

Versions of go-yara compatible with YARA 3.11 are available via the v3.x branch or tagged v3.* releases.

Versions of go-yara compatible with earlier 3.x versions of YARA are available via the v1.x branch or tagged v1.* releases.

License

BSD 2-clause, see LICENSE file in the source distribution.

Author

Hilko Bengen <[email protected]>

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].