Folder and file comparison - Techist - Tech Forum

Go Back   Techist - Tech Forum > Security | Computer, Devices, Software and Systems > General Security Topics
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 08-27-2018, 06:28 AM   #1 (permalink)
Newb Techie
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 3
Default Folder and file comparison

Hi,

My website was recently hacked because of the Ultimate Member plugin vulnerabilities.

I've restored my site to a previous backup but my host is telling me I need to compare all files and make sure there is not malicious code anywhere that could cause the hack again.

Going through every Wordpress file would take hours and hours.

I'm wondering if there is a quick way of doing this? - does anyone know of a tool I could use in Terminal or even a GUI app that will compare two folders and all sub folders and files and also compare file contents.

Thanks
James
__________________

__________________
jamessk is offline   Reply With Quote
Old 09-01-2018, 06:07 AM   #2 (permalink)
True Techie
 
Join Date: Apr 2018
Location: UK
Posts: 108
Default Re: Folder and file comparison

The zip file you used to upload to WordPress... use https://www.virustotal.com/#/home/upload to scan this zip file containing all files/folders you put on wordpress.
__________________

__________________
~Code&Anime~ is offline   Reply With Quote
Old 09-04-2018, 08:44 AM   #3 (permalink)
Private Joker
 
carnageX's Avatar
 
Join Date: Feb 2007
Location: South Dakota
Posts: 24,843
Default Re: Folder and file comparison

You can try this PowerShell script that will hash the files and compare them:
https://gist.github.com/cchamberlain...151aa1162e73f1
__________________
Laptop: MSI GT70 2OC-059us | i7-4700MQ | 16GB | GTX 770m | 500GB SSD / 750GB HDD | 17.3" | Win10 Pro
Desktop: 4690k | 12GB g.Skill RipJaws | GTX 970 | 520hx | Z87X-UD4H | Corsair Vengeance C70 | Corsair H110 | Acer 25" | Acer 22" | Win10
Mobile: Google Pixel XL


If I help you, or you just like what I said, rep me by clicking the under my post
carnageX is offline   Reply With Quote
Old 09-26-2018, 03:38 PM   #4 (permalink)
Monster Techie
 
rulezero's Avatar
 
Join Date: Jan 2015
Location: Earth
Posts: 1,722
Default Re: Folder and file comparison

Quote:
Originally Posted by carnageX View Post
You can try this PowerShell script that will hash the files and compare them:
https://gist.github.com/cchamberlain...151aa1162e73f1
Good Idea, Im going to test this out too.. will add to my list handy diagnostic tools if it works.
__________________
~Retired from Techist~
rulezero is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Structure? Home Folder, Dept Folder office politics Servers and Virtualization 1 03-24-2014 10:24 AM
Make folder read-only and child folder writable on home network Veraster Computer Networking and Internet Hardware 2 04-05-2013 10:48 AM
File/folder access within 'Documents & Settings' folder bleacheddesign Microsoft Windows and Software 4 07-02-2008 01:08 PM
A Comparison of Multiple File-Hosting Sites Osiris Tips, Tricks & Tutorials 0 05-12-2008 10:35 AM
folder comparison utility in windows xp rookie1010 Microsoft Windows and Software 4 03-16-2004 10:08 PM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 03:49 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.