From 5f38891c068eb1cce436b69a0d6caf71807f4b2b Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 22:49:58 +0200 Subject: [PATCH 01/10] Fix sliver build (ARM) + Add history --- sources/install/package_c2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_c2.sh b/sources/install/package_c2.sh index 041db5c12..54bc85be4 100644 --- a/sources/install/package_c2.sh +++ b/sources/install/package_c2.sh @@ -42,7 +42,7 @@ function install_routersploit() { function install_sliver() { colorecho "Installing Sliver" - git -C /opt/tools/ clone --depth=1 https://github.com/BishopFox/sliver.git + git -C /opt/tools/ clone https://github.com/BishopFox/sliver.git cd /opt/tools/sliver make cp sliver-* /opt/tools/bin From 0da70029df76b7e602c87da9448e72f9ebbd8b4b Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 22:55:21 +0200 Subject: [PATCH 02/10] Add objectwalker --- sources/assets/zsh/history.d/objectwalker | 1 + sources/assets/zsh/history.d/sliver | 2 ++ sources/install/package_c2.sh | 1 + sources/install/package_misc.sh | 43 ++++++++++++++--------- 4 files changed, 30 insertions(+), 17 deletions(-) create mode 100644 sources/assets/zsh/history.d/objectwalker create mode 100644 sources/assets/zsh/history.d/sliver diff --git a/sources/assets/zsh/history.d/objectwalker b/sources/assets/zsh/history.d/objectwalker new file mode 100644 index 000000000..0747625b6 --- /dev/null +++ b/sources/assets/zsh/history.d/objectwalker @@ -0,0 +1 @@ +objectwalker -m jinja2 --filter-module os --max-depth 15 \ No newline at end of file diff --git a/sources/assets/zsh/history.d/sliver b/sources/assets/zsh/history.d/sliver new file mode 100644 index 000000000..535e9f5f7 --- /dev/null +++ b/sources/assets/zsh/history.d/sliver @@ -0,0 +1,2 @@ +sliver-server +sliver-client \ No newline at end of file diff --git a/sources/install/package_c2.sh b/sources/install/package_c2.sh index 54bc85be4..b1bbcab56 100644 --- a/sources/install/package_c2.sh +++ b/sources/install/package_c2.sh @@ -46,6 +46,7 @@ function install_sliver() { cd /opt/tools/sliver make cp sliver-* /opt/tools/bin + add-history sliver add-test-command "sliver-server help" add-test-command "sliver-client help" } diff --git a/sources/install/package_misc.sh b/sources/install/package_misc.sh index d81da6d07..2a09a299b 100644 --- a/sources/install/package_misc.sh +++ b/sources/install/package_misc.sh @@ -3,6 +3,26 @@ source common.sh +# Package dedicated to offensive miscellaneous tools +function package_misc() { + set_go_env + install_misc_apt_tools + install_goshs # Web uploader/downloader page + install_searchsploit # Exploitdb local search engine + install_shellerator # Reverse shell generator + install_uberfile # file uploader/downloader commands generator + install_arsenal # Cheatsheets tool + install_trilium # notes taking tool + install_ngrok # expose a local development server to the Internet + install_whatportis # Search default port number + install_objectwalker # Python module to explore the object tree to extract paths to interesting objects in memory +} + +function package_misc_configure() { + configure_searchsploit + configure_trilium +} + function install_misc_apt_tools() { fapt rlwrap exiftool imagemagick ascii @@ -113,21 +133,10 @@ function install_ngrok() { add-to-list "ngrok,https://github.com/inconshreveable/ngrok,Expose a local server behind a NAT or firewall to the internet" } -# Package dedicated to offensive miscellaneous tools -function package_misc() { - set_go_env - install_misc_apt_tools - install_goshs # Web uploader/downloader page - install_searchsploit # Exploitdb local search engine - install_shellerator # Reverse shell generator - install_uberfile # file uploader/downloader commands generator - install_arsenal # Cheatsheets tool - install_trilium # notes taking tool - install_ngrok # expose a local development server to the Internet - install_whatportis # Search default port number -} - -function package_misc_configure() { - configure_searchsploit - configure_trilium +function install_objectwalker() { + colorecho "Installing objectwalker" + python3 -m pipx install git+https://github.com/p0dalirius/objectwalker + add-history objectwalker + add-test-command "objectwalker --help" + add-to-list "objectwalker,https://github.com/p0dalirius/objectwalker,A python module to explore the object tree to extract paths to interesting objects in memory." } \ No newline at end of file From 078e7410196d35a335c30b46cb7e597d12ecbad3 Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 23:01:27 +0200 Subject: [PATCH 03/10] Add ldapsearch --- sources/install/package_ad.sh | 13 ++++++----- sources/install/package_misc.sh | 40 ++++++++++++++++----------------- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index 6a82bea25..fea7f1ac9 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -4,20 +4,23 @@ source common.sh function install_ad_apt_tools() { - fapt samdump2 smbclient onesixtyone nbtscan + fapt samdump2 smbclient onesixtyone nbtscan ldap-utils add-history smbclient add-history onesixtyone + add-history ldapsearch - add-test-command "samdump2 -h|& grep 'enable debugging'" # Dumps Windows 2k/NT/XP/Vista password hashes - add-test-command "smbclient --help" # Small dynamic library that allows iOS apps to access SMB/CIFS file servers - add-test-command "onesixtyone 127.0.0.1 public" # SNMP scanning - add-test-command "nbtscan 127.0.0.1" # NetBIOS scanning tool + add-test-command "samdump2 -h|& grep 'enable debugging'" # Dumps Windows 2k/NT/XP/Vista password hashes + add-test-command "smbclient --help" # Small dynamic library that allows iOS apps to access SMB/CIFS file servers + add-test-command "onesixtyone 127.0.0.1 public" # SNMP scanning + add-test-command "nbtscan 127.0.0.1" # NetBIOS scanning tool + add-test-command "ldapsearch --help|& grep 'Search options'" # Perform queries on a LDAP server add-to-list "samdump2,https://github.com/azan121468/SAMdump2,A tool to dump Windows NT/2k/XP/Vista password hashes from SAM files" add-to-list "smbclient,https://github.com/samba-team/samba,SMBclient is a command-line utility that allows you to access Windows shared resources" add-to-list "onesixtyone,https://github.com/trailofbits/onesixtyone,onesixtyone is an SNMP scanner which utilizes a sweep technique to achieve very high performance." add-to-list "nbtscan,https://github.com/charlesroelli/nbtscan,NBTscan is a program for scanning IP networks for NetBIOS name information." + add-to-list "ldapsearch,https://wiki.debian.org/LDAP/LDAPUtils,Search for and display entries (ldap)" } function install_responder() { diff --git a/sources/install/package_misc.sh b/sources/install/package_misc.sh index 2a09a299b..6c2810edf 100644 --- a/sources/install/package_misc.sh +++ b/sources/install/package_misc.sh @@ -3,26 +3,6 @@ source common.sh -# Package dedicated to offensive miscellaneous tools -function package_misc() { - set_go_env - install_misc_apt_tools - install_goshs # Web uploader/downloader page - install_searchsploit # Exploitdb local search engine - install_shellerator # Reverse shell generator - install_uberfile # file uploader/downloader commands generator - install_arsenal # Cheatsheets tool - install_trilium # notes taking tool - install_ngrok # expose a local development server to the Internet - install_whatportis # Search default port number - install_objectwalker # Python module to explore the object tree to extract paths to interesting objects in memory -} - -function package_misc_configure() { - configure_searchsploit - configure_trilium -} - function install_misc_apt_tools() { fapt rlwrap exiftool imagemagick ascii @@ -139,4 +119,24 @@ function install_objectwalker() { add-history objectwalker add-test-command "objectwalker --help" add-to-list "objectwalker,https://github.com/p0dalirius/objectwalker,A python module to explore the object tree to extract paths to interesting objects in memory." +} + +# Package dedicated to offensive miscellaneous tools +function package_misc() { + set_go_env + install_misc_apt_tools + install_goshs # Web uploader/downloader page + install_searchsploit # Exploitdb local search engine + install_shellerator # Reverse shell generator + install_uberfile # file uploader/downloader commands generator + install_arsenal # Cheatsheets tool + install_trilium # notes taking tool + install_ngrok # expose a local development server to the Internet + install_whatportis # Search default port number + install_objectwalker # Python module to explore the object tree to extract paths to interesting objects in memory +} + +function package_misc_configure() { + configure_searchsploit + configure_trilium } \ No newline at end of file From 45c84900a3a5c9d6c08ab652dd9bebe18ad647b1 Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 23:05:54 +0200 Subject: [PATCH 04/10] Add rsync --- sources/install/package_misc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/install/package_misc.sh b/sources/install/package_misc.sh index 6c2810edf..aa1917d96 100644 --- a/sources/install/package_misc.sh +++ b/sources/install/package_misc.sh @@ -4,7 +4,7 @@ source common.sh function install_misc_apt_tools() { - fapt rlwrap exiftool imagemagick ascii + fapt rlwrap exiftool imagemagick ascii rsync add-history rlwrap @@ -12,11 +12,13 @@ function install_misc_apt_tools() { add-test-command "exiftool /usr/share/pixmaps/debian-logo.png" # Meta information reader/writer add-test-command "convert -version" # Copy, modify, and distribute image add-test-command "ascii -v" # The ascii table in the shell + add-test-command "rsync -h" # File synchronization tool for efficiently copying and updating data between local or remote locations. add-to-list "rlwrap,https://github.com/hanslub42/rlwrap,rlwrap is a small utility that wraps input and output streams of executables, making it possible to edit and re-run input history" add-to-list "exiftool,https://github.com/exiftool/exiftool,ExifTool is a Perl library and command-line tool for reading, writing and editing meta information in image, audio and video files." add-to-list "imagemagick,https://github.com/ImageMagick/ImageMagick,ImageMagick is a free and open-source image manipulation tool used to create, edit, compose, or convert bitmap images." add-to-list "ascii,https://github.com/moul/ascii,ASCII command-line tool to replace images with color-coded ASCII art." + add-to-list "rsync,https://packages.debian.org/sid/rsync,File synchronization tool for efficiently copying and updating data between local or remote locations" } function install_goshs() { From df2a1c51192e17ae8d5270dd35d67b908599a7ff Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 23:10:58 +0200 Subject: [PATCH 05/10] Add openjdk-11-jdk and openjdk-17-jdk (ghidra) --- sources/install/package_base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_base.sh b/sources/install/package_base.sh index c30fa4e9c..7d5f80e6f 100644 --- a/sources/install/package_base.sh +++ b/sources/install/package_base.sh @@ -202,7 +202,7 @@ function package_base() { less x11-apps net-tools vim nano jq iputils-ping iproute2 tidy mlocate libtool \ dos2unix ftp sshpass telnet nfs-common ncat netcat-traditional socat rdate putty \ screen p7zip-full p7zip-rar unrar xz-utils xsltproc parallel tree ruby ruby-dev bundler \ - nim perl openjdk-17-jre openjdk-11-jre openjdk-11-jdk-headless openjdk-17-jdk-headless openvpn openresolv logrotate tmux tldr bat python3-pyftpdlib libxml2-utils \ + nim perl openjdk-17-jre openjdk-11-jre openjdk-11-jdk-headless openjdk-17-jdk-headless openjdk-11-jdk openjdk-17-jdk openvpn openresolv logrotate tmux tldr bat python3-pyftpdlib libxml2-utils \ virtualenv chromium libsasl2-dev python-dev libldap2-dev libssl-dev fapt-history dnsutils samba ssh snmp faketime From 8eb3f58aea2eda0b8beede825db4eae137257374 Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Tue, 6 Jun 2023 23:31:15 +0200 Subject: [PATCH 06/10] Suspend wpscan because rvm conflits with the default ruby version --- sources/install/package_web.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sources/install/package_web.sh b/sources/install/package_web.sh index b7d479b87..dee204328 100644 --- a/sources/install/package_web.sh +++ b/sources/install/package_web.sh @@ -182,12 +182,14 @@ function install_joomscan(){ function install_wpscan(){ colorecho "Installing wpscan" # TODO : Check if deps are already installed - fapt procps ruby-dev apt-transport-https ca-certificates gnupg2 - curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - - curl -sSL https://get.rvm.io | bash -s stable --ruby + # fapt procps ruby-dev apt-transport-https ca-certificates gnupg2 + # RVM conflits with default ruby env + + #curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - + #curl -sSL https://get.rvm.io | bash -s stable --ruby # TODO : gem venv - gem install nokogiri -v 1.11.4 # use this version to resolve the conflict with cewl - gem install wpscan + # gem install nokogiri -v 1.11.4 # use this version to resolve the conflict with cewl + # gem install wpscan add-history wpscan add-test-command "wpscan --help" add-to-list "wpscan,https://github.com/wpscanteam/wpscan,A tool to enumerate WordPress-based websites" @@ -645,7 +647,7 @@ function package_web() { install_fuxploider # File upload scanner # install_patator # Login scanner # FIXME install_joomscan # Joomla scanner - install_wpscan # Wordpress scanner + #install_wpscan # Wordpress scanner # FIXME install_droopescan # Drupal scanner install_drupwn # Drupal scanner install_cmsmap # CMS scanner (Joomla, Wordpress, Drupal) From 7adcf87febdd7247fcb3f1bb1fcce5dccaefa7cb Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Wed, 7 Jun 2023 00:04:58 +0200 Subject: [PATCH 07/10] Fix ysoserial download link --- sources/install/package_web.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/install/package_web.sh b/sources/install/package_web.sh index dee204328..09415e946 100644 --- a/sources/install/package_web.sh +++ b/sources/install/package_web.sh @@ -401,7 +401,7 @@ function install_gittools() { function install_ysoserial() { colorecho "Installing ysoserial" mkdir /opt/tools/ysoserial/ - wget -O /opt/tools/ysoserial/ysoserial.jar "https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar" + wget -O /opt/tools/ysoserial/ysoserial.jar "https://github.com/frohoff/ysoserial/releases/latest/download/ysoserial-all.jar" add-aliases ysoserial add-test-command "ysoserial --help|& grep 'spring-core:4.1.4.RELEASE'" add-to-list "ysoserial,https://github.com/frohoff/ysoserial,A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization." From e780ad1ad698471fe73484cd5410e162e361ffc4 Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Wed, 7 Jun 2023 01:28:25 +0200 Subject: [PATCH 08/10] Fix pth-tools install --- sources/assets/zsh/aliases.d/pth-tools | 14 +++++++------- sources/install/package_ad.sh | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/sources/assets/zsh/aliases.d/pth-tools b/sources/assets/zsh/aliases.d/pth-tools index 6fef4b5b5..638f33a6b 100644 --- a/sources/assets/zsh/aliases.d/pth-tools +++ b/sources/assets/zsh/aliases.d/pth-tools @@ -1,7 +1,7 @@ -alias pth-net='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/net' -alias pth-rpcclient='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/rpcclient' -alias pth-smbclient='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbclient' -alias pth-smbget='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbget' -alias pth-winexe='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/winexe' -alias pth-wmic='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmic' -alias pth-wmis='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmis' \ No newline at end of file +alias pth-net='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/net' +alias pth-rpcclient='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/rpcclient' +alias pth-smbclient='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbclient' +alias pth-smbget='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbget' +alias pth-winexe='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/winexe' +alias pth-wmic='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmic' +alias pth-wmis='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmis' \ No newline at end of file diff --git a/sources/install/package_ad.sh b/sources/install/package_ad.sh index fea7f1ac9..dae9daefc 100644 --- a/sources/install/package_ad.sh +++ b/sources/install/package_ad.sh @@ -423,8 +423,9 @@ function install_pth-tools() { colorecho "Installing pth-tools" if [[ $(uname -m) = 'x86_64' ]] then - fapt libreadline8 && ln -s /usr/lib/x86_64-linux-gnu/libreadline.so /usr/lib/x86_64-linux-gnu/libreadline.so.6 + fapt libreadline8 libreadline-dev git -C /opt/tools clone --depth=1 https://github.com/byt3bl33d3r/pth-toolkit + ln -s /usr/lib/x86_64-linux-gnu/libreadline.so /opt/tools/pth-toolkit/lib/libreadline.so.6 add-aliases pth-tools add-history pth-tools add-test-command "pth-net --version" From 877f0a3ea1224a7f65b6e72328ac5b9a18327c17 Mon Sep 17 00:00:00 2001 From: Alexis Martin Date: Wed, 7 Jun 2023 08:41:13 +0200 Subject: [PATCH 09/10] Fix checksec install --- sources/assets/zsh/aliases.d/checksec | 1 + sources/assets/zsh/history.d/checksec | 1 + sources/install/package_reverse.sh | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 sources/assets/zsh/aliases.d/checksec create mode 100644 sources/assets/zsh/history.d/checksec diff --git a/sources/assets/zsh/aliases.d/checksec b/sources/assets/zsh/aliases.d/checksec new file mode 100644 index 000000000..1146a1001 --- /dev/null +++ b/sources/assets/zsh/aliases.d/checksec @@ -0,0 +1 @@ +alias checksec='/opt/tools/checksec.py/venv/bin/python3 -m checksec' \ No newline at end of file diff --git a/sources/assets/zsh/history.d/checksec b/sources/assets/zsh/history.d/checksec new file mode 100644 index 000000000..6b4267c60 --- /dev/null +++ b/sources/assets/zsh/history.d/checksec @@ -0,0 +1 @@ +checksec binary.bin \ No newline at end of file diff --git a/sources/install/package_reverse.sh b/sources/install/package_reverse.sh index c36487a21..feef7db4f 100644 --- a/sources/install/package_reverse.sh +++ b/sources/install/package_reverse.sh @@ -54,7 +54,13 @@ function install_angr() { function install_checksec-py() { colorecho "Installing checksec.py" - python3 -m pipx install checksec.py + git -C /opt/tools/ clone --depth=1 https://github.com/Wenzel/checksec.py.git + cd /opt/tools/checksec.py + python3 -m venv ./venv + ./venv/bin/python3 -m pip install . + ./venv/bin/python3 -m pip install --upgrade lief + add-aliases checksec + add-history checksec add-test-command "checksec --help" add-to-list "checksec-py,https://github.com/Wenzel/checksec.py,Python wrapper script for checksec.sh from paX." } From 2efe1307e2b1a15cd2b8cfe3b27ddf2fbf7b7038 Mon Sep 17 00:00:00 2001 From: Shutdown <40902872+ShutdownRepo@users.noreply.github.com> Date: Wed, 7 Jun 2023 18:22:41 +0200 Subject: [PATCH 10/10] Reverting pth-tools alias clean --- sources/assets/zsh/aliases.d/pth-tools | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sources/assets/zsh/aliases.d/pth-tools b/sources/assets/zsh/aliases.d/pth-tools index 638f33a6b..59c355883 100644 --- a/sources/assets/zsh/aliases.d/pth-tools +++ b/sources/assets/zsh/aliases.d/pth-tools @@ -1,7 +1,7 @@ -alias pth-net='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/net' -alias pth-rpcclient='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/rpcclient' -alias pth-smbclient='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbclient' -alias pth-smbget='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbget' -alias pth-winexe='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/winexe' -alias pth-wmic='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmic' -alias pth-wmis='LD_LIBRARY_PATH="/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmis' \ No newline at end of file +alias pth-net='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/net' +alias pth-rpcclient='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/rpcclient' +alias pth-smbclient='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbclient' +alias pth-smbget='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/smbget' +alias pth-winexe='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/winexe' +alias pth-wmic='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmic' +alias pth-wmis='LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/tools/pth-toolkit/lib/:/opt/tools/pth-toolkit/lib/private/" /opt/tools/pth-toolkit/bin/wmis'