mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Merge pull request #7 from wickedyoda/adding-Kali-purple-repo
Adding kali purple repo
This commit is contained in:
8 files changed
+82
-44
No files matched your search
@@ -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 {} +
|
||||
Generated
-8
@@ -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
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
||||
Generated
-4
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
Generated
-8
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/public-setupfiles.iml" filepath="$PROJECT_DIR$/.idea/public-setupfiles.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
Generated
-12
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.9" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="PyDocumentationSettings">
|
||||
<option name="format" value="PLAIN" />
|
||||
<option name="myDocStringFormat" value="Plain" />
|
||||
</component>
|
||||
</module>
|
||||
Generated
-6
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -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 <<EOF > /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!"
|
||||
Reference in new issue
Block a user