Skip to content

Commit

Permalink
Merge pull request trustedsec#592 from partopronto/master
Browse files Browse the repository at this point in the history
Add new tool: go-windapsearch
  • Loading branch information
HackingDave authored Jul 26, 2022
2 parents a70d1ba + 2058b03 commit d8f588e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
37 changes: 37 additions & 0 deletions modules/intelligence-gathering/go-windapsearch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env python
#####################################
# Installation module for go-windapsearch
#####################################

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update go-windapsearch a tool to assist in Active Directory Domain enumeration through LDAP queries."

AUTHOR="Ronnie Flathers - ropnop"

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/ropnop/go-windapsearch.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="go-windapsearch"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git"

# DEPENDS FOR ARCHLINUX INSTALLS
ARCHLINUX="git,go"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="go get -u github.com/magefile/mage && cd {INSTALL_LOCATION} && mage build"

# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL
LAUNCHER="windapsearch"

# PREREQ INSTALL MODULES NEEDED FOR THIS TOOL TO WORK PROPERLY
TOOL_DEPEND=""
7 changes: 5 additions & 2 deletions modules/post-exploitation/evilwinrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@
# DEPENDS FOR FEDORA INSTALLS
FEDORA="git"

# DEPENDS FOR ARCHLINUX INSTALLS
ARCHLINUX="git, ruby"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},gem install evil-winrm"
AFTER_COMMANDS="cd {INSTALL_LOCATION},gem install evil-winrm winrm winrm-fs stringio"

# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL
LAUNCHER=""
LAUNCHER="evil-winrm"

# PREREQ INSTALL MODULES NEEDED FOR THIS TOOL TO WORK PROPERLY
TOOL_DEPEND=""
Expand Down

0 comments on commit d8f588e

Please sign in to comment.