Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 46

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.

  6. #36

    Default Re: Scanvirus Stable V1.00 Release

    Code:
    Copy virus folder to user #
        p1: -cv or --copyvirusvault
        p1: -mv or --movevirusvault
        p2: l  list users
        p2: user number
        p3: c  compress folder
    This method is way too complex to fuse into scanvirus-gui (not that can't code it, don't want to). I'm going to drop this in favor of the simpler 'scanvirus -a f /folder', but leave the commented out code for learning bash.

    The new function will have all the same functionality: copy,move,compress, send --> folder.

    I'm having computer issues. So, some time later...

  7. #37

    Default Re: Scanvirus Stable V1.00 Release

    Please examine the new help menu and the cfg file ahead of the end of December official release of v1.01 - Note, there maybe new config options or some removed.

    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
    
    send folder virus vault
        p1: -sv or --sendfoldervirusvault
        p2: l        list users                      (group1)
        p2: c or m   copy or move                    (group2)
        p2: x        compress folder                 (optional)
        p3:          set folder permissions to user number
        p4:          destination 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= 1
    ___________________________________________________________________________________



























    '-fvv' has been overhauled. PM me any bugs you find.

    scanvirus
    https://paste.opensuse.org/2558ad94


    It should have the best quality user interface I can make for kde. If you want other gui's, do some internet searching. It's easy to modify for any gui.

    You'll need to modify the source code to setup the GUI's user-list for the '-sv' command, set file permissions and ownership to a user.

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



  8. #38

    Default Re: Scanvirus Stable V1.00 Release

    Hello,

    First of all i'm new to linux and i know little about programming, so please have patience with me.
    I wanted to try out your script from this link https://paste.opensuse.org/2558ad94
    The idea was to give you feedback from my side.
    So I followed the instructions and hopefully i didn't miss anything.

    To launch the script i simply typed 'scanvirus' in the konsole, but sadly i get this message:
    /usr/bin/scanvirus: line 54: printf: --: invalid option
    printf: usage: printf [-v var] format [arguments]


    if i type 'sudo scanvirus' i get this message:
    /usr/bin/scanvirus: line 1562: warning: here-document at line 99 delimited by end-of-file (wanted `EOL')
    /usr/bin/scanvirus: line 1563: syntax error: unexpected end of file


    Either i did not copy all the lines but i'm pretty sure i did.
    Or i am missing some arguments something like 'scanvirus -argument'.

    I am using a virtual machine with SuseLeap for these newbie experiments.
    If it is something easy, i am looking forward to try it out.
    But if it is more complicated, i understand.

    Regards,
    Gigi.

  9. #39

    Default Re: Scanvirus Stable V1.00 Release

    Quote Originally Posted by gigi View Post
    Hello,

    First of all i'm new to linux and i know little about programming, so please have patience with me.
    I wanted to try out your script from this link https://paste.opensuse.org/2558ad94
    The idea was to give you feedback from my side.
    So I followed the instructions and hopefully i didn't miss anything.
    https://forums.opensuse.org/showthre...-V1-00-Release

    Get the v1.00 stable learn to use that first. I missed in the first post 'The instruction for install are in the script' and requires superuser install.

    save as 'scanvirus'

    #install clamav

    #Right-click on scanvirus
    #Click on properties
    #Click on permissions
    #Check executable and click ok

    #Click search -> file manager superuser mode --> click
    #Enter admin password
    #Navigate to /usr/bin/
    #move scanvirus into folder



    Code:
    To launch the script i simply typed 'scanvirus' in the konsole, but sadly i get this message:
    /usr/bin/scanvirus: line 54: printf: --: invalid option
    printf: usage: printf [-v var] format [arguments]
    
    if i type 'sudo scanvirus' i get this message:
    /usr/bin/scanvirus: line 1562: warning: here-document at line 99 delimited by end-of-file (wanted `EOL')
    /usr/bin/scanvirus: line 1563: syntax error: unexpected end of file
    
    
    Sometime bash gives errors that are not code problems. It's usually fixed on a software upgrade. The last entries are scanvirus-beta are NOT recommended for new users. I'v found some bugs in one function that were there for months. This last one might be bug-free, but I doubt it.

    Code:
    Either i did not copy all the lines but i'm pretty sure i did.
    Or i am missing some arguments something like 'scanvirus -argument'.
    
    I am using a virtual machine with SuseLeap for these newbie experiments.
    If it is something easy, i am looking forward to try it out.
    But if it is more complicated, i understand.
    
    Regards,
    Gigi.
    download
    https://paste.opensuse.org/89092388
    save as scanvirus to your home directory

    #su -
    [enter superuser password]
    cp -iv /home/scanvirus /usr/bin/scanvirus

    erase /home/scanvirus

    #scanvirus -v

    does some startup work and prints version.

    #scanvirus --help

    scanvirus is helper overlay for clamscan. It's additional functions that add much more power to it. The GUI is setup for the newest version. Learn the command line first in the v1.00

    If you have trouble with commands, my help menu will need some fixes.

  10. #40

    Default Re: Scanvirus Stable V1.00 Release

    Hello,

    Wanted to let you know that it works with your latest instructions.
    I have used the link that you provided (this one in particular: https://paste.opensuse.org/89092388).

    Code:
    sudo scanvirus -l -u
    it downloaded the virus database and it started scanning.

    Code:
    localhost:/home/gigitest/Downloads # sudo scanvirus -l -u
    ClamAV update process started at Sun May 16 10:02:18 2021
    daily database available for download (remote version: 26171)
    Time:  1m 10s, ETA:    0.0s [========================>]  101.37MiB/101.37MiB
    Testing database: '/var/lib/clamav/tmp.040f4c70b2/clamav-9fb207e1a7a872880a055cd4c826c736.tmp-daily.cvd' ...
    Database test passed.
    daily.cvd updated (version: 26171, sigs: 3979615, f-level: 63, builder: raynman)
    main database available for download (remote version: 59)
    Time:  1m 14s, ETA:    0.0s [========================>]  112.40MiB/112.40MiB
    Testing database: '/var/lib/clamav/tmp.040f4c70b2/clamav-5b3d252f87ae3a55256ee7f195fc298c.tmp-main.cvd' ...
    Database test passed.
    main.cvd updated (version: 59, sigs: 4564902, f-level: 60, builder: sigmgr)
    bytecode database available for download (remote version: 333)
    Time:    0.4s, ETA:    0.0s [========================>]  286.79KiB/286.79KiB
    Testing database: '/var/lib/clamav/tmp.040f4c70b2/clamav-4a1698d0780b3f71f2bb8002f9c26f64.tmp-bytecode.cvd' ...
    Database test passed.
    bytecode.cvd updated (version: 333, sigs: 92, f-level: 63, builder: awillia2)
    WARNING: Clamd was NOT notified: Can't connect to clamd through /run/clamav/clamd-socket: No such file or directory
    
    .....Scanning linux - Clamscan Engine.....
    Start 10:05:00am 2021-05-16
    __________________________________________________
    Scanning bin
    No such file or directory
    WARNING: : Can't access file
    ----------- SCAN SUMMARY -----------
    Known viruses: 8529240
    Engine version: 0.103.2
    Scanned directories: 1
    Scanned files: 128
    Infected files: 0
    Data scanned: 11.70 MB
    Data read: 19.08 MB (ratio 0.61:1)
    Time: 17.102 sec (0 m 17 s)
    Start Date: 2021:05:16 10:05:00
    End Date:   2021:05:16 10:05:17
    It is still scanning...
    I get this error for some files
    Code:
    WARNING: : Can't access file
    I suppose because file in use or something like that.

    Used the --help command, the text user interface is intuitive, no issues there.
    I will play arround with scanvirus.

    Thanks a lot,
    Gigi.

Page 4 of 5 FirstFirst ... 2345 LastLast

Posting Permissions

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