From 2aadd9871b2d11148436e6b8f5d7444dff4bb36f Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:46:36 -0500 Subject: [PATCH 1/2] Create install_kali_purple.sh --- kali-purple/install_kali_purple.sh | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 kali-purple/install_kali_purple.sh diff --git a/kali-purple/install_kali_purple.sh b/kali-purple/install_kali_purple.sh new file mode 100644 index 0000000..2a7e644 --- /dev/null +++ b/kali-purple/install_kali_purple.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# Make sure the script is run as root +if [[ $EUID -ne 0 ]]; then + echo "❌ This script must be run as root. Try: sudo $0" + exit 1 +fi + +echo "🔧 Updating Kali sources.list for rolling release..." +cat < /etc/apt/sources.list +# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ +deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware +# Additional line for source packages +# deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware +EOF + +echo "📦 Updating system packages..." +apt update && apt upgrade -y && apt autoremove -y + +echo "🛡 Installing Kali Purple tools..." +apt install -y kali-tools-identify kali-tools-protect kali-tools-detect kali-tools-respond kali-tools-recover + +echo "🎨 Installing Purple theme..." +apt install -y kali-themes-purple + +echo "📂 Reinstalling Kali menu to apply changes..." +apt install --reinstall -y kali-menu + +echo "🖼 Installing legacy wallpapers..." +apt install -y kali-wallpapers-legacy + +echo "✅ Kali Purple setup complete!" \ No newline at end of file From c20de0ee6a476115b746740cd96ce7816a386887 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Thu, 17 Jul 2025 14:50:23 -0500 Subject: [PATCH 2/2] Added code checking Added code checking --- .github/workflows/code-check.yml | 50 +++++++++++++++++++ .idea/.gitignore | 8 --- .../inspectionProfiles/profiles_settings.xml | 6 --- .idea/misc.xml | 4 -- .idea/modules.xml | 8 --- .idea/public-setupfiles.iml | 12 ----- .idea/vcs.xml | 6 --- 7 files changed, 50 insertions(+), 44 deletions(-) create mode 100644 .github/workflows/code-check.yml delete mode 100644 .idea/.gitignore delete mode 100644 .idea/inspectionProfiles/profiles_settings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/public-setupfiles.iml delete mode 100644 .idea/vcs.xml diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml new file mode 100644 index 0000000..664b129 --- /dev/null +++ b/.github/workflows/code-check.yml @@ -0,0 +1,50 @@ +name: Code Quality Check + +on: + push: + paths: + - '**.py' + - '**.sh' + pull_request: + paths: + - '**.py' + - '**.sh' + +jobs: + lint-python: + name: Python Code Linting + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install Python linters + run: | + pip install black flake8 + + - name: Run black + run: black --check . + + - name: Run flake8 + run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + + lint-shell: + name: Shell Script Linting + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Install shellcheck + run: sudo apt-get install -y shellcheck + + - name: Run shellcheck + run: | + find . -type f -name "*.sh" -exec shellcheck {} + \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index d56657a..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 8e026d9..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/public-setupfiles.iml b/.idea/public-setupfiles.iml deleted file mode 100644 index 5ed0139..0000000 --- a/.idea/public-setupfiles.iml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file