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

Use pipx to install DonPAPI after they moved to pyproject.toml #184

Merged
merged 4 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion sources/assets/zsh/aliases.d/donpapi

This file was deleted.

2 changes: 1 addition & 1 deletion sources/assets/zsh/history.d/donpapi
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DonPAPI.py "$DOMAIN"/"$USER":"$PASSWORD"@"$TARGET"
DonPAPI "$DOMAIN"/"$USER":"$PASSWORD"@"$TARGET"
11 changes: 4 additions & 7 deletions sources/install/package_ad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -660,14 +660,11 @@ function install_pywsus() {

function install_donpapi() {
colorecho "Installing DonPAPI"
git -C /opt/tools/ clone --depth 1 https://github.com/login-securite/DonPAPI.git
cd /opt/tools/DonPAPI
python3 -m venv ./venv/
./venv/bin/python3 -m pip install -r ./requirements.txt
add-aliases donpapi
fapt swig
python3 -m pipx install git+https://github.com/login-securite/DonPAPI
add-history donpapi
add-test-command "DonPAPI.py --help"
add-to-list "donpapi,https://github.com/login-securite/DonPAPI,Python network and web application scanner"
add-test-command "DonPAPI --help"
add-to-list "donpapi,https://github.com/login-securite/DonPAPI,Dumping revelant information on compromised targets without AV detection"
}

spameier marked this conversation as resolved.
Show resolved Hide resolved
function install_webclientservicescanner() {
Expand Down