-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

Antivirus Scan with F-Prot

   0.5  

KDE Service Menu

Score 61%
Antivirus Scan with F-Prot
zoom


Antivirus Scan with F-Prot
zoom


Link:  http://
Downloads:  7489
Submitted:  Nov 13 2004
Updated:  Aug 13 2006

Description:

This is a simple servicemenu for konqueror that allows to scan single or multiple files and folders using the F-Prot Antivirus. It shows the result of the scanning in a textbox using kdialog. It can also show the progress of the scanning in a terminal.

I hope you may find it useful.
Comments or/and translations are welcome.

TO INSTALL: extract the content of the tarball and copy the file f-prot_virus_scan.desktop into ~/.kde/share/apps/konqueror/servicemenus (just for your user) or in /usr/share/apps/konqueror/servicemenus, /opt/kde/share/apps/konqueror/servicemenus... etc, depending on your distro, to make it system-wide.
This is only the service-menu, you need to have F-Prot antivirus installed on your system.




Changelog:

13-Ago-2006
Added Danish translation by Kefeus

24-Sep-2005
Added Swedish translation by DigiHzData

18-Jan-2005
FIXED an important bug: till now it didn't show Kdialog message if a virus was detected, because in that case, f-prot return a non-zero value so the "&&" connector didn't work. Changed to ";"

If nobody has reported it, that's good! All of you are virus-aware. I've found it after installing Vir-dows XP (to give it a try) and yeap, my f-prot becomed very happy with it. Like a police-dog in a drug factory.

29-Dec-2004
French Translation by Habana. Merci!

27-Nov-2004
Italian right translation for new submenus. Thanks Mario.

22-Nov-2004 (v0.4)
Now servicemenu has a submenu with two options:
* Show results: like previous behaviour, it shows a textbox with the log of the F-Prot scanning. I've changed again the temp dir to /tmp/kde-user in the hope that it will work in certain systems it didn't.
* Show progress (in terminal): which actually executes F-Prot in a terminal with the "-l" option (it lists the files been scanned). It may be more usefull when scanning large directories or even full drives.

Thanks to Mario for Italian translation and Patrick for Deutsche (German) one. I've tried to guess translations for new submenus. If they hurt your eyes please tell me some correct ones.

20-Nov-2004
Now temporal file is allocated in /tmp/kde-user directory, as suggested.

13-Nov-2004
Servicemenu released




LicenseGPL
Send to a friend
Subscribe
Other  Artwork  from isma
Report inappropriate content



goto page:  1  2  3  4 

-
.

 Nice!

 
 by Xanadu on: Nov 13 2004
 
Score 50%

(OK, OK, I haven't actually *used* it yet, but...)

This is a great idea! Again, I can't honestly say if it works or not as I haven't "installed" it yet (this extension or fprot), but, I really like this idea. It's very handy in a *NIX controlled, Windows domain. Hell, it's a great idea to just have to ummm... "assist" in the recovery of a Win* box... (heh :-) )

Nice!

P.S.
Before any one says "you can do all this without this menu item", yes, I'm full aware of this. I'm looking at it from the perspective of showing someone (victim) a nice pretty GUI and in a few mouse clicks are able to 100% fix their Win* Box.
Again, Nice!


Linux aragorn 2.4.27-gentoo-r2 #3 Fri Nov 12 22:36:50 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntelGNU/Linux
palermo@a

Reply to this

-

 Great!

 
 by 570214 on: Nov 13 2004
 
Score 50%

..says it all!

Thank you.


Reply to this

-

 Re: Great!

 
 by john007 on: Nov 14 2004
 
Score 50%

I'll second that. Cheers!


Reply to this

-

 Thanks a lot!!!

 
 by ldonesty on: Nov 14 2004
 
Score 50%

Nice work!
Could you add this for italian traslation?

Name[it]=Scansione con F-Prot Antivirus

Thanks again.


Reply to this

-

 Better using mktemp

 
 by cirkus on: Nov 19 2004
 
Score 50%

It'd be better if you used mktemp to create the temporary file, or at least using the temporary directory for the user (/tmp/kde-user), otherwise a user could create a symbolic link pointing at one of your favorites files (i.e. /etc/passwd) and you'd overwrite it...

Please, correct me if I'm wrong..

Something like this should work:

Exec=set TEMP=$(mktemp /tmp/fprotXXXXXX) && f-prot %U > $TEMP && kdialog --textbox $TEMP --caption "`head -1 $TEMP`" --icon=viewmag 600 400


Reply to this

-

 Re: Better using mkt

 
 by isma on: Nov 20 2004
 
Score 50%

Hi! I've not been able to make mktemp work in the servicemenu. I think it's because it cannot set the shell variable properly as it would do in a shell script. I think that current temporal name: fprot-user.log its descriptive enough not to override any other user temp file or symlink.

Anyway, I've moved the temporal file to the /tmp/kde-user dir (via the ~/.kde/tmp-box symlink)as you suggest becuase it's a better way to "isolate" the temp file between users. I didn't notice that way before so thanks. I expect nobody has problems with that temporal name.

Greets.


Reply to this

-
.

 Problems

 
 by BorgQueen on: Nov 20 2004
 
Score 50%

Hi,
It doesn't work on my RH9 system. The menu item is there but when I click on it, no term appears. There doesn't seem to be any activity at all.

Any ideas?

Cheers,

Borg Queen
(Linux, resistance is futile)


Reply to this

-

 Re: Problems

 
 by isma on: Nov 20 2004
 
Score 50%

Hi! I don't know why doesn't it work in your system. Make sure you have F-Prot Antivirus properly installed. It can be downloaded from http://www.f-prot.com/download/home_user/download_fplinux.html, where you have either the tar.gz file or the RPM package. It's not free software but it's freely (free of charge) available and updatable. In debian there is a package f-prot-installer which does not actually installs the software (due to license restrictions) but makes it easy to download from the vendors site. I think there can be a similar package for RH.

If the antivirus is properly installed (exists /usr/bin/f-prot or so) There can be a problem with kdialog or temporal files. If this is your case please test whether f-prot.user.log is in your /tmp folder (/tmp/kde-"user" in last version).


Reply to this

-
.

 FTP Download Site

 
 by isma on: Nov 20 2004
 
Score 50%

Hi again. After writing the last message, I've found another dowload site for F-Prot Antivirus via its FTP server. It makes you doesn't need to register your data to dowload it. The FTP folder is ftp://f-prot.com/pub/linux/


Reply to this

-
.

 fprot is installed

 
 by BorgQueen on: Nov 21 2004
 
Score 50%

Hi fprot is install and so is q-fprot. I've been using it to scan for win viruses for friends when they computers go down. I must say that to date, it's caught all of them. So I know it's installed and working. The executable is in /usr/bin, and readily accessible by all users.

So I don't think that's the problem.

Can you do a little research? It would be nice to have such an easy to use item. It helps me to convert more crack monkeys (whineDOH!s users). It's a lot easier to save a crack monkey when you can show them a point and click environment until they learn the command line is their friend.

The Borg Queen


Reply to this

-

 Re: fprot is install

 
 by kevryn on: Nov 21 2004
 
Score 50%

Same here on FreeBSD 4-STABLE. f-prot is installed to /usr/bin/ and working fine for all users, but the service menu does nothing.


Reply to this

-
.

 kevryn check version

 
 by BorgQueen on: Nov 21 2004
 
Score 50%

Hi kevryn,

So you're in the same boat? Ok I checked out the ftp sight isma (thanks isma), suggested to see if it was the same one I have bookmarked. It is. However, I noticed a newer version of fprot there. Perhaps we have the wrong version? That's all I can think it. Odds are it doesn't matter but what the heck, worth a shot.

Isma, can you find someone close to you with a FBSD and RH machine you can test your servicemenu on? It would be greatly appreciated.

Thanks,

The Borg Queen


Reply to this

-

 Testing on RH & FBSD

 
 by isma on: Nov 21 2004
 
Score 50%

Sorry but it's impossible for me to test on those OS since I don't know anyone using them. So I ask for your help making a little test (just to see where can be the problem). I think the problem may be in the shell interpreter used internally by konqueror on your systems, that may use a little bit syntax than mine one (/bin/sh, symlink pointing to bash).

I'd like you to test every command in the Exec line by itself, using a shell terminal:

f-prot "anyfile" > ~/.kde/tmp-box/f-prot.${USER}.log
This should work as you have said before

cat ~/.kde/tmp-box/f-prot.${USER}.log
Just to see if the temporal file with the info is there

kdialog --textbox ~/.kde/tmp-box/f-prot.${USER}.log --caption "`head -1 ~/.kde/tmp-box/f-prot.${USER}.log`" --icon=viewmag 600 400
The last thing and probably the one failing. If the other things work and this doesn't, please try this simplified line:
kdialog --textbox ~/.kde/tmp-box/f-prot.${USER}.log

It'll be very helpful if you can test this few lines and tell me what's not working. Sorry that I can't test this by myself. If any other RH or FBSD user (or from other systems) has this same problem and want to give a little hand, please try this as well. Greets.


Reply to this

-
.

 Command Line Test

 
 by BorgQueen on: Nov 21 2004
 
Score 50%

Hi Isma,

First off thank you for your help. You're responses to our requests for help are what make OpenSource a greater than properietary software. Granted not all coders/developers responde, or have the time to responde but that's a rare thing. So again, thank you.

Here are there responses from each command in order.
f-prot "anyfile" > ~/.kde/tmp-box/f-prot.${USER}.log
Works fine after I created /.kde/tmp-box.
There's a log file and I can cat it.

kdialog --textbox ~/.kde/tmp-box/f-prot.${USER}.log --caption "`head -1 ~/.kde/tmp-box/f-prot.${USER}.log`" --icon=viewmag 600 400
This works, I get the popup dialog with the log.

kdialog --textbox ~/.kde/tmp-box/f-prot.${USER}.log
This works too.

So that's seems to resolve it. Which on if the two (of the last commands) should I use. I have a feeling ti's the first one, the one you thought wouldn't work LOL.

Waiting to hear from you and thanks,

The Borg Queen



-
.

 Found The Problem

 
 by BorgQueen on: Nov 21 2004
 
Score 50%

Ok here's what I've found. This is the portion of the commandt that doesn't work "f-prot %U > ~/.kde/tmp-box/f-prot.${USER}.log"
The pop up dialog isn't the problem as far as I can see. The above command just doesn't exec. f-prot doesn't leave a log in ~/.kde/tmp-box
It does if I replace it with a specific dir but that isn't practical.
When I use just f-prot %U > ~/.kde/tmp-box/f-prot.${USER}.log from within any give directory, it doesn't do anything. Maybe that's the wrong way to test it but that's all I could come up with.
Any ideas?

The Borg Queen



-
.

 Log output

 
 by BorgQueen on: Nov 22 2004
 
Score 50%

I should have included this
Virus scanning report - 21 November 2004 @ 16:21
F-PROT ANTIVIRUS
Program version: 4.4.8
Engine version: 3.14.13
VIRUS SIGNATURE FILES
SIGN.DEF created 19 November 2004
SIGN2.DEF created 19 November 2004
MACRO.DEF created 15 November 2004
Search: %U
Action: Report only
Files: "Dumb" scan of all files
Switches: -ARCHIVE -PACKED -SERVER
Error on reading %U
Results of virus scanning:
Files: 0
MBRs: 0
Boot sectors: 0
Objects scanned: 0
Time: 0:00
No viruses or suspicious files/boot sectors were found.



-
.

 Found my problem

 
 by kevryn on: Nov 22 2004
 
Score 50%

It helps to look at the script sometimes. The name of the tmp directory in the script didn't match the one I have, so I fixed the script to use the proper tmp directory and it works. Cool!



-
.

 Everything's OK?

 
 by isma on: Nov 22 2004
 
Score 50%

Well, then I supose all the problems come because of the temp directory. I'll try to find a way to use one valid for (almost) all the systems. If you can find one working for you.. great! BorgQueen, if you've find that every line works by itself then it should work alltogether. Don't mind the f-prot %U ... doesn't seem to work. The %U is replaced by all files selected when choosing the servicemenu.

PS: I didn't think before that a little update like this could give any problem. This makes me really appreciate the work of all that developers submitting real good apps and taking care of all the bugs and wishes. OpenSource Rules... XD



-
.

 Nope, Not working

 
 by BorgQueen on: Nov 22 2004
 
Score 50%

the %U doesn't seem to be working. When I open a term and replace it with a dir path, it works. For example I use /home/userme in the command string, it works. If I leave the %U, it doesn't.

Any ideas?

Thanks,

The Borg Queen
(Hardware is so much easier)


Reply to this

-
.

 Re: Nope, Not workin

 
 by isma on: Nov 22 2004
 
Score 50%

Oh, so I don't know what can it be the problem then... I understood all the commands worked well by itself, and also the servicemenu, once you have created the temporal folder. The %U is intended only to work when you use the servicemenu.

Anyway I'll submit a new .desktop file, with an option to see the progress of scanning in a terminal window. (It only executes f-prot in a konsole window but may be also useful) It does not use temp files so maybe it works for you...



-
.

 Re: Nope, Not working

 
 by BorgQueen on: Nov 23 2004
 
Score 50%

Well the other commands worked except the one containing %U. "f-prot %U > ~/.kde/tmp-box/f-prot.${USER}.log "
That doesn't work unless I replace the %U with an actual dir.

I hope that helps.

The Borg Queen



-
.

 Still Not Working

 
 by BorgQueen on: Nov 23 2004
 
Score 50%

I just DLed the latest servicemenu, but it still doesn't work. No konsole, nothing.

Oh well. Thanks anyway.

The Borg Queen



-
.

 permissions

 
 by isma on: Nov 23 2004
 
Score 50%

Well, if any of both options works I just really don't know why. The last thing we can test is permissions. Make sure the desktop fil has permissions for ll the users: chmod +rw /usr/share/apps/konqueror/servicemenus/f-prot_virus_scan.desktop

I think permissions are ok but just to test...
If it doesn't work, unfortunately I can't tell you what else to do. Perhaps migrating to debian... ;p

So then, greets.



-

 Guess I'm a dummy

 
 by earlycj5 on: Nov 21 2004
 
Score 50%

I don't see how to install or use this?

Yes, I have f-prot installed.


Reply to this

-

 Re: Guess I'm a dumm

 
 by isma on: Nov 21 2004
 
Score 50%

Ok, as any other servicemenu it's quite easy to install:
1.- Extract the .desktop file that is in the .tar.bz2 package you download (for example, by using ark or any of the thousands ways that KDE provides to make it easy).
2.- Then copy that .desktop file to directory /usr/share/apps/konqueror/servicemenus and you'll have it working (I expect so) in konqueror.

That directory is the one used in debian. I don't know if the other distributions will use the same one. If you don't know you can search for it (locate servicemenus)


Reply to this

-

 Re: Re: Guess I'm a

 
 by earlycj5 on: Nov 21 2004
 
Score 50%

Never installed a service menu.

Thanks for the help!


Reply to this

goto page:  1  2  3  4 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.