Diff
8 years ago
dashboard
7 years ago
rest-api
7 years ago
.htaccess
7 years ago
Diff.php
14 years ago
GeoLite2-Country.mmdb
7 years ago
IPTraf.php
8 years ago
IPTrafList.php
7 years ago
compat.php
8 years ago
conntest.php
7 years ago
cronview.php
8 years ago
dbview.php
8 years ago
diffResult.php
8 years ago
email_genericAlert.php
7 years ago
email_newIssues.php
7 years ago
email_unlockRequest.php
8 years ago
email_unsubscribeRequest.php
7 years ago
flags.php
7 years ago
live_activity.php
8 years ago
menu_dashboard.php
7 years ago
menu_dashboard_options.php
7 years ago
menu_firewall.php
7 years ago
menu_firewall_blocking.php
7 years ago
menu_firewall_blocking_options.php
8 years ago
menu_firewall_waf.php
7 years ago
menu_firewall_waf_options.php
7 years ago
menu_options.php
7 years ago
menu_scanner.php
7 years ago
menu_scanner_credentials.php
8 years ago
menu_scanner_options.php
8 years ago
menu_support.php
7 years ago
menu_tools.php
7 years ago
menu_tools_diagnostic.php
7 years ago
menu_tools_importExport.php
7 years ago
menu_tools_livetraffic.php
7 years ago
menu_tools_twoFactor.php
8 years ago
menu_tools_whois.php
8 years ago
menu_wordfence_central.php
7 years ago
sysinfo.php
8 years ago
unknownFiles.php
8 years ago
viewFullActivityLog.php
8 years ago
wf503.php
7 years ago
wfAPI.php
7 years ago
wfActivityReport.php
7 years ago
wfAdminNoticeQueue.php
8 years ago
wfArray.php
7 years ago
wfBrowscap.php
8 years ago
wfBrowscapCache.php
7 years ago
wfBulkCountries.php
7 years ago
wfCache.php
9 years ago
wfCentralAPI.php
7 years ago
wfConfig.php
7 years ago
wfCrawl.php
8 years ago
wfCredentialsController.php
7 years ago
wfCrypt.php
8 years ago
wfDB.php
7 years ago
wfDashboard.php
7 years ago
wfDateLocalization.php
8 years ago
wfDiagnostic.php
7 years ago
wfDict.php
8 years ago
wfDirectoryIterator.php
7 years ago
wfHelperBin.php
11 years ago
wfHelperString.php
11 years ago
wfIPWhitelist.php
7 years ago
wfImportExportController.php
7 years ago
wfIssues.php
7 years ago
wfJWT.php
7 years ago
wfLockedOut.php
7 years ago
wfLog.php
7 years ago
wfMD5BloomFilter.php
8 years ago
wfNotification.php
8 years ago
wfOnboardingController.php
7 years ago
wfPersistenceController.php
8 years ago
wfRESTAPI.php
7 years ago
wfScan.php
7 years ago
wfScanEngine.php
7 years ago
wfSchema.php
7 years ago
wfStyle.php
7 years ago
wfSupportController.php
7 years ago
wfUnlockMsg.php
7 years ago
wfUpdateCheck.php
8 years ago
wfUtils.php
7 years ago
wfVersionCheckController.php
8 years ago
wfView.php
10 years ago
wfViewResult.php
8 years ago
wordfenceClass.php
7 years ago
wordfenceConstants.php
7 years ago
wordfenceHash.php
7 years ago
wordfenceScanner.php
7 years ago
wordfenceURLHoover.php
7 years ago
diffResult.php
47 lines
| 1 | <?php if (!defined('WORDFENCE_VERSION')) { exit; } ?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <link rel='stylesheet' id='wordfence-main-style-css' href='<?php echo wfUtils::getBaseURL() . wfUtils::versionedAsset('css/diff.css'); ?>?ver=<?php echo WORDFENCE_VERSION; ?>' type='text/css' media='all' /> |
| 7 | <body> |
| 8 | <h1>Wordfence: Viewing File Differences</h1> |
| 9 | <p style="width: 800px; font-size: 16px; font-family: Verdana;"> |
| 10 | The two panels below show a before and after view of a file on your system that has been modified. |
| 11 | The left panel shows the original file before modification. The right panel shows your version |
| 12 | of the file that has been modified. |
| 13 | Use this view to determine if a file has been modified by an attacker or if this is a change |
| 14 | that you or another trusted person made. |
| 15 | If you are happy with the modifications you see here, then you should choose to |
| 16 | ignore this file the next time Wordfence scans your system. |
| 17 | </p> |
| 18 | <table border="0" style="margin: 0 0 20px 0;" class="summary"> |
| 19 | <tr><td>Filename:</td><td><?php echo wp_kses($_GET['file'], array()); ?></td></tr> |
| 20 | <tr><td>File type:</td><td><?php |
| 21 | $cType = $_GET['cType']; |
| 22 | if($cType == 'core'){ |
| 23 | echo "WordPress Core File</td></tr>"; |
| 24 | } else if($cType == 'theme'){ |
| 25 | echo "Theme File</td></tr><tr><td>Theme Name:</td><td>" . wp_kses($_GET['cName'], array()) . "</td></tr><tr><td>Theme Version:</td><td>" . wp_kses($_GET['cVersion'], array()) . "</td></tr>"; |
| 26 | } else if($cType == 'plugin'){ |
| 27 | echo "Plugin File</td></tr><tr><td>Plugin Name:</td><td>" . wp_kses($_GET['cName'], array()) . "</td></tr><tr><td>Plugin Version:</td><td>" . wp_kses($_GET['cVersion'], array()) . "</td></tr>"; |
| 28 | } else { |
| 29 | echo "Unknown Type</td></tr>"; |
| 30 | } |
| 31 | ?> |
| 32 | </table> |
| 33 | |
| 34 | <?php |
| 35 | if($diffResult){ |
| 36 | echo $diffResult; |
| 37 | } else { |
| 38 | echo "<br />There are no differences between the original file and the file in the repository."; |
| 39 | } |
| 40 | |
| 41 | ?> |
| 42 | |
| 43 | |
| 44 | <div class="diffFooter">© 2011 to <?php echo date('Y'); ?> Wordfence — Visit <a href="http://wordfence.com/">Wordfence.com</a> for help, security updates and more.</div> |
| 45 | </body> |
| 46 | </html> |
| 47 |