Page 2 of 2 <12
Topic Options
#147820 - 2005-09-17 11:07 PM Re: Anyone written a WinFixer removal script??
thepip3r Offline
Hey THIS is FUN
*****

Registered: 2005-03-02
Posts: 350
Why does KiX DEL commnad not work but manually opening command prompt and deleting the file does? I thought the KiX implementation of DEL used the inherent command?

Side note: I just re-wrote the script using Shell '%COMSPEC' and the Del command and it worked great.

Can anyone explain that??


Edited by thepip3r (2005-09-17 11:17 PM)

Top
#147821 - 2005-09-18 10:01 AM Re: Anyone written a WinFixer removal script??
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11625
Loc: CA
Not without seeing the EXACT code that was failing. It should work fine as long as you have the path correct and the rights to remove the file and that it's not currently locked.

Did you put in any @ERROR codes to see what was going wrong?

Top
#147822 - 2005-09-19 05:19 PM Re: Anyone written a WinFixer removal script??
thepip3r Offline
Hey THIS is FUN
*****

Registered: 2005-03-02
Posts: 350
Code:
FOR EACH $x IN $DirList
IF InStr($x, "UWFX5")
SHELL '%COMSPEC% /c del /F "$DLProgFiles\$x"'
IF @ERROR = 0
$ = WriteLine(5, "- $DLProgFiles\$x" + @CRLF)
ELSE
$ = WriteLine(5, "$DLProgFiles\$x could not be deleted!" + @CRLF)
ENDIF
ELSE
$ = WriteLine(5, "$DLProgFiles\$x was not apart of WinFixer 2005!" + @CRLF)
ENDIF
NEXT



The SHELL '%comspec%' line replaced:

Code:

del /f $DLProgFiles+"\"+$x



** Side Note: In retrospect, I should've echo'd @ERROR/@SERROR when it was evaluating to else but I didn't think about that. <--- Still a noob, sorry guys.

Top
#147823 - 2005-09-19 05:27 PM Re: Anyone written a WinFixer removal script??
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
try this:
Code:
del '"'+$DLProgFiles+"\"+$x+'"' /f
"error on Delete: " @error " - " @serror ?



just to be on the safe side...
_________________________
!

download KiXnet

Top
#147824 - 2005-09-26 06:52 PM Re: Anyone written a WinFixer removal script??
cyri Offline
Getting the hang of it

Registered: 2005-06-27
Posts: 95
Is there any chance you could post your completed code up here with it writing to the log file? We have Winfixer infections happen almost daily. Mostly from different websites and we don't know how to block it. It's a pain to deal with them all, but if this script works then it could be a real time saver.

Thanks

Top
#147825 - 2005-09-26 07:55 PM Re: Anyone written a WinFixer removal script??
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
A real timesaver would be an anti-spyware application also able to do real-time protection and scheduled scans.

Something like pestpatrol from CA.
We use it and lost 99% of all the spyware sh#t on our net.
Ok, ok, it takes some money but imho it's worth its weight in gold.

Spyware is becoming a bigger problem then viruses nowadays.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#147826 - 2005-09-26 08:22 PM Re: Anyone written a WinFixer removal script??
cyri Offline
Getting the hang of it

Registered: 2005-06-27
Posts: 95
Yeah I would love nothing more than to run anti-spyware on every computer, but I work for State government. I think that says enough. By the way, we have a few licenses of the pro version of Ad-aware and it doesn't get rid of WinFixer completely. A few days after Ad-aware cleaned it up, the computer is magically re-infected.
Top
#147827 - 2005-09-26 10:50 PM Re: Anyone written a WinFixer removal script??
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11625
Loc: CA
Are your users Admins on their systems?

If it's an ActiveX you can block the activeX from installing.

Using REGSHOT or similar take a snapshot of before and after installing and protecting all with SpywareBlaster.
Then using KiX you can modify your systems to block stuff as you want.

http://www.javacoolsoftware.com/spywareblaster.html



Edited by NTDOC (2005-09-26 10:52 PM)

Top
#147828 - 2005-09-27 05:56 PM Re: Anyone written a WinFixer removal script??
cyri Offline
Getting the hang of it

Registered: 2005-06-27
Posts: 95
Thanks NTDOC I'll check it out. I like the Regshot program, was using Regmon before but I think I like this better.
Top
Page 2 of 2 <12


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1574 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.068 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org