diff --git a/sources/assets/shells/history.d/pretender b/sources/assets/shells/history.d/pretender new file mode 100644 index 000000000..965a7d558 --- /dev/null +++ b/sources/assets/shells/history.d/pretender @@ -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" + diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index 116c80970..eb5e3ace5 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -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 @@ -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