Plugin Directory

Changeset 3443838


Ignore:
Timestamp:
01/21/2026 08:28:12 AM (2 months ago)
Author:
watchful
Message:

v2.0.9

Location:
watchful
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • watchful/tags/v2.0.9/changelog.txt

    r3439239 r3443838  
     1= v2.0.9 =
     2* Fix a bug that returned wrong file and folder permissions on Windows servers
     3
    14= v2.0.8 =
    25* Fix timeout issues while performing a vulnerability scan
  • watchful/tags/v2.0.9/lib/Audit/AbstractAudit.php

    r3439239 r3443838  
    155155        return microtime(true) - $this->start_time;
    156156    }
     157
     158    protected function is_windows(): bool
     159    {
     160        return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
     161    }
    157162}
  • watchful/tags/v2.0.9/lib/Audit/Files/FilesPermissions.php

    r3439239 r3443838  
    1111{
    1212    const MINIMUMFILESPERMISSION = 644;
    13    
     13
    1414    /**
    1515     * Audit the file system permissions.
     
    2626        $result->size = count($files);
    2727        $result->start = $start;
     28
     29        if ($this->is_windows()) {
     30            $result->end = $result->size;
     31
     32            return $result;
     33        }
    2834
    2935        $current = $start;
  • watchful/tags/v2.0.9/lib/Audit/Files/FoldersPermissions.php

    r3439239 r3443838  
    2828        $result->start = $start;
    2929
     30        if ($this->is_windows()) {
     31            $result->end = $result->size;
     32
     33            return $result;
     34        }
     35
    3036        $current = $start;
    3137        $folders_count = count($folders);
  • watchful/tags/v2.0.9/readme.txt

    r3439239 r3443838  
    8383
    8484== Changelog ==
     85= v2.0.9 =
     86* Fix a bug that returned wrong file and folder permissions on Windows servers
     87
    8588= v2.0.8 =
    8689* Fix timeout issues while performing a vulnerability scan
  • watchful/tags/v2.0.9/watchful.php

    r3439239 r3443838  
    44 * Plugin URI: https://app.watchful.net
    55 * Description: Remote Website Management Plugin by Watchful
    6  * Version: 2.0.8
     6 * Version: 2.0.9
    77 * Author: watchful
    88 * Author URI: https://watchful.net
  • watchful/trunk/changelog.txt

    r3439239 r3443838  
     1= v2.0.9 =
     2* Fix a bug that returned wrong file and folder permissions on Windows servers
     3
    14= v2.0.8 =
    25* Fix timeout issues while performing a vulnerability scan
  • watchful/trunk/lib/Audit/AbstractAudit.php

    r3439239 r3443838  
    155155        return microtime(true) - $this->start_time;
    156156    }
     157
     158    protected function is_windows(): bool
     159    {
     160        return strtoupper(substr(PHP_OS, 0, 3)) === 'WIN';
     161    }
    157162}
  • watchful/trunk/lib/Audit/Files/FilesPermissions.php

    r3439239 r3443838  
    1111{
    1212    const MINIMUMFILESPERMISSION = 644;
    13    
     13
    1414    /**
    1515     * Audit the file system permissions.
     
    2626        $result->size = count($files);
    2727        $result->start = $start;
     28
     29        if ($this->is_windows()) {
     30            $result->end = $result->size;
     31
     32            return $result;
     33        }
    2834
    2935        $current = $start;
  • watchful/trunk/lib/Audit/Files/FoldersPermissions.php

    r3439239 r3443838  
    2828        $result->start = $start;
    2929
     30        if ($this->is_windows()) {
     31            $result->end = $result->size;
     32
     33            return $result;
     34        }
     35
    3036        $current = $start;
    3137        $folders_count = count($folders);
  • watchful/trunk/readme.txt

    r3439239 r3443838  
    8383
    8484== Changelog ==
     85= v2.0.9 =
     86* Fix a bug that returned wrong file and folder permissions on Windows servers
     87
    8588= v2.0.8 =
    8689* Fix timeout issues while performing a vulnerability scan
  • watchful/trunk/watchful.php

    r3439239 r3443838  
    44 * Plugin URI: https://app.watchful.net
    55 * Description: Remote Website Management Plugin by Watchful
    6  * Version: 2.0.8
     6 * Version: 2.0.9
    77 * Author: watchful
    88 * Author URI: https://watchful.net
Note: See TracChangeset for help on using the changeset viewer.