Malware detector specification for NTUST isLab
Project description
malwareDetector
- Source code: https://github.com/louiskyee/malwareDetector.git
- Wiki: https://github.com/louiskyee/malwareDetector/wiki
- PyPI: https://pypi.org/project/malwareDetector/
Description
This is a malware detector specification for NTUST isLab.
The malwareDetector is a base class designed for malicious software detection. It enables straightforward utilization of Python's inheritance feature. By inheriting from malwareDetector and implementing the required functions, you can achieve your specific goals. Additionally, it offers convenient configuration management. For more detailed instructions, please refer to the GitHub Wiki.
Requirements
| Tool | Version | Source |
|---|---|---|
| Python | >= 3.10 |
https://www.python.org/downloads |
Installation
Use the package manager pip to install malwareDetector.
- Example:
pip install malwareDetector
Usage
Import
- Import class
detectorfrommalwareDetector.detectorfrom malwareDetector.detector import detector
Example:
import numpy as np
from typing import Any
from malwareDetector.detector import detector
class subDetector(detector):
def __init__(self, config_path=None) -> None:
super().__init__(config_path)
def extractFeature(self) -> Any:
return 'This is the implementation of the extractFeature function from the derived class.'
def vectorize(self) -> np.array:
return 'This is the implementation of the vectorize function from the derived class.'
def model(self, training: bool = True) -> Any:
return 'This is the implementation of the model function from the derived class.'
def predict(self) -> np.array:
return 'This is the implementation of the predict function from the derived class.'
Configuration
The malwareDetector uses a configuration system that can be customized through a JSON file or command-line arguments. The default configuration file is config.json in the current directory, but you can specify a custom path when initializing the detector.
Key Configuration Classes:
Config: Stores all external settings for the detector.PathConfig: Manages input and output file paths.FolderConfig: Handles folder configurations for data storage.ModelConfig: Stores model-specific parameters and hyperparameters.
For detailed information on configuration options and usage, please refer to the GitHub Wiki.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file malwaredetector-0.1.13.tar.gz.
File metadata
- Download URL: malwaredetector-0.1.13.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5258adb07af1ce4f7cdc8680f2966d74e1c25bbd278ef12f0fa66a39b4d3bcf3
|
|
| MD5 |
986f50ce23d52859828ea43ee008ef32
|
|
| BLAKE2b-256 |
905c52b4dd1401b25a552259097b127a9fdc7cc709eddc3e432343f080276135
|
File details
Details for the file malwareDetector-0.1.13-py3-none-any.whl.
File metadata
- Download URL: malwareDetector-0.1.13-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07863be2f90d8dc6f7201a0fc143a1bc8fd857b932efe3a53b649db31e1c2e1a
|
|
| MD5 |
a190955c6d4da731f8f6102348fe4b80
|
|
| BLAKE2b-256 |
a1bc20cceeae2080968e35b34cf33e46ab713202f907098e0d513d4480f73835
|