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

Adding Postman to Exegol #351

Merged
merged 6 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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: 1 addition & 0 deletions sources/assets/shells/history.d/postman
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
postman &> /dev/null &
15 changes: 15 additions & 0 deletions sources/install/package_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,22 @@ function package_web() {
install_soapui # SoapUI is an open-source web service testing application for SOAP and REST
install_sqlmap # SQL injection scanner
install_sslscan # SSL/TLS scanner
install_Postman # Postman - API platform for testing APIs
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
end_time=$(date +%s)
local elapsed_time=$((end_time - start_time))
colorecho "Package web completed in $elapsed_time seconds."
}

function install_Postman() {
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
colorecho "Installing postman"
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
curl -L https://dl.pstmn.io/download/latest/linux_64 -o /tmp/postman.tar.gz
tar -xf /tmp/postman.tar.gz --directory /tmp
rm /tmp/postman.tar.gz
chown -R root:root /tmp/Postman
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
mv /tmp/Postman /opt/tools/Postman
ln -s "/opt/tools/Postman/app/Postman" "/opt/tools/bin/postman"
apt install libsecret-1-0 -y
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
add-history postman
add-test-command "which postman"
QU35T-code marked this conversation as resolved.
Show resolved Hide resolved
add-to-list "postman,https://www.postman.com/,API platform for testing APIs"
}