镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

The wrapper of buckler for python.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

Repository files navigation

python-buckler

The wrapper of buckler for python.

Getting Started

Dependencies

Please install them before install buckler-python.

And now, it support only Linux.
(it will support Windows for the future.)

Installing

Sorry. Installer will make for the future.

Example

import sys
from buckler import Buckler
from pprint import pprint


def main(name):
    with open(name, 'rb') as f:
        body = f.read()

        buckler = Buckler()
        has_hit = buckler.scan(body)

        if has_hit:
            print(f"`{name}` is malware.")
        else:
            print(f"`{name}` is not malware.")


if __name__ == '__main__':
    if len(sys.argv) <= 1:
        sys.exit("[err] argument incorrect.")

    main(sys.argv[1])

About

The wrapper of buckler for python.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages