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

Adding pretender to Exegol-Images #295

Merged
merged 5 commits into from
Feb 10, 2024
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
5 changes: 5 additions & 0 deletions sources/assets/shells/history.d/pretender
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pretender -i "$INTERFACE" --dry
pretender -i "$INTERFACE" --dry --no-ra
pretender -i "$INTERFACE" --dry --no-ra-dns
pretender -i "$INTERFACE" --spoof "$DOMAIN"

10 changes: 10 additions & 0 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ function install_ad_apt_tools() {
add-to-list "ldapsearch,https://wiki.debian.org/LDAP/LDAPUtils,Search for and display entries (ldap)"
}

function install_pretender() {
colorecho "Installing Pretender"
go install -v github.com/RedTeamPentesting/pretender@latest
asdf reshim golang
add-history pretender
add-test-command "pretender -h"
add-to-list "pretender,https://github.com/RedTeamPentesting/pretender,an mitm tool for helping with relay attacks."
}

function install_responder() {
colorecho "Installing Responder"
git -C /opt/tools/ clone --depth 1 https://github.com/lgandx/Responder
Expand Down Expand Up @@ -1303,6 +1312,7 @@ function package_ad() {
local end_time
start_time=$(date +%s)
install_ad_apt_tools
install_pretender
install_responder # LLMNR, NBT-NS and MDNS poisoner
install_ldapdomaindump
install_crackmapexec # Network scanner
Expand Down