Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/refactory #98

Merged
merged 17 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 167 additions & 8 deletions spellbook/archive/dataset/db.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"general": [
{
"name": "a",
"description": "🟠 Section A",
"command": ""
},
{
"name": "b",
"description": "🟠 Section B",
"command": ""
},
{
"name": "backup.amazon_dynamodb",
"description": "Amazon DynamoDB backup",
Expand Down Expand Up @@ -110,6 +120,11 @@
"description": "Lists Bluetooth devices and their status.",
"command": "rfkill list"
},
{
"name": "c",
"description": "🟠 Section C",
"command": ""
},
{
"name": "capture.all",
"description": "Capture all packets on a specified network interface.",
Expand Down Expand Up @@ -155,6 +170,11 @@
"description": "Crack ZIP file encryption using Hashcat",
"command": "hashcat -m 13600 -a 0 @@file @@wordlist"
},
{
"name": "d",
"description": "🟠 Section D",
"command": ""
},
{
"name": "disk.dump",
"description": "Create a disk dump from a specified input device to an output file.",
Expand All @@ -175,6 +195,16 @@
"description": "Send and X number of get requests without data",
"command": "dos.spam @@domain @@times"
},
{
"name": "e",
"description": "🟠 Section E",
"command": ""
},
{
"name": "f",
"description": "🟠 Section F",
"command": ""
},
{
"name": "fhide.embed",
"description": "Hides a file within a cover image or audio file using Steghide.",
Expand Down Expand Up @@ -205,11 +235,6 @@
"description": "lsof alias",
"command": "lsof @@file"
},
{
"name": "file.str",
"description": "Strings alias",
"command": "strings @@file"
},
{
"name": "file.clean.meta",
"description": "Removes all metadata from an image to protect privacy",
Expand Down Expand Up @@ -240,6 +265,11 @@
"description": "Extracts and displays all metadata from an image file using exiftool.",
"command": "exiftool @@file"
},
{
"name": "file.str",
"description": "Strings alias",
"command": "strings @@file"
},
{
"name": "firewall.drop.bigger",
"description": "Drop all outcome port bigger than expecified port",
Expand All @@ -266,9 +296,44 @@
"command": "ftp @@address"
},
{
"name": "qrcode",
"description": "Create a QR code from the provided data.",
"command": "qrcode @@data"
"name": "g",
"description": "🟠 Section G",
"command": ""
},
{
"name": "h",
"description": "🟠 Section H",
"command": ""
},
{
"name": "i",
"description": "🟠 Section I",
"command": ""
},
{
"name": "j",
"description": "🟠 Section J",
"command": ""
},
{
"name": "k",
"description": "🟠 Section K",
"command": ""
},
{
"name": "l",
"description": "🟠 Section L",
"command": ""
},
{
"name": "m",
"description": "🟠 Section M",
"command": ""
},
{
"name": "maidz",
"description": "An cute cat girl tells you basic system information like neofetch",
"command": "maidz"
},
{
"name": "map.auth",
Expand Down Expand Up @@ -320,6 +385,11 @@
"description": "Check for specific known vulnerabilities and generally only report results if they are found.",
"command": "nmap -T3 -D RND:8 --script vuln @@target"
},
{
"name": "n",
"description": "🟠 Section N",
"command": ""
},
{
"name": "nuke.file",
"description": "Securely overwrites and deletes a file seven times, then removes it from the filesystem to prevent data recovery.",
Expand All @@ -335,11 +405,66 @@
"description": "Securely overwrites and deletes the /var/logs",
"command": "sudo find /var/log -type f -exec shred -u {} \\;"
},
{
"name": "o",
"description": "🟠 Section O",
"command": ""
},
{
"name": "p",
"description": "🟠 Section P",
"command": ""
},
{
"name": "q",
"description": "🟠 Section Q",
"command": ""
},
{
"name": "qrcode",
"description": "Create a QR code from the provided data.",
"command": "qrcode @@data"
},
{
"name": "r",
"description": "🟠 Section R",
"command": ""
},
{
"name": "s",
"description": "🟠 Section S",
"command": ""
},
{
"name": "scp.copy",
"description": "Creates a directory named 'out' and copies files from a specified folder to a remote host via SCP.",
"command": "mkdir out && scp -P @@port @@folder/* hostuser@@@ip:./out/"
},
{
"name": "search.ans",
"description": "Search ans for ipv4 and ipv6",
"command": "search.ans @@ip ip_address"
},
{
"name": "search.geoloc",
"description": "Geolocation search for coordinates",
"command": "search.geoloc @@ip ip_address"
},
{
"name": "search.ipscore",
"description": "IP scoring for security (CIN score)",
"command": "search.ipscore @@ip ip_address"
},
{
"name": "search.meta",
"description": "Social media profile search in over 1000 platforms",
"command": "search.social @@keyword nickname"
},
{
"name": "search.proxy",
"description": "Search proxy for IP routing",
"command": "search.proxy @@ip ip_address"
},
{
"name": "self.setup",
"description": "Setup and install witch_craft",
Expand Down Expand Up @@ -370,12 +495,26 @@
"description": "Sends a POST request with JSON data containing a 'main' field and a message field specified by @@message to a specified domain.",
"command": "curl -X POST -H \"Content-Type: application/json\" -d '{\"main\": \"somename\", \"@@message\": \"somemsg\"}' @@domain"
},
{
"name": "t",
"description": "🟠 Section T",
"command": ""
},
{
"name": "tldr",
"description": "The tldr command is a collection of community-maintained help pages for command-line tools from the tldr-pages project, that aims to be a simpler, more approachable complement to traditional man pages.",
"command": "tldr @@page"
},
{
"name": "u",
"description": "🟠 Section U",
"command": ""
},
{
"name": "v",
"description": "🟠 Section V",
"command": ""
},
"name": "maidz",
"description": "An cute cat girl tells you basic system information like neofetch",
"command": "maidz"
Expand Down Expand Up @@ -455,10 +594,30 @@
"description": "wtmp: Records all user logins and logouts.",
"command": "last -n 1000"
},
{
"name": "w",
"description": "🟠 Section W",
"command": ""
},
{
"name": "web.download",
"description": "Full website downloader",
"command": "wget --recursive -U 'Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0' --page-requisites --html-extension --convert-links --restrict-file-names=windows --random-wait --wait=@@wait --limit-rate=200k --tries=inf --domains example.com --no-parent @@url"
},
{
"name": "x",
"description": "🟠 Section X",
"command": ""
},
{
"name": "y",
"description": "🟠 Section Y",
"command": ""
},
{
"name": "z",
"description": "🟠 Section Z",
"command": ""
}
]
}
2 changes: 1 addition & 1 deletion spellbook/archive/dataset/sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@


with open('db.json', 'w') as outfile:
json.dump({"general": ordered_general}, outfile, indent=2)
json.dump({"general": ordered_general}, outfile, indent=4)
186 changes: 117 additions & 69 deletions spellbook/archive/evilpages/default/index.html

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion spellbook/archive/scripts/installer.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash
set -e
echo && echo "Installer"
sudo cp -nr spellbook/ /var/
sudo cp -r --update=none spellbook/ /var/
sudo chown -R $(whoami):$(whoami) /var/spellbook
sudo apt install -y chromium-browser
echo 'export WITCH_SPELLS_ROOT_DIR=/var/spellbook/archive/' >> ~/.bash_profile
export WITCH_SPELLS_ROOT_DIR=/var/spellbook/archive/
sudo cp -r witchcraft /bin/witchcraft
Loading
Loading