In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Cmz@leco:~/test$ echo'1' > file1 # start file1 put 1cmz file1 echo'2'> file2 # start file2 put 2cmz collect Lectra stop md5sum file1 file2 > f1f2.md5 # put file1 and file2 fingerprint library in f1f2.md5 file cmz@leco:~/test$ ls Campus-tomcat f1f2.md5 file1 file2 fileCompression.sh logscmz@leco:~/test$ cat f1f2.md5 # check the contents of the fingerprint library b026324c6904b2a9cb4b88d6d61c81d1 file126ab0db90d72e28ad0ba1e22ee510510 file2cmz@leco:~/test$ md5sum-- check f1f2.md5 # check the fingerprint library file1: OKfile2: OK# the following view changes file 1. Change the contents of any one of the files 2. Change the contents of all files conclusion: no matter which file is changed, the fingerprint library will be checked. The description document has been tampered with. Cmz@leco:~/test$ echo "11" > file1cmz@leco:~/test$ md5sum-check f1f2.md5 file1: FAILEDfile2: OKmd5sum: WARNING: 1 computed checksum did NOT matchcmz@leco:~/test$ echo "1" > file1cmz@leco:~/test$ md5sum-check f1f2.md5 file1: OKfile2: OKcmz@leco:~/test$ echo "12" > file2cmz@leco:~/test$ md5sum-check f1f2.md5 file1: OKfile2: FAILEDmd5sum: WARNING: 1 computed checksum did NOT matchcmz@leco:~/test$ echo "2" > file2cmz Leco:~/test$ md5sum-- check f1f2.md5 file1: OKfile2: OKcmz@leco:~/test$ echo "11" > file1cmz@leco:~/test$ echo "12" > file2cmz@leco:~/test$ md5sum-- check f1f2.md5 file1: FAILEDfile2: FAILEDmd5sum: WARNING: 2 computed checksums did NOT matchcmz@leco:~/test$ echo "1" > file1cmz@leco:~/test$ echo "2" > file2cmz@leco:~/test$ md5sum-- check f1f2.md5 file1: OKfile2: OK
The above scheme can be used in static web pages, static files on the server, manually Mr. into the fingerprint library, and then compare the fingerprint library in all files. Easy to deal with to prevent documents from being tampered with.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.