Author Topic: Context menu scan feedback  (Read 9870 times)

0 Members and 1 Guest are viewing this topic.

hrova

  • Guest
Context menu scan feedback
« on: March 09, 2005, 04:19:18 AM »
When I scan a file using the context menu, an Avast box pops up for a few seconds, then disappears. I assume that it is normal to get no feed back unless there is a virus detected. Is that correct?

Also, when I scan a single file through the context menu (say a word document or some single document), the pop up box will say "Number of Tested Files   2"  even though there was only one file (that is before the box disappears....)

Is this all normal??? Sorry I'm so new, and y'all seem so helpful....

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #1 on: March 09, 2005, 09:48:13 AM »
Yes, avast! doesn't normally show the results unless a virus is found. You can change the behavior in program settings (page "Common", the option "Show results of Explorer Extension").

As for the number of files - if you scan a single file and the dialog shows more, it means that the file is some kind of archive (ZIP, RAR, of just a packer executable, e.g. by UPX). Every "packed object" counts.

hrova

  • Guest
Re: Context menu scan feedback
« Reply #2 on: March 09, 2005, 06:12:20 PM »
Thanks....

So, would a normal *.doc or *.xls file have reason to show as two files? Do they have some internal archive - or something?

Literally, I have tried several files - which I thought were individual files - and I can't get any to show up as scanning only one file. I know that is probably not important... just a curiousity. Any input?

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #3 on: March 09, 2005, 07:42:04 PM »
Interesting... so, when you create a .txt file with Notepad, containing one word, and scan it - it will still be shown as 2 files in the result?

hrova

  • Guest
Re: Context menu scan feedback
« Reply #4 on: March 09, 2005, 08:09:14 PM »
I haven't gone that far - I don't normally use Notepad. I'll try it tonight....

But... is it normal for a plain old .xls, or even a .jpg or .pdf file to show two files scanned?

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #5 on: March 09, 2005, 08:11:46 PM »
I don't think so.

hrova

  • Guest
Re: Context menu scan feedback
« Reply #6 on: March 10, 2005, 12:29:44 AM »
I tried a plain text Notepad document - brand new document, one word in the contents, saved to desktop....

Context menu scan showed two files scanned...

I tried on second computer, similar results...

However - and this is odd... I noticed when I hand typed in the whole file name, such as "Test.txt" and saved it, it showed as scanning two files...

But, If I left Notepad's default (highlighted) .txt in there, used the back arrow to get to the front, and then typed in the file name, saved it that way, it only showed as one file being scanned...

Go figure.... and this happened on two machines at our home.....

I know.. this is a trivial thing compared to some problems people have. This is not even a problem at all, but more of a trying to figure it out type thing....

Thanks for your time... this forum is what really sold me on avast! (I was debating avast! or AVG.....)

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #7 on: March 10, 2005, 10:22:14 AM »
Well, you are right that it's probably not a big problem, but I would still like to know what's behind this :)

I have prepared a modified version of the Explorer Extension application. So, please do the following:
1. Backup the ashQuick.exe file in your avast! installation folder, if you wish
2. Download this file and put it to your avast! installation folder, overwriting the original ashQuick.exe file.
3. Now, try again to scan a file (that's showing as 2 files in the result). The modified version now pops up a messagebox for every file that's going to be scanned. Of course, it would be very annoying for scanning folders or big archives, but maybe we'll find out what is actually being scanned this way.

4. To revert to the original ashQuick.exe, either restore it from the backup, or simply invoke an avast! update (VPS or Program) - the installer will put the original version back, even though it will probably ask for restart after that.

Let me know how it goes (i.e. how many messageboxes appear and what do they show) :)

hrova

  • Guest
Re: Context menu scan feedback
« Reply #8 on: March 10, 2005, 04:48:29 PM »
I will do this, but not sure when....

Thanks.

hrova

  • Guest
Re: Context menu scan feedback
« Reply #9 on: March 11, 2005, 04:15:15 AM »
I named a text file   test.txt   and scanned using context menu... here are the pop ups and final scan stats....
« Last Edit: March 11, 2005, 04:31:41 AM by hrova »

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #10 on: March 11, 2005, 09:42:17 AM »
OK, so we know what the secret object is.
The file has an alternate data stream (NTFS ADS) - and that's what avast! scans (as an "archive").

Honestly, I don't know how the ADS got into the newly created file (I have seen similar behavior with attachments saved from Outlook Express - the files was stored with an ADS, which even seemed to vanish after system restart ???). In any case, the operating system is reporting an ADS to be present in the file, so I think it's not really an avast! problem.

I wouldn't worry much about it (even though I would like to know what/why puts the ADS there).


hrova

  • Guest
Re: Context menu scan feedback
« Reply #11 on: March 11, 2005, 04:13:50 PM »
Okay... One last question... when I put in that file you directed me to, it did what you said. I replaced it from my backup, and  on the first shut down after doing that, I got an "Error ashserv.exe"on shutdown. I've read others with that problem in these forums... But after that one shutdown, I don't seem to be getting it - just got it that once after I played in the install folder.... Would that be the randomness of that error? Or would it have something to do with playing around in the avast! folder? I had never gotten it before... and haven't gotten it in the few shotdowns since (I intentiaonlly started and shut down a couple of times to check...)

I guess that message is not uncommon and a known issue, so I shouldn't worry about it....

Again, thanks for your time. Hope y'all have a nice weekend.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Context menu scan feedback
« Reply #12 on: March 11, 2005, 04:23:14 PM »
No, the error certainly didn't have anything to do with the fact that you replaced the ashQuick file - it was just a coincidence.

mpec82

  • Guest
Re: Context menu scan feedback
« Reply #13 on: March 12, 2005, 11:04:03 AM »
Same problem, i also get 2 files scanned when i scan .txt and .doc. Let us know something.

TheEvilHammer

  • Guest
Re: Context menu scan feedback
« Reply #14 on: September 10, 2005, 10:27:14 PM »
I have also noticed this problem.  I want to add two important items to what other people have posted:

1. The "Number of tested files" count isn't always twice what it should be - it's just always really wrong.  For instance, when I scan the folder with my .mp3 files, the "Number of tested files" count goes up by 3 for every file it scans.

2. This problem is not limited to only the Explorer Extension scans.  Try performing the same "experiment" in a normal folder scan - the count will still be very wrong.

I saw in an earlier post that this problem was just written off as an operating system issue.  However, I've never seen this problem in any other virus scanner (and I've used plenty).  It would seem then that this is a specific avast! problem, wouldn't it?

Regardless of whose "fault" it is, it would be very nice to see this problem fixed in the future, as I consider it to be the only downside of the entire avast! program.  But you know what though?  If that's the only fault in this software, that's pretty damn good! :)