元数据是描述其它数据的数据(data about other data), 比如一张图片是图像数据,那么图片的拍摄时间,拍摄地点等就是它的元数据。
因为元数据包含时间,地点等个人敏感隐私数据。网上不乏有黑客通过社交照片的元数据信息追踪到用户地址,从而进行骚扰勒索等危险行动。包括此文中的博客, 上传图床前已经过脱敏处理.
# 安装
apt install mat
# 启动图形界面
mat-gui
# 查看帮助信息
mat -h
usage: mat [-h] [-a] [-b] [-L] [-c] [-d] [-l] [-v] [files [files ...]]Metadata anonymisation toolkitpositional arguments:filesoptional arguments:-h, --help show this help message and exitOptions:-a, --add2archive add to output archive non-supported filetypes (Off bydefault)-b, --backup, -b keep a backup copy-L, --low-pdf-qualityproduces a lighter, but lower quality PDFInformation:-c, --check check if a file is free of harmful metadatas-d, --display list all the harmful metadata of a file withoutremoving them-l, --list list all supported fileformats-v, --version show program's version number and exit
# 参数 -c 检查是否含有元数据
mat -c metadata.jpg[+] metadata.jpg is not clean# 参数 -d 显示元数据
mat -d metadata.jpg[+] File metadata.jpg :
Harmful metadata found:Orientation: Horizontal (normal)XMP Toolkit: XMP Core 4.4.0-Exiv2Exif Image Width: 1147Exif Image Height: 859Exif Byte Order: Little-endian (Intel, II)Software: Shotwell 0.28.4# 删除元数据
mat metadata.jpg[*] Cleaning metadata.jpg
[+] metadata.jpg cleaned!# 再次检查
mat -c metadata.jpg[+] metadata.jpg is clean
添加, 清除两步操作很简单
Portable Network Graphics (.png)JPEG (.jpg, .jpeg, …)TIFF (.tif, tiff, …)Open Documents (.odt, .odx, .ods, …)Office OpenXml (.docx, .pptx, .xlsx, …)Portable Document Fileformat (.pdf)Tape ARchives (.tar, .tar.bz2, …)MPEG AUdio (.mp3, .mp2, .mp1, …)Ogg Vorbis (.ogg, …)Free Lossless Audio Codec (.flac)Torrent (.torrent)
本文发布于:2024-02-04 15:59:07,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170711109656901.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |