From daf512d911d442070ea1790d1af41d77a9f552da Mon Sep 17 00:00:00 2001 From: AntwortEinesLebens Date: Sat, 6 Jul 2024 19:02:09 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=94=A8=20Rename=20malware=20f?= =?UTF-8?q?older=20to=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{malware.rs => actions.rs} | 0 src/{malware => actions}/ads.rs | 0 src/{malware => actions}/file.rs | 0 src/{malware => actions}/mutex.rs | 0 src/{malware => actions}/namepipe.rs | 0 src/{malware => actions}/ppid.rs | 0 src/{malware => actions}/service.rs | 0 src/cli.rs | 2 +- src/main.rs | 2 +- 9 files changed, 2 insertions(+), 2 deletions(-) rename src/{malware.rs => actions.rs} (100%) rename src/{malware => actions}/ads.rs (100%) rename src/{malware => actions}/file.rs (100%) rename src/{malware => actions}/mutex.rs (100%) rename src/{malware => actions}/namepipe.rs (100%) rename src/{malware => actions}/ppid.rs (100%) rename src/{malware => actions}/service.rs (100%) diff --git a/src/malware.rs b/src/actions.rs similarity index 100% rename from src/malware.rs rename to src/actions.rs diff --git a/src/malware/ads.rs b/src/actions/ads.rs similarity index 100% rename from src/malware/ads.rs rename to src/actions/ads.rs diff --git a/src/malware/file.rs b/src/actions/file.rs similarity index 100% rename from src/malware/file.rs rename to src/actions/file.rs diff --git a/src/malware/mutex.rs b/src/actions/mutex.rs similarity index 100% rename from src/malware/mutex.rs rename to src/actions/mutex.rs diff --git a/src/malware/namepipe.rs b/src/actions/namepipe.rs similarity index 100% rename from src/malware/namepipe.rs rename to src/actions/namepipe.rs diff --git a/src/malware/ppid.rs b/src/actions/ppid.rs similarity index 100% rename from src/malware/ppid.rs rename to src/actions/ppid.rs diff --git a/src/malware/service.rs b/src/actions/service.rs similarity index 100% rename from src/malware/service.rs rename to src/actions/service.rs diff --git a/src/cli.rs b/src/cli.rs index ebf489f..597aa57 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -use crate::malware::{ +use crate::actions::{ ads::ADS, file::FileCreate, mutex::Mutex, namepipe::NamePipe, ppid::PPID, service::BYOVD, }; use clap::Parser; diff --git a/src/main.rs b/src/main.rs index d5f43e6..2c17ab0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,8 @@ // // SPDX-License-Identifier: GPL-3.0-or-later +mod actions; mod cli; -mod malware; mod windows; use clap::Parser;