-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from azazelm3dj3d/v0.6
v0.6
- Loading branch information
Showing
60 changed files
with
2,578 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Catherine | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
workflow: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configuring | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev libsoup2.4-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev | ||
- name: Checking | ||
run: cargo check --verbose | ||
|
||
- name: Testing | ||
run: cargo test --verbose | ||
|
||
- name: Building | ||
run: cargo build --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ Cargo.lock | |
build/ | ||
__MACOSX/ | ||
__pycache__/ | ||
.DS_Store | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Project: Catherine Framework (https://github.com/azazelm3dj3d/catherine) | ||
# Author: azazelm3dj3d (https://github.com/azazelm3dj3d) | ||
# License: BSD 2-Clause | ||
|
||
NAME=catherine | ||
PROJ_VERSION=0.6.0 | ||
|
||
run: | ||
@echo "Building $(NAME) v$(PROJ_VERSION)" | ||
make setup_env | ||
make build | ||
make modules | ||
|
||
setup_env: | ||
sudo mkdir -p /opt/catherine/modules | ||
sudo mkdir -p /opt/catherine/modules/db | ||
sudo mkdir -p /opt/catherine/modules/formats/exe | ||
sudo mkdir -p /opt/catherine/modules/formats/hex | ||
sudo mkdir -p /opt/catherine/modules/mercy | ||
sudo mkdir -p /opt/catherine/modules/net/netscan | ||
sudo mkdir -p /opt/catherine/modules/web/parsers | ||
pip3 install -r requirements.txt | ||
|
||
build: | ||
cargo check && cargo build | ||
|
||
modules: | ||
chmod +x build_modules.sh && sudo ./build_modules.sh | ||
|
||
@echo "[+] Configuring Hex 'C' module..." | ||
sudo cc src/modules/formats/hex/c_hex_dump.c -Wall -shared -o /opt/catherine/modules/formats/hex/hex.so | ||
|
||
# Cleanup spec files from pyinstaller | ||
sudo rm *.spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
|
||
fn main() { | ||
tauri_build::build() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#!/bin/bash | ||
|
||
# Project: Catherine Framework (https://github.com/azazelm3dj3d/catherine) | ||
# Author: azazelm3dj3d (https://github.com/azazelm3dj3d) | ||
# License: BSD 2-Clause | ||
|
||
# NetScan | ||
# TODO: Test this function to verify it works, Go is the odd man out | ||
function netscan() { | ||
cd src/modules/net/netscan/src | ||
echo "[+] Configuring NetScan module..." | ||
|
||
go build src/modules/net/netscan/src/main.go -o /opt/catherine/modules/net/netscan | ||
|
||
if [ -f "/opt/catherine/modules/net/netscan" ] | ||
then | ||
echo "[+] NetScan module successfully built" | ||
else | ||
echo "[-] NetScan module was not built properly" | ||
fi | ||
|
||
echo "" | ||
} | ||
|
||
# Web parsers | ||
function parsers() { | ||
# Link parser | ||
echo "[+] Configuring Link Parser module..." | ||
pyinstaller src/modules/web/parsers/links.py --onefile --clean -n links --distpath /opt/catherine/modules/web/parsers/ 2>/dev/null | ||
|
||
if [ -f "/opt/catherine/modules/web/parsers/links" ] | ||
then | ||
echo "[+] Link Parser module successfully built" | ||
else | ||
echo "[-] Link Parser module was not built properly" | ||
fi | ||
|
||
echo "" | ||
} | ||
|
||
# Exec Dump | ||
function exec_dump() { | ||
echo "[+] Configuring Windows Exe Dump module..." | ||
pyinstaller src/modules/formats/exe/win_exe_dump.py --onefile --clean -n win_exe_dump --distpath /opt/catherine/modules/formats/exe/ 2>/dev/null | ||
|
||
if [ -f "/opt/catherine/modules/formats/exe/win_exe_dump" ] | ||
then | ||
echo "[+] Windows Exe Dump module successfully built" | ||
else | ||
echo "[-] Windows Exe Dump module was not built properly" | ||
fi | ||
|
||
echo "" | ||
} | ||
|
||
# Redis | ||
function db_redis() { | ||
echo "[+] Configuring Redis Database module..." | ||
pyinstaller src/modules/db/redis.py --onefile --clean -n redis --distpath /opt/catherine/modules/db/ 2>/dev/null | ||
|
||
if [ -f "/opt/catherine/modules/db/redis" ] | ||
then | ||
echo "[+] Redis Database module successfully built" | ||
else | ||
echo "[-] Redis Database module was not built properly" | ||
fi | ||
|
||
echo "" | ||
} | ||
|
||
# Mercy Extension | ||
function mercy_ext() { | ||
echo "[+] Configuring Mercy Extension module..." | ||
pyinstaller src/modules/mercy/extension.py --onefile --clean -n extension --distpath /opt/catherine/modules/mercy/ 2>/dev/null | ||
|
||
if [ -f "/opt/catherine/modules/mercy/extension" ] | ||
then | ||
echo "[+] Mercy Extension module successfully built" | ||
else | ||
echo "[-] Mercy Extension module was not built properly" | ||
fi | ||
|
||
echo "" | ||
} | ||
|
||
# netscan | ||
parsers | ||
exec_dump | ||
db_redis | ||
mercy_ext |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"author": "azazelm3dj3d", | ||
"version": "0.1.26", | ||
"numOfModules": "6", | ||
"ModulesList": [ | ||
{ | ||
"id": 1, | ||
"name": "NetScan", | ||
"description": "Collects publicly available network information about a host", | ||
"version": "1.0.9", | ||
"source_path": "net/netscan/src/*", | ||
"dist_path": "net/netscan/dist/netscan" | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "links", | ||
"description": "Parses web content, extracting external and internal links", | ||
"version": "0.2.14", | ||
"source_path": "web/parsers/links.py", | ||
"dist_path": "web/parsers/dist/links" | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "Mercy Extension", | ||
"description": "Suite of methods for decryption and decoding data, extends the Mercy Rust crate", | ||
"version": "1.4.15", | ||
"source_path": "mercy/extenstion.py", | ||
"dist_path": "mercy/dist/extenstion" | ||
}, | ||
{ | ||
"id": 4, | ||
"name": ["c_hex_dump", "rust_hex_dump"], | ||
"description": "Dumps hexadecimal information for most file types (.exe, .toml, .c, etc.)", | ||
"version": "0.1.11", | ||
"source_path": ["data/hex/c/c_hex_dump.c", "data/hex/rust/rust_hex_dump.rs"], | ||
"dist_path": ["data/hex/c/dist/hex.so", "data/hex/rust/rust_hex_dump.rs"] | ||
}, | ||
{ | ||
"id": 5, | ||
"name": "redis_analysis", | ||
"description": "Real-time Redis database analysis and monitoring", | ||
"version": "1.3.36", | ||
"source_path": "db/redis/redis_analysis.py", | ||
"dist_path": "db/redis/dist/redis_analysis" | ||
}, | ||
{ | ||
"id": 6, | ||
"name": "exec_dump_win", | ||
"description": "Multi-format parser built to extract various data points from Windows executables, object binaries, DLLs and more (32-bit & 64-bit)", | ||
"version": "0.1.10", | ||
"source_path": "data/exe/exec_dump_win.py", | ||
"dist_path": "data/exe/dist/exec_dump_win" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.