Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions sources/assets/shells/history.d/keytabextract
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
keytabextract file.keytab
10 changes: 10 additions & 0 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,15 @@ function install_evil-winrm-py() {
add-to-list "evil-winrm-py,https://github.com/adityatelange/evil-winrm-py,Evil-WinRM. But in python"
}

function install_keytabextract() {
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing keytabextract"
wget -O /opt/tools/bin/keytabextract https://raw.githubusercontent.com/sosdave/KeyTabExtract/refs/heads/master/keytabextract.py
chmod +x /opt/tools/bin/keytabextract
add-history keytabextract
add-test-command "keytabextract |& grep keytabextract"
add-to-list "keytabextract,https://github.com/sosdave/KeyTabExtract,KeyTabExtract is a tool to extract valuable information from keytab files."

function install_daclsearch() {
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing daclsearch"
Expand Down Expand Up @@ -1677,6 +1686,7 @@ function package_ad() {
install_powerview # Powerview Python implementation
install_pysnaffler # Snaffler, but in Python
install_evil-winrm-py # Evil-Winrm, but in Python
install_keytabextract # Extract valuable information from keytab files
install_daclsearch # Exhaustive search and flexible filtering of Active Directory ACEs
post_install
end_time=$(date +%s)
Expand Down