Page 5 of 5 FirstFirst ... 345
Results 41 to 45 of 45

Thread: Scanvirus Stable V1.00 Release

  1. #41

    Red face Re: Scanvirus Stable V1.00 Release

    Quote Originally Posted by gigi View Post
    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
    You should just use 'su -'. That way you don't have to retype the password on every scan. Usually, you do more than one at a time.

    Wrong format:

    scanvirus parm1 (uses - or --) parm2 (use letters)
    scanvirus -vl
    scanvirus -a ul (low priority scan)
    scanvirus -a hu (highest priority scan)

    Read the help menu again. It should be clear. Also, read the software license, non-commercial use only. Not that high-level business would even use it.
    Hmm, the government is technically non-profit. So, I wonder if any local governments use it. That would give me bragging rights.


    Code:
    WARNING: Clamd was NOT notified: Can't connect to clamd through /run/clamav/clamd-socket: No such file or directory
    Ignore this, clamd isn't supported yet.

    Code:
    No such file or directory
    WARNING: : Can't access file
    I've not figured out what this means yet. So, just ignore it. As far I know, it has no effect on the scans.

    It is still scanning...

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

    Thanks a lot,
    Gigi.
    'clamscan' has a huge amount features that I've not even tried yet. If you want more speed use the high speed setting. It will give the scan top priority. For slower machines, use the low setting.

    Practice until you understand all the functions and the settings for each function.

    When you're ready, i'll show you how to upgrade to latest scanvirus-beta. The gui should include all the functions. So, just focus on command line first. Play with the cfg file. Use the 'scanvirus -vf' function to open a admin file window.

    Also, v1 will expire in two months. So, i'll just repost it.








    FYI... to all reading this:

    I've managed to fix a major design flaw that causes this effect. The linux scan folder stalls.

    scantime + 1min * (scanfolders -1)

    Currently, that's another 8 mins off the general scantimes. Also, I'm working on a progress bar to the GUI.

    I'm deleting the config settings for the 'xmessage' type notification. It will be only 'xmessage' and that should be nearly every linux distro.

  2. #42

    Default Scanvirus Stable V1.00 Release

    Please update your config files and read the new help menu for the end of December release of v1.01 stable + the GUI version. I will re-post version v1.00 so it will expire end of December. Recommended for beginners.

    Scanvirus will have a GUI, but it's unstable, more design problems to fix.

    Scanvirus excluded scan folders is unstable. I can't get scan all to work, it will NOT scan /home (user) and /root (user). Using the GUI or command line, scanning those folders will need to be done manually.


    Code:
    Scan Virus
    help commands
    -------------
    scan linux and all partitions - No Auto Mount - excludes /home and /root
        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) --> not recommended for linux
        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
    ______________________________________________________________________________
    /bin – Core binaries
    /boot – Boot files
    /dev – Device files
    /etc – Configuration files
    /home – User personal data
    /lib – Shared libraries
    /media – Mount point for removable devices
    /mnt – Mount directory
    /opt – Optional software
    /proc – Process and kernel files
    /root – The home directory of the root
    /run — Application State Files
    /sbin – System binaries
    /selinux — SELinux Virtual File System
    /srv – Service data
    /sys - Sysfs is a ram-based filesystem
    /tmp – Temporary files
    /usr – User binaries and program data
    /var – Variable data files
    
    xExcludedLinuxScanFolders= .snapshots dev proc selinux srv sys
    ExcludedLinuxScanFolders= .snapshots
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    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
    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/Excluded Scan Folders
    %%  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 completed scan
    1= xmessage
    SystemNotifyMessage= 0
    ___________________________________________________________________________________
    Code:
    ______________________________scanvirus-gui configuration______________________________
    Virus Vault Menu Configuration - Use 'scanvirus --sendfoldervirusvault l'
    limit 5 users total [user# username] [user# username] [user# username] [user# username] [user# username]
    
    GUI_UserList=("0" "Root" "1" "Username1" "" "" "" "" "" "")
    ______________________________________________________________________________
    GUI Progressbar Folder Maxfiles override
    
    [/ /folder /folder /folder /folder]
    [maxfiles maxfiles maxfiles maxfiles]
    
    GUI_ProgressBar_Folders=("/" "" "")
    GUI_ProgressBar_MaxFiles=("220000" "" "")
    ______________________________________________________________________________



















    For those paying attention.... The secret is likely out, but anyway.


    'scanvirus -a' will NOT scan /home or /root folder, it must be done manually. I can't fix this design problem. However, you will notice a large decrease in scanning time. As before, it shows all excluded folders. It now includes clamscan's excluded folders.

    'scanvirus-gui' needs to be copied and setup in the same way as 'scanvirus'. It will add automaticly add the needed cfg file.

    Notes for progress bar: When it's in use. DON'T use 'control-c', use the close or cancel button. If the file counts are aren't correct, make use of the CFG file's folder/maxfiles override. It should be good enough to get the job done.

    You'll need scanvirus for the scanvirus-gui - no error checking. The scanvirus and scanvirus-gui cfg has additional information. It's best to delete them and let the new one install.

    Again, not recommended for beginners. Both have been throughly bug and design flaw tested, but that doesn't mean I didn't miss something.


    scanvirus

    https://paste.opensuse.org/187bb059


    scanvirus-gui

    https://paste.opensuse.org/621d31ea

  3. #43

    Default Re: Scanvirus Stable V1.00 Release

    The stable v1.00 is about to expire. So, this one is renewed for a year. All those new to scanvirus use this version.

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

    Read the latest help and config files to be ready for the Jan 2021 next stable release. Note: config file will change frequently. Using the stable version is recommended.


    Code:
    Scan Virus
    help commands
    -------------
    scan linux and all mounted partitions --> no auto mount + scan home and root folder clamscan fix
        p1: -a or --scanall
        p2: c   copy infected files to vault     (optional)
        p2: m   move infected files to vault     (optional) --> not recommended for linux - false positives
        p2: u   freshclam update        (optional)
        p2: l   low system priority     (optional)
        p2: h   high system priority    (optional)
        p2: n   not scan home and root  (optional)
        p2: f   scan folder             (optional)
        p2: s   suspend on end          (optional)
        p2: p   shutdown on end         (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) --> not recommended for linux -  - false positives
        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
    ______________________________________________________________________________
    /bin – Core binaries
    /boot – Boot files
    /dev – Device files
    /etc – Configuration files
    /home – User personal data
    /lib – Shared libraries
    /media – Mount point for removable devices
    /mnt – Mount directory
    /opt – Optional software
    /proc – Process and kernel files
    /root – The home directory of the root
    /run — Application State Files
    /sbin – System binaries
    /selinux — SELinux Virtual File System
    /srv – Service data
    /sys - Sysfs is a ram-based filesystem
    /tmp – Temporary files
    /usr – User binaries and program data
    /var – Variable data files
    
    ExcludedLinuxScanFolders= .snapshots
    ___________________________________________________________________________________
    LINUX scan - partition file system types
    LinuxFileSystems= btrfs xfs ext2 ext3 ext4
    ___________________________________________________________________________________
    MSWIN scan - partition file system types
    MswinFileSystems= ntfs vfat
    ___________________________________________________________________________________
    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
    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/Excluded Scan Folders
    %%  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 completed scan
    1= xmessage
    SystemNotifyMessage= 0
    ___________________________________________________________________________________

    Code:
    ______________________________scanvirus-gui configuration______________________________
    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    Virus Vault Menu Configuration - Use 'scanvirus --sendfoldervirusvault l'
    limit 5 users total [user# username] [user# username] [user# username] [user# username] [user# username]
    
    GUI_UserList=("0" "Root" "1" "Username1" "" "" "" "" "" "")
    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    GUI Progressbar folder maxfiles override
    
    [/ /folder /folder /folder /folder]
    [maxfiles maxfiles maxfiles maxfiles]
    
    GUI_ProgressBar_Folders=("/" "" "")
    GUI_ProgressBar_MaxFiles=("220000" "" "")
    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    Custom Scans - Scan System Menu
    
    GUI_Scan_System_Menu_Name=(   "Standard Linux Main" "Partition Scan MSWIN" "CustomScan1"  "CustomScan2"  "CustomScan3"  "CustomScan4"  "CustomScan5")
    GUI_Scan_System_Menu_Command=("scanvirus -a cu"     "scanvirus -m cu"      "scanvirus -h" "scanvirus -h" "scanvirus -h" "scanvirus -h" "scanvirus -h")
    -----------------------------------------------------------------------------------------------------------------------------------------------------------




























    Notes:
    On the 'scanvirus-gui' 'scan all' command, make sure to add about +10 to scanvirus file count results. The window might close if the values match. The GUI grabs the file counts. So, you won't be able to see how far the scan has progressed.
    Opensuse needs only '.snapshots' on excluded files. So, the default cfg will work.
    On the GUI, use of the 'cancel' or 'close' buttons is unstable. Don't use control-c. There might be a delay between pressing cancel and the messsage.


    You can now add custom scans with the scanvirus-gui config for frequently used scans. Both scanvirus and scanvirus-gui are paired. So, it might not work with earlier versions. Make sure to overwrite both scanvirus and scanvirus-gui. Delete both cfg files before doing anything. Either scanvirus or scanvirus-gui should be able to catch any errors in the configuation.


    scanvirus

    https://paste.opensuse.org/66a310eb

    scanvirus-gui

    https://paste.opensuse.org/05341de5

  4. #44

    Default Re: Scanvirus Stable V1.00 Release

    Hi,

    Updating/improving/bug fixing scripts is good and all, but a forum is not a proper place to post it don't you think? There are some sites that your script can be uploaded and integrated with a VCS. like gitlab and github. Just my two cents...
    "Unfortunately time is always against us" -- [Morpheus]

    .:https://github.com/Jetchisel:.

  5. #45

    Default Re: Scanvirus Stable V1.00 Release

    Quote Originally Posted by jetchisel View Post
    Hi,

    Updating/improving/bug fixing scripts is good and all, but a forum is not a proper place to post it don't you think? There are some sites that your script can be uploaded and integrated with a VCS. like gitlab and github. Just my two cents...
    No room in my head for more passwords or updating more. Upload here or not at all.



    If you don't care, post here in support. I have no problem with keeping it to myself. Posting is a lot of work and time...


    Hmm, I should try another linux distro, get more experience.

Page 5 of 5 FirstFirst ... 345

Posting Permissions

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