Saya hanya pergi ke situs web vmware karena saya ingin mencoba workstation melalui virtualbox. Saya mendaftar untuk uji coba workstation dan mengklik unduhan pada versi linux 64bit . Yang diunduh adalah file txt 320 megabyteVMware-Workstation-Full-8.0.2-591240.x86_64.txt
Apa yang menyebabkannya? Adakah yang akrab dengan pola penyampaian perangkat lunak ini? Bagaimana saya menjalankannya?
Inilah awal dari file itu:
#!/usr/bin/env bash
#
# VMware Installer Launcher
#
# This is the executable stub to check if the VMware Installer Service
# is installed and if so, launch it. If it is not installed, the
# attached payload is extracted, the VMIS is installed, and the VMIS
# is launched to install the bundle as normal.
# Architecture this bundle was built for (x86 or x64)
ARCH=x64
if [ -z "$BASH" ]; then
# $- expands to the current options so things like -x get passed through
if [ ! -z "$-" ]; then
opts="-$-"
fi
# dash flips out of $opts is quoted, so don't.
exec /usr/bin/env bash $opts "$0" "$@"
echo "Unable to restart with bash shell"
exit 1
fi
set -e
ETCDIR=/etc/vmware-installer
OLDETCDIR="/etc/vmware"
### Offsets ###
# These are offsets that are later used relative to EOF.
FOOTER_SIZE=52
# This won't work with non-GNU stat.
FILE_SIZE=`stat --format "%s" "$0"`
offset=$(($FILE_SIZE - 4))
MAGIC_OFFSET=$offset
offset=$(($offset - 4))
CHECKSUM_OFFSET=$offset
offset=$(($offset - 4))
VERSION_OFFSET=$offset
offset=$(($offset - 4))
PREPAYLOAD_OFFSET=$offset
sumber
sudo chmod u+x VMware-Workstation-Full-8.0.2-591240.x86_64.txt; mv VMware-Workstation-Full-8.0.2-591240.x86_64.sh; sudo ./VMware-Workstation-Full-8.0.2-591240.x86_64.sh
Tampaknya telah melakukan trik. Tapi siapa sih yang mendistribusikan file seperti ini?