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

Add smbclient-ng #352

Merged
merged 9 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
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"
9 changes: 9 additions & 0 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,14 @@ 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() {
p0dalirius marked this conversation as resolved.
Show resolved Hide resolved
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, a fast and user friendly way to interact with SMB shares."
}

# Package dedicated to internal Active Directory tools
function package_ad() {
set_env
Expand Down Expand Up @@ -1434,6 +1442,7 @@ function package_ad() {
install_gmsadumper
install_pylaps
install_finduncommonshares
install_smbclientng
install_ldaprelayscan
install_goldencopy
install_crackhound
Expand Down
Loading