Skip to content

buckler-project/python-buckler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published