InfectedPacket

FengOffice Download and Integrity Check

Jan 7th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. ftp -C -S do https://sourceforge.net/projects/opengoo/files/fengoffice/fengoffice_3.4.4.1/fengoffice_3.4.4.1.zip/download
  2. mv download fengoffice_3.4.4.1.zip
  3. validsum="da87a51561dcb3698271a4d6beda3e89"
  4. filesum=`md5 -q fengoffice_3.4.4.1.zip`
  5. test $filesum -eq $validsum && echo "File is valid." || echo "File is invalid."
Add Comment
Please, Sign In to add comment