From 1a8c103c4326067e9ade61939c093f7c8cf6b104 Mon Sep 17 00:00:00 2001
From: huihun <781165206@qq.com>
Date: Sat, 6 Jan 2024 18:47:03 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=8C=96=E6=93=8D=E4=BD=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/Gencoding3.iml | 2 +-
.idea/misc.xml | 2 +-
ida_file_cerate.bat | 16 ++++++++++++++++
ida_file_cerate_malware.bat | 16 ++++++++++++++++
4 files changed, 34 insertions(+), 2 deletions(-)
create mode 100644 ida_file_cerate.bat
create mode 100644 ida_file_cerate_malware.bat
diff --git a/.idea/Gencoding3.iml b/.idea/Gencoding3.iml
index 68e4e15..7805102 100644
--- a/.idea/Gencoding3.iml
+++ b/.idea/Gencoding3.iml
@@ -4,7 +4,7 @@
-
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index c13a1ac..7ba73c2 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/ida_file_cerate.bat b/ida_file_cerate.bat
new file mode 100644
index 0000000..f86dbde
--- /dev/null
+++ b/ida_file_cerate.bat
@@ -0,0 +1,16 @@
+@echo off
+setlocal EnableDelayedExpansion
+
+
+set "FOLDER_PATH=D:\bishe\dataset\train_benign"
+
+
+
+for %%f in ("%FOLDER_PATH%\*") do (
+ echo !time! %%f
+ D:\IDA_Pro_v6.8\idaq64.exe -c -A -S"D:\bishe\Gencoding_KE\Genius3\raw-feature-extractor\preprocessing_ida.py -1" -oD:\bishe\dataset\out %%f
+
+)
+
+endlocal
+
diff --git a/ida_file_cerate_malware.bat b/ida_file_cerate_malware.bat
new file mode 100644
index 0000000..cd555ed
--- /dev/null
+++ b/ida_file_cerate_malware.bat
@@ -0,0 +1,16 @@
+@echo off
+setlocal EnableDelayedExpansion
+
+
+set "FOLDER_PATH=D:\bishe\dataset\train_malware"
+
+
+
+for %%f in ("%FOLDER_PATH%\*") do (
+ echo !time! %%f
+ D:\IDA_Pro_v6.8\idaq64.exe -c -A -S"D:\bishe\Gencoding_KE\Genius3\raw-feature-extractor\preprocessing_ida.py 0" -oD:\bishe\dataset\out %%f
+
+)
+
+endlocal
+