summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-27 11:42:55 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-27 11:42:55 +0200
commit28dcc76e2e93817a5e4a4ceef0479fd8ac7399c9 (patch)
tree4ca252d938095b0ef054836c900d25b758379a61 /dev
parent8db6fc60063757628f92bd1c4d4855775f4ff9e2 (diff)
parentf34d39946213f68c4d49c47eaaedb99b0f5f47ad (diff)
Merge branch 'unstable' of gitlab.com:mahrouss/zka-dev into unstable
Diffstat (limited to 'dev')
-rw-r--r--dev/base/EncryptFS/build.json2
-rw-r--r--dev/base/FireWall/build.json19
-rw-r--r--dev/base/FireWall/fwapi.hxx7
-rw-r--r--dev/base/FireWall/src/fwentry.cc5
-rw-r--r--dev/base/ReadMe.md4
-rw-r--r--dev/base/RunDLL64/src/dll.cxx4
-rw-r--r--dev/base/RunXPCOM/src/xpcom.cxx4
7 files changed, 42 insertions, 3 deletions
diff --git a/dev/base/EncryptFS/build.json b/dev/base/EncryptFS/build.json
index 3b41b059..1f9b018e 100644
--- a/dev/base/EncryptFS/build.json
+++ b/dev/base/EncryptFS/build.json
@@ -3,7 +3,7 @@
"compiler_std": "c++20",
"headers_path": ["../", "./"],
"sources_path": ["src/*.cxx"],
- "output_name": "efs.sys",
+ "output_name": "efs.zsc",
"compiler_flags": [
"-ffreestanding",
"-shared",
diff --git a/dev/base/FireWall/build.json b/dev/base/FireWall/build.json
new file mode 100644
index 00000000..7f8c4956
--- /dev/null
+++ b/dev/base/FireWall/build.json
@@ -0,0 +1,19 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++.exe",
+ "compiler_std": "c++20",
+ "headers_path": [ "../", "./", "../../" ],
+ "sources_path": [ "src/*.cc" ],
+ "output_name": "firewall.zsc",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "__FIREWALL_AMD64__",
+ "cFWVersion=0x0100",
+ "cFWVersionHighest=0x0100",
+ "cFWVersionLowest=0x0100"
+ ]
+}
diff --git a/dev/base/FireWall/fwapi.hxx b/dev/base/FireWall/fwapi.hxx
new file mode 100644
index 00000000..7e22333d
--- /dev/null
+++ b/dev/base/FireWall/fwapi.hxx
@@ -0,0 +1,7 @@
+/*
+ * Copyright (c) 2024 ZKA Technologies
+ */
+
+#pragma once
+
+#include <sci/sci_base.hxx> \ No newline at end of file
diff --git a/dev/base/FireWall/src/fwentry.cc b/dev/base/FireWall/src/fwentry.cc
new file mode 100644
index 00000000..e7b929d3
--- /dev/null
+++ b/dev/base/FireWall/src/fwentry.cc
@@ -0,0 +1,5 @@
+/*
+ * Copyright (c) 2024 ZKA Technologies
+ */
+
+#include <fwapi.hxx> \ No newline at end of file
diff --git a/dev/base/ReadMe.md b/dev/base/ReadMe.md
index 46443aea..307ef17d 100644
--- a/dev/base/ReadMe.md
+++ b/dev/base/ReadMe.md
@@ -1,7 +1,7 @@
-# ZKA User DLLs/Programs.
+# ZKA User apps and services.
## Description:
-- Used to provide features to a program from the sci.dll.
+- Provides firewall, filesystem encrypter and rundll/runxpcom tools.
###### Copyright ZKA Technologies, all rights reserved.
diff --git a/dev/base/RunDLL64/src/dll.cxx b/dev/base/RunDLL64/src/dll.cxx
index 560a404d..ece370dc 100644
--- a/dev/base/RunDLL64/src/dll.cxx
+++ b/dev/base/RunDLL64/src/dll.cxx
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2024 ZKA Technologies
+ */
+
#include <sci/sci_base.hxx>
typedef int (*MainKind)(int, char**);
diff --git a/dev/base/RunXPCOM/src/xpcom.cxx b/dev/base/RunXPCOM/src/xpcom.cxx
index 9536b070..7c6aa252 100644
--- a/dev/base/RunXPCOM/src/xpcom.cxx
+++ b/dev/base/RunXPCOM/src/xpcom.cxx
@@ -1,3 +1,7 @@
+/*
+ * Copyright (c) 2024 ZKA Technologies
+ */
+
#include <sci/sci_base.hxx>
typedef SInt32 (*RPCProcKind)(IUnknown*);