From Denim Tern, 2 Weeks ago, written in Bash.
  1. root@420e9867f12f:/usr/lib/file# cat /etc/magic
  2. # Magic local data for file(1) command.
  3. # Insert here your local magic data. Format is described in magic(5).
  4.  
  5. root@420e9867f12f:/usr/lib/file# rm -rf /usr/share/misc/magic*
  6. root@420e9867f12f:/usr/lib/file# rm -rf /usr/share/mime/application
  7. root@420e9867f12f:/usr/lib/file# file -i /tmp/invoice.xls
  8. /etc/magic, 1: Warning: using regular magic file `/usr/share/misc/magic'
  9. /var/www/forms/forms/common/tests/images/invoice.xls: application/msword

Replies to Untitled rss

Title Name Language When
Re: Untitled Paltry Leech bash 2 Weeks ago.
captcha