Skip to content

Commit

Permalink
Merge branch 'master' into patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
ʛħɸʂɫɓɸƴ Twɸȩɩʛħɫʂevɘŋ authored Oct 23, 2017
2 parents 609077b + b2bc6ee commit 5cfbb4d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ Veil is current under support by @ChrisTruncer
Run `./setup.sh -c` on Linux.

Install Python 2.7, Py2Exe, PyCrypto, and PyWin32 on a Windows computer (for Py2Exe).
### For Py2Exe

> NOTE: Using Py2Exe is recommended over Pyinstaller for lower detection rate.
Install [Python 3.3](https://www.python.org/downloads/release/python-335/), [Py2Exe](https://pypi.python.org/pypi/py2exe/), [PyCrypto](http://www.voidspace.org.uk/python/modules.shtml#pycrypto), and [PyWin32](https://sourceforge.net/projects/pywin32/files/pywin32/Build%20221/) on a Windows computer.

### Quick Install

Expand Down
13 changes: 10 additions & 3 deletions setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ arg=""
errors=""
outputfolder="/usr/share/veil-output"
runuser="$(whoami)"
if [ "${os}" == "ubuntu" ] || [ "${os}" == "arch" ] || [ "${os}" == "blackarch" ] || [ "${os}" == "debian" ] || [ "${os}" == '"elementary"' ]; then
if [ "${os}" == "ubuntu" ] || [ "${os}" == "arch" ] || [ "${os}" == "blackarch" ] || [ "${os}" == "debian" ] || [ "${os}" == '"elementary"' ] || [ "${os}" == "deepin" ]; then
trueuser="$(who | tr -d '\n' | cut -d' ' -f1)"
else
trueuser="$(who am i | cut -d' ' -f1)" # If this is blank, we're actually root (kali)
Expand Down Expand Up @@ -143,7 +143,7 @@ func_package_deps(){
# Always install 32-bit support for 64-bit architectures

# Debian based distributions
if [ "${os}" == "ubuntu" ] || [ "${os}" == "debian" ] || [ "${os}" == "kali" ] || [ "${os}" == "parrot" ]; then
if [ "${os}" == "ubuntu" ] || [ "${os}" == "debian" ] || [ "${os}" == "kali" ] || [ "${os}" == "parrot" ] || [ "${os}" == "deepin" ]; then
if [ "${silent}" == "true" ]; then
echo -e "\n\n [*] ${YELLOW}Silent Mode${RESET}: ${GREEN}Enabled${RESET}\n"
arg=" DEBIAN_FRONTEND=noninteractive"
Expand Down Expand Up @@ -296,7 +296,7 @@ func_package_deps(){

# Start dependency install
echo -e "\n\n [*] ${YELLOW}Installing dependencies${RESET}"
if [ "${os}" == "debian" ] || [ "${os}" == "kali" ] || [ "${os}" == "parrot" ] || [ "${os}" == "ubuntu" ]; then
if [ "${os}" == "debian" ] || [ "${os}" == "kali" ] || [ "${os}" == "parrot" ] || [ "${os}" == "ubuntu" ] || [ "${os}" == "deepin" ]; then
sudo ${arg} apt-get -y install mingw-w64 monodevelop mono-mcs wine unzip ruby golang wget git \
python python-crypto python-pefile python-pip ca-certificates python3-pip winbind #ttf-mscorefonts-installer

Expand Down Expand Up @@ -565,6 +565,13 @@ elif [ "${os}" == "ubuntu" ]; then
echo -e " ${RED}[ERROR]: Veil-Evasion is only supported On Ubuntu 15.10 or higher!${RESET}\n"
exit 1
fi
elif [ "${os}" == "deepin" ]; then
version="$(awk -F '["=]' '/^VERSION_ID=/ {print $3}' /etc/os-release 2>&- | cut -d'.' -f1)"
echo -e " [I] ${YELLOW}Deepin ${version} ${arch} detected...${RESET}\n"
if [[ "${version}" -lt "15" ]]; then
echo -e " ${RED}[ERROR]: Veil-Evasion is only supported On Deepin 15 or higher!${RESET}\n"
exit 1
fi
elif [ "${os}" == '"elementary"' ]; then
echo -e " [I] ${YELLOW}Elementary OS ${version} ${arch} detected...${RESET}\n"
elif [ "${os}" == "debian" ]; then
Expand Down

0 comments on commit 5cfbb4d

Please sign in to comment.