Skip to content

Commit

Permalink
Merge pull request #352 from p0dalirius/add-smbclientng
Browse files Browse the repository at this point in the history
  • Loading branch information
ShutdownRepo authored Jun 8, 2024
2 parents b42de7d + 4c2b620 commit b768e0c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sources/assets/shells/history.d/smbclient-ng
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
smbclientng -d "$DOMAIN" -u "$USER" -p "$PASSWORD" --target "$DC_IP"
smbng -d "$DOMAIN" -u "$USER" -p "$PASSWORD" --target "$DC_IP"
12 changes: 11 additions & 1 deletion sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,15 @@ function install_sccmwtf() {
add-to-list "sccmwtf,https://github.com/xpn/sccmwtf,This code is designed for exploring SCCM in a lab."
}

function install_smbclientng() {
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing smbclient-ng"
pipx install git+https://github.com/p0dalirius/smbclient-ng
add-history smbclient-ng
add-test-command "smbclientng --help"
add-to-list "smbclient-ng,https://github.com/p0dalirius/smbclient-ng,smbclient-ng is a fast and user friendly way to interact with SMB shares."
}

function install_conpass() {
# CODE-CHECK-WHITELIST=add-aliases
colorecho "Installing conpass"
Expand All @@ -1379,6 +1388,7 @@ function package_ad() {
local end_time
start_time=$(date +%s)
install_ad_apt_tools
install_asrepcatcher # Active Directory ASREP roasting tool that catches ASREP for users in the same VLAN whether they require pre-authentication or not
install_pretender
install_responder # LLMNR, NBT-NS and MDNS poisoner
install_ldapdomaindump
Expand Down Expand Up @@ -1474,7 +1484,7 @@ function package_ad() {
# install_PXEThief # TODO: pywin32 not found - PXEThief is a toolset designed to exploit vulnerabilities in Microsoft Endpoint Configuration Manager's OS Deployment, enabling credential theft from network and task sequence accounts.
install_sccmhunter # SCCMHunter is a post-ex tool built to streamline identifying, profiling, and attacking SCCM related assets in an Active Directory domain.
install_sccmwtf # This code is designed for exploring SCCM in a lab.
install_asrepcatcher # Active Directory ASREP roasting tool that catches ASREP for users in the same VLAN whether they require pre-authentication or not
install_smbclientng
install_conpass # Python tool for continuous password spraying taking into account the password policy.
end_time=$(date +%s)
local elapsed_time=$((end_time - start_time))
Expand Down

0 comments on commit b768e0c

Please sign in to comment.