Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Scanvirus Stable V1.00 Release

  1. #31

    Default Re: Scanvirus Stable V1.00 Release

    Please update your cfg file for the official release at the end of December. Note the help file changes.

    Code:
    Scan Virus
    help commands
    -------------
    scan linux and all partitions - No Auto Mount
        p1: -a or --scanall
        p2: u   freshclam update      (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
        p2: f   scan folder           (optional)
    
    scan linux partitions - Auto Mount and Unmount
        p1: -l or --linux
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)*
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    scan windows partitions - Auto Mount and Unmount
        p1: -m or --mswin
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    kill all scans - kill all forground and background scanvirus and clamscan
        p1: -ksv or --killscanvirus
        
    open virus vault - Desktop: KDE & GNOME
        p1: -vf or --viewfolder
    
    backup logs - backup scanlogs with date and time
        p1: -bl or --backuplogs
        
    clean logs - remove scan canceled lines
        p1: -cl or --cleanlogs
    
    view logs
        p1: -vl or --viewlogs
        p2: l or m  mask by linux/mswin scans   (optional)
        p2: c or f  mask by clean or virus      (optional)
        p2: d       mask by date                (optional)  
        p3: year                                (optional)
        p4: month                               (optional)
        p5: day                                 (optional)
    
    view virus reports + virus files
        p1: -vr or --viewvirusreports
    
    view configuration file
        p1: -v or --version
    
    view version information
        p1: -vc or --viewcfg
    
    Copy virus folder to user #
        p1: -cv or --copyvirusvault
        p1: -mv or --movevirusvault
        p2: l  list users
        p2: user number
        p3: c  compress folder 
    
    view help file
        p1: -h or --help
    Code:
    ______________________________scanvirus configuration______________________________
    date +'%Y-%m-%d %I:%M:%S%P'
    TimeStamp= %I:%M:%S%P
    DateStamp= %Y-%m-%d
    ______________________________________________________________________________
    ExcludedScanFolders= dev etc kdeinit5__0 proc tmp srv sys var .snapshots
    ___________________________________________________________________________________
    Bash Suspend Command
    1= 'systemctl suspend' - openSUSE, Ubuntu, Fedora, Arch, Debian, etc
    2= 'pm-suspend' - Void, Gentoo, Devuan etc - pm-utils power management suite
    SuspendCommand= 1
    ___________________________________________________________________________________
    Suspend or power-off lock screen - GNOME KDE
    LockScreenCommand= 0
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    List users group filter
    UserGroupFilter= users
    ___________________________________________________________________________________
    Scan Log Format
    %o  OS Type             %s  Virus Status
    %f  Scan Folder         %n  Scan Time
    %c  Command Options     %t  Time Stamp
    %d  Date Stamp          %p  Partition Log
    %%  Print %
    ScanLogFormat= %o %s %f %n %c %t %d %p
    ___________________________________________________________________________________
    Add record into scanlogs
    ScanlogsCleanedMessage= 1
    
    Message position start end 
    ScanlogsCleanedMessagePosition= 0
    ___________________________________________________________________________________
    System notify popup on compeleted scan
    SystemNotifyMessage= 0
    ___________________________________________________________________________________















    New Feature: popup on scan completed for non-background scan. (message to all users). Recommended for single user systems only. I'll fix this later.

    Small improvements added.

    '-l' and '-m' bugs ---should--- be fixed.



    https://paste.opensuse.org/bbd02e4b

  2. #32

    Default Re: Scanvirus Stable V1.00 Release

    Code:
    scanvirusa -vc
    ______________________________scanvirus configuration______________________________
    date +'%Y-%m-%d %I:%M:%S%P'
    TimeStamp= %I:%M:%S%P
    DateStamp= %Y-%m-%d
    ______________________________________________________________________________
    ExcludedScanFolders= dev etc kdeinit5__0 proc tmp srv sys var .snapshots
    ___________________________________________________________________________________
    Bash Suspend Command
    1= 'systemctl suspend' - openSUSE, Ubuntu, Fedora, Arch, Debian, etc
    2= 'pm-suspend' - Void, Gentoo, Devuan etc - pm-utils power management suite
    SuspendCommand= 1
    ___________________________________________________________________________________
    Suspend or power-off lock screen - GNOME KDE
    LockScreenCommand= 0
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    List users group filter
    UserGroupFilter= users
    ___________________________________________________________________________________
    Scan Log Format
    %o  OS Type             %s  Virus Status
    %f  Scan Folder         %n  Scan Time
    %c  Command Options     %t  Time Stamp
    %d  Date Stamp          %p  Partition Log
    %%  Print %
    ScanLogFormat= %o %s %f %n %c %t %d %p
    ___________________________________________________________________________________
    Add record into scanlogs
    ScanlogsCleanedMessage= 1
    
    Message position start end 
    ScanlogsCleanedMessagePosition= 0
    ___________________________________________________________________________________
    System notify popup on compeleted scan
    1= xmessage
    2= kdialog -> kde desktop
    3= zenity -> gnome desktop
    4= notify-send -> (packages needed)
    SystemNotifyMessage= 0
    ___________________________________________________________________________________



    Now, it should make scan completed send to one user only. I have no way of testing if gnome-zenity works. Also, I know enough about kdialog to make a gui for scanvirus. It's not nearly as hard as it seems. The GUI will make a command line from the menus then execute it, KDE only. I only have time to do one.

    The hard part is structuring the menus so that it flows smoothly and you don't hit some commands by mistake.

    Code:
    scanvirus --gui

    WARNING! The upgraded cfg file changes will lock you out of using 'scanvirus -vf'. Don't overwrite scanvirus before you use the '-vf' command. Do it in this order only.

    Code:
    #scanvirus -vf
    #rm scanvirus.cfg
    #cp scanvirusa /usr/bin/scanvirus
    #scanvirus -v

  3. #33

    Default Re: Scanvirus Stable V1.00 Release

    The new menus and the next release of v1.01 stable.

    Code:
    scanvirus -h
    
    Scan Virus
    help commands
    -------------
    scan linux and all partitions - No Auto Mount
        p1: -a or --scanall
        p2: u   freshclam update      (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
        p2: f   scan folder           (optional)
    
    scan linux partitions - Auto Mount and Unmount
        p1: -l or --linux
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)*
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    scan windows partitions - Auto Mount and Unmount
        p1: -m or --mswin
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    kill all scans - kill all forground and background scanvirus and clamscan
        p1: -ksv or --killscanvirus
        
    open virus vault - Desktop: KDE & GNOME
        p1: -vf or --viewfolder
    
    backup logs - backup scanlogs with date and time
        p1: -bl or --backuplogs
        
    clean logs - remove scan canceled lines
        p1: -cl or --cleanlogs
    
    view logs
        p1: -vl or --viewlogs
        p2: l or m  mask by linux/mswin scans   (optional)
        p2: c or f  mask by clean or virus      (optional)
        p2: d       mask by date                (optional)  
        p3: year                                (optional)
        p4: month                               (optional)
        p5: day                                 (optional)
    
    view virus reports + virus files
        p1: -vr or --viewvirusreports
    
    view version file
        p1: -v or --version
    
    view configuration information
        p1: -vc or --viewcfg
    
    Copy virus folder to user #
        p1: -cv or --copyvirusvault
        p1: -mv or --movevirusvault
        p2: l  list users
        p2: user number
        p3: c  compress folder 
    
    view help file
        p1: -h or --help
    Code:
    scanvirus -vc
    ______________________________scanvirus configuration______________________________
    date +'%Y-%m-%d %I:%M:%S%P'
    TimeStamp= %I:%M:%S%P
    DateStamp= %Y-%m-%d
    ______________________________________________________________________________
    ExcludedScanFolders= dev etc kdeinit5__0 proc tmp srv sys var .snapshots
    ___________________________________________________________________________________
    Bash Suspend Command
    1= 'systemctl suspend' - openSUSE, Ubuntu, Fedora, Arch, Debian, etc
    2= 'pm-suspend' - Void, Gentoo, Devuan etc - pm-utils power management suite
    SuspendCommand= 1
    ___________________________________________________________________________________
    Suspend or power-off lock screen - GNOME KDE
    LockScreenCommand= 1
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    List users group filter
    UserGroupFilter= users
    ___________________________________________________________________________________
    Scan Log Format
    %o  OS Type             %s  Virus Status
    %f  Scan Folder         %n  Scan Time
    %c  Command Options     %t  Time Stamp
    %d  Date Stamp          %p  Partition Log
    %%  Print %
    ScanLogFormat= %o %s %f %n %c %t %d %p
    ___________________________________________________________________________________
    Add record into scanlogs
    ScanlogsCleanedMessage= 1
    
    Message position start end 
    ScanlogsCleanedMessagePosition= 0
    ___________________________________________________________________________________
    System notify popup on compeleted scan
    1= xmessage
    2= kdialog -> kde desktop
    3= zenity -> gnome desktop
    4= notify-send -> packages libnotify4 libnotify-tools
    SystemNotifyMessage= 0
    ___________________________________________________________________________________













    For those paying attention. This scanvirus version --should-- be stable. Always keep you last copy in case I miss any bugs. Also, I included a beta of the scanvirus-gui. It's for KDE only. With some internet searching, you should be able to figure out how to convert it to whatever desktop you want. It's very limited, but enough to do some general functions.


    scanvirus

    https://paste.opensuse.org/e21c6f5e

    scanvirus-gui
    https://paste.opensuse.org/de594ba3

  4. #34

    Default Re: Scanvirus Stable V1.00 Release

    FYI... There are some small fixes to scanvirus. The help menu '-a' was missing the 'copy virus' function. The '-a m' option was not in that code and not blocked.

    The scanvirus-gui is nearly complete. The UI is as smooth as I can make it.

    Even I can't remember all of 'scanvirus' functions. I have to constantly use the scanvirus help menu. So, the scanvirus-gui is very handy and saves time, if you don't mind navigating lots of menus.

  5. #35

    Default Re: Scanvirus Stable V1.00 Release

    Please note updated menus and cfg files for the later v1.01 release.

    Code:
    Scan Virus
    help commands
    -------------
    scan linux and all partitions - No Auto Mount
        p1: -a or --scanall
        p2: c   copy infected files to vault     (optional)
        p2: u   freshclam update      (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
        p2: f   scan folder           (optional)
    
    scan linux partitions - Auto Mount and Unmount
        p1: -l or --linux
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)*
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    scan windows partitions - Auto Mount and Unmount
        p1: -m or --mswin
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional)
        p2: u   freshclam update                 (optional)
        p2: l   low system priority   (optional)
        p2: h   high system priority  (optional)
        p2: s   suspend on end        (optional)
        p2: p   shutdown on end       (optional)
    
    kill all scans - kill all forground and background scanvirus and clamscan
        p1: -ksv or --killscanvirus
        
    open virus vault - Desktop: KDE & GNOME
        p1: -vf or --viewfolder
    
    backup logs - backup scanlogs with date and time
        p1: -bl or --backuplogs
        p2: copy --> /folder                    (optional)
        
    clean logs - remove scan canceled lines
        p1: -cl or --cleanlogs
    
    view logs
        p1: -vl or --viewlogs
        p2: l or m  mask by linux/mswin scans   (optional)
        p2: c or v  mask by clean or virus      (optional)
        p2: d       mask by date                (optional)  
        p3: year                                (optional)
        p4: month                               (optional)
        p5: day                                 (optional)
    
    view virus reports + virus files
        p1: -vr or --viewvirusreports
    
    view version file
        p1: -v or --version
    
    view configuration information
        p1: -vc or --viewcfg
    
    Copy virus folder to user #
        p1: -cv or --copyvirusvault
        p1: -mv or --movevirusvault
        p2: l  list users
        p2: user number
        p3: c  compress folder 
    
    view help file
        p1: -h or --help
    Code:
    ______________________________scanvirus configuration______________________________
    date +'%Y-%m-%d %I:%M:%S%P'
    TimeStamp= %I:%M:%S%P
    DateStamp= %Y-%m-%d
    ______________________________________________________________________________
    ExcludedScanFolders= dev etc kdeinit5__0 proc tmp srv sys var .snapshots
    ___________________________________________________________________________________
    Bash Suspend Command
    1= 'systemctl suspend' - openSUSE, Ubuntu, Fedora, Arch, Debian, etc
    2= 'pm-suspend' - Void, Gentoo, Devuan etc - pm-utils power management suite
    SuspendCommand= 1
    ___________________________________________________________________________________
    Suspend or power-off lock screen - GNOME KDE
    LockScreenCommand= 1
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    List users group filter
    UserGroupFilter= users
    ___________________________________________________________________________________
    Scan Log Format
    %o  OS Type             %s  Virus Status
    %f  Scan Folder         %n  Scan Time
    %c  Command Options     %t  Time Stamp
    %d  Date Stamp          %p  Partition Log
    %%  Print %
    ScanLogFormat= %o %s %f %n %c %t %d %p
    ___________________________________________________________________________________
    Add record into scanlogs
    ScanlogsCleanedMessage= 1
    
    Message position start end 
    ScanlogsCleanedMessagePosition= 0
    ___________________________________________________________________________________
    System notify popup on compeleted scan
    1= xmessage
    2= kdialog -> kde desktop
    3= zenity -> gnome desktop
    4= notify-send -> packages libnotify4 libnotify-tools
    SystemNotifyMessage= 0
    ___________________________________________________________________________________


















    Help menu typos fixed. '-bl' function now can send to folder.

    https://paste.opensuse.org/c6f7d5fa

    Code:
    #sha512sum scanvirus
    4e135fbba308d81273b5267406b34281a29a35b7796361eb9c1f8e3d2e51b2ff4059b849e7bb747fac52d767ce9ea1ab828b80e5cce5a6a79f506a5f9457fc25  scanvirus

    https://paste.opensuse.org/4c805160

    Code:
    #sha512sum scanvirus-gui
    4d4625f2186e543a115169d78256e4eb1bc2cf2e082487ddab1d8580bd59f008a0315af3b1bffa2a9295009fc06fede0eab97bbfa42d36eabfb57098857a7733  scanvirus-gui
    One function left 'Copy virus folder to user #'. As UI friendly as I could make it.

Page 4 of 4 FirstFirst ... 234

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •