Avast-1.3.0 Antivirus software

Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

Avast-1.3.0 Antivirus software

#1 Post by DPUP5520 »

You can download Avast-1.3.0 here http://www.mediafire.com/file/ngsvsg3da ... -1.3.0.pet Includes script which fixes issues with updating the antivirus signature.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

User avatar
Amgine
Posts: 231
Joined: Thu 22 Sep 2011, 01:27
Location: Washington State

#2 Post by Amgine »

When I use avast it only scans the USB drive that it is on. I would like to scan the hard drive in the computer.

Would

Code: Select all

-d, --directory            Scan only directory content, no subdirectoires
changing the directory to the drive (sda1) be the correct one to use?

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#3 Post by DPUP5520 »

Um to be honest with you i'm not sure, im not on my Puppy right now, but using that will only scan the root of the drive and not the sub-directory's meaning the whole drive. I haven't used the command line for Avast for god knows how long. You do know that I have a menu entry in there for the gui right?
Anyone else wanna jump in, im heading out today for another month so I wont be available for questions anymore. later.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

User avatar
Amgine
Posts: 231
Joined: Thu 22 Sep 2011, 01:27
Location: Washington State

#4 Post by Amgine »

Thanks. I will try that.

User avatar
Amgine
Posts: 231
Joined: Thu 22 Sep 2011, 01:27
Location: Washington State

#5 Post by Amgine »

I want to be able to scan Windows computers.

ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

#6 Post by ashes »

Thank you for posting the avast.pet.

After install I have updated the virus definition file.

But when I try to run avast I get this message.

Code: Select all

# avast -a
avast: can not initialize avast! engine: Invalid argument
any idea how to make it work?


edit:

it works after reboot :)

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#7 Post by Sylvander »

Try this...

1. Into a terminal window...
Copy, paste, and enter the following line of code:

Code: Select all

/sbin/sysctl -w kernel/shmmax=130000000
Then...

2. Try again to run Avast.

User avatar
atv
Posts: 27
Joined: Wed 16 Nov 2011, 15:44
Location: Tambo, Ecuador

scan other drives that might contain MS windows on system

#8 Post by atv »

Amgine wrote:
I want to be able to scan Windows computers.
I was able to scan any mounted drive by:


From avast gui
1. navigate to /mnt/sda2 ; or any other disk (/mnt/sdb3 for example)
2. make sure Avast is set to scan all subfolders and it will scan the whole drive

a bit late but someone else may find this useful,

cheers
Last edited by atv on Wed 15 May 2013, 09:05, edited 1 time in total.

DPUP5520
Posts: 800
Joined: Wed 16 Feb 2011, 05:38

#9 Post by DPUP5520 »

ashes wrote:Thank you for posting the avast.pet.

After install I have updated the virus definition file.

But when I try to run avast I get this message.

Code: Select all

# avast -a
avast: can not initialize avast! engine: Invalid argument
any idea how to make it work?


edit:

it works after reboot :)
I probably should've mentioned that it requires a reboot after the first update since it has the fix script preinstalled when you install Avast. And yes that's correct for the last comment all you have to do is go to the root of the drive that you want to scan from the GUI and make sure Avast is set to scan all subfolders and it will scan the whole drive.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69651][b][i]PupRescue 2.5[/i][/b][/url]
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=72178][b][i]Puppy Crypt 528[/i][/b][/url]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#10 Post by bigpup »

entered in error.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

mgolden
Posts: 94
Joined: Sun 10 Aug 2014, 21:15

#11 Post by mgolden »

Has anyone managed to get Avast-1.3.0 working on Slacko Puppy 5.7?

I'm getting the "An error occured in avast! engine: Invalid argument" on both systems I've tried running it on.

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

Avast 1.3.0

#12 Post by corvus »

@mgolden
On precise 5.7.1 with a computer that has 1GB of RAM I installed avast-1.3 entered the registration key and updated the virus database which is 177 MB so I added the following line in the file: /etc/rc.d/rc.local, as suggested by other topics in this forum, but with different values:
/sbin/sysctl -w kernel/shmmax=256000000
Rebooted the computer and tried to start avast again. It worked for me.
If does not work try entering the following string in /usr/lib/avast4workstation/bin/wrapper-script.sh, as suggested by Barry Kauler:
SHMMAX = `sysctl -n kernel.shmmax`
[$ SHMMAX -lt 256000000] && sysctl -w kernel.shmmax = 256000000
Cheers. :)
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#13 Post by Sylvander »

Where within /usr/lib/avast4workstation/bin/wrapper-script.sh should those lines of code be placed?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#14 Post by Semme »

The pet files script includes:

Code: Select all

#BK insert...
#as explained here: http://www.facebook.com/topic.php?uid=38282497425&topic=14021
SHMMAX=`sysctl -n kernel.shmmax`
[ $SHMMAX -lt 128000000 ] && sysctl -w kernel.shmmax=128000000
Edit as you wish..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#15 Post by Sylvander »

Semme wrote:The pet files script includes
Which script file, included with which PET file? :(

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#16 Post by Semme »

Doesn't your Avast work? Let's see your wrapper-script.sh.

From the same directory you can >> gzip wrapper-script.sh
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#17 Post by Sylvander »

1. My avast-1.3.0 fails at the point after I enter the license_key and choose to download the database.
At the end of the database download, Avast fails.

I gzip'd the wrapper-script.sh file.
Will attempt to upload wrapper-script.sh.gz here.
OK, that uploaded, so I unpacked it back as is was before.
Attachments
wrapper-script.sh.gz
(1.62 KiB) Downloaded 263 times

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#18 Post by Sylvander »

When I run the avast command in a terminal, it is reported that the key cannot be found inside file /root/.avast/avastrc and yet I can see the key code in that file.

The terminal window avast command reports failure in detail, and asks me to enter the code, and when I do it rejects it as invalid.
And yet I've successfully used that key for years.
I have it stored within my "Acerose Password Vault", and use copy-and-paste to enter it into the Avast key window.
I've checked the key used with the key in the Pasword Vault, and they are identical.

Here's what I get at the 2nd attempt using the avast command in a terminal.

Code: Select all

# avast
avast: can not initialize avast! engine: Invalid argument
# 

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#19 Post by corvus »

@Sylvander
Attached are my wrapper-script.sh try to replace it with yours.
As riguards the key code I know that has a time limit try request another code for free version to Avast.
Hope that helps.
Attachments
wrapper-script.sh.gz
Avast wrapper-script.sh
(1.67 KiB) Downloaded 252 times
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#20 Post by Sylvander »

1. I downloaded wrapper-script.sh.gz, unpacked it, renamed the old version with an "old" ending, and replaced it with the new version.
Tried to run the installed avast-1.3.0 using the menu entry, and nothing happened.
Entered the avast command in a URXVT terminal, and got the following:

Code: Select all

# avast
bash: /usr/bin/avast: Permission denied
# 
/usr/bin/avast is only a link to /usr/lib/avast4workstation/bin/wrapper-script.sh
Checked the properties->permissions on wrapper-script.sh, and found none of the 3 had execute permissions, so I gave execute permission to all 3.

2. Re-ran the avast command and got:

Code: Select all

# avast
kernel.shmmax = 256000000
Couldn't find a registration key in ~/.avast/avastrc file!
Please register avast! at http://www.avast.com/i_kat_207.php?lang=ENG
to get the key.
NOTE: if avast! rejects the key, remove ~/.avast/avastrc file and
run this script again with a valid key.

Please enter the key here:
There was no /root/.avast/avastrc file, nor was there ANY avastrc file existing anywhere in my filesystem.
So, I made an avastrc file with the key included, and the [terminal command version of the] avast program ran and scanned, and found zero infection.

3. Used the menu entry for avast to run the program.
Took a while, but eventually appeared on screen.
Clicked "Update database", and it completed OK.
Scanned the /mnt/home directory.
Problem listed:
/mnt/home/00/Teamviewer_latest/teamviewer_linux.tar.gz/teamviewer_linux.tar
"Error while scanning - GZIP archive is corrupted"
Link to this Teamviewer archive was supplied in a PM to me by semme!
What say you semme?
Might this be why Teamviewer wouldn't work?

4. SUCCESS! :D
Avast-1.3.0 is working!
I've tried over the years to get this version working, and this is the 1st time I succeeded.
My thanks to all who assisted. :D

Post Reply