Merge pull request #401 from gkroon/veil

fixing veil argument passing, and fixing tool output
This commit is contained in:
Anton Bolshakov 2018-12-12 04:44:00 +11:00 committed by GitHub
commit 45d51b8b8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -8,6 +8,7 @@
#
##################################################################################################
import os
#################################################
#
@ -55,14 +56,14 @@ GOLANG_PATH="/usr/lib/go/"
#
#################################################
# Path to output the source of payloads
PAYLOAD_SOURCE_PATH="~/.veil/output/source/"
PAYLOAD_SOURCE_PATH=os.path.expanduser("~/.veil/output/source/")
# Path to output compiled payloads
PAYLOAD_COMPILED_PATH="~/.veil/output/compiled/"
PAYLOAD_COMPILED_PATH=os.path.expanduser("~/.veil/output/compiled/")
# Where to generate a msf handler script
HANDLER_PATH="~/.veil/output/handlers/"
HANDLER_PATH=os.path.expanduser("~/.veil/output/handlers/")
# Running hash list of all payloads generated
HASH_LIST="~/.veil/output/hashes.txt"
HASH_LIST=os.path.expanduser("~/.veil/output/hashes.txt")

View file

@ -55,7 +55,7 @@ src_install() {
newbin - veil <<-EOF
#!/bin/sh
cd /usr/lib/veil
python ./Veil.py
python ./Veil.py \${@}
EOF
}
@ -64,7 +64,5 @@ pkg_postinst(){
einfo "wine msiexec /i python-2.7.12.msi"
#https://github.com/Veil-Framework/Veil/issues/259
einfo "Please also create the follow directories:"
einfo "mkdir -p ~/.veil/output/source/"
einfo "mkdir -p ~/.veil/output/compiled/"
einfo "mkdir -p ~/.veil/output/handlers/"
einfo "mkdir -p ~/.veil/output/{compiled,handlers,source}/"
}