MSFN Forum: Making windows SPYWARE SAFE via registry - MSFN Forum

Jump to content



  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Making windows SPYWARE SAFE via registry Rate Topic: -----

#41 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 18 February 2005 - 04:25 PM

I'll take a peek now..

Edit: Well I just spent a lot of time and I just can't believe I couldn't find it. I even went through the list of my posts (since I don't have that many). I must not have even posted in the thread I found it in. Now I feel like a complete moron after looking at the file size of this thing compressed. Sheesh. I apologize to sixpack for having not just attached this to begin with. I definately feel like a bit of a dummy right now.

Attached File(s)




#42 User is offline   sixpack 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 515
  • Joined: 29-May 04

Posted 18 February 2005 - 05:10 PM

thanks i'f finaly got it now :)

#43 User is offline   |00| 

  • Group: Members
  • Posts: 9
  • Joined: 13-April 04

Posted 19 February 2005 - 07:22 AM

look at this :

Quote

Quote

_http://www.kye-u.com/paFileDB/pafiledb.php?action=file&id=12


|00|

:thumbup

#44 User is offline   sixpack 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 515
  • Joined: 29-May 04

Posted 19 February 2005 - 09:51 AM

|00|, on Feb 19 2005, 02:22 PM, said:

look at this :

Quote



Quote

_http://www.kye-u.com/paFileDB/pafiledb.php?action=file&id=12
|00|

:thumbup
<{POST_SNAPBACK}>

i have downloaded the updater for IE-SPYAD
but how can this work?
on the off. site it say's "If you have installed a previous version of IE-ADS.REG, you should uninstall that old version before installing the new version."

#45 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 19 February 2005 - 10:38 AM

Have a look to another forum (auto update etc.), I posted a script to autoupdate blocklist, SpyIE-AD, spybot etc...

#46 User is offline   sixpack 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 515
  • Joined: 29-May 04

Posted 19 February 2005 - 11:10 AM

soulin, on Feb 19 2005, 05:38 PM, said:

Have a look to another forum (auto update etc.), I posted a script to autoupdate blocklist, SpyIE-AD, spybot etc...
<{POST_SNAPBACK}>

Umm... where is that, i cant find it?

#47 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 21 February 2005 - 04:12 AM

Finally I found it :) http://www.msfn.org/board/index.php?showtopic=39458&hl=

#48 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 22 February 2005 - 04:57 AM

I grabbed WGET and made a batch as follows:

cmdow @ /HID
@echo off

for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\WIN51 set CDROM=%%i:

REM Download blocklist.reg
CALL %CDROM%\WGET\wget.exe -P %systemdrive%\Install -N http://www.spywareguide.com/blocklist.reg -q

EGEDIT /S %systemdrive%\Install\blocklist.reg

EXIT


This works good, but is there a way to apply the .reg only if the file contains some specified info on say line 5. some sort of IF COMP = OK apply .reg. Why I'm asking is because if someone should upload a bad blocklist.reg, I dont want it to be applied. Therefore comparing the files comments at the top before applying would be a good idea.

#49 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 22 February 2005 - 05:04 AM

What do U mean bad? If U want to manually approve, you could rename files to ok-* and therefore check for "ok-" string... Sorry, probably I didnt understand question :(

#50 User is offline   BoardBabe 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,419
  • Joined: 04-October 04

Posted 22 February 2005 - 05:35 AM

WGET.exe DOWNLOAD blocklist.reg TO %systemdrive%\install OVERWRITE IF NEWER ON SERVER

IF
COMPARE LINE 5 IN FILE %CDROM%\blocklist.reg %systemdrive%\install\blocklist.reg = OK
THEN
REGEDIT /S %systmedrive\install\blocklist.reg
ELSE
REGEDIT /S %CDROM%\blocklist.reg
END IF

EXIT

That's an explanation of what i want the batch to do.
Why? Simply check if the file that was automaticly downloaded has the same header (Line 5) for a bit security. I mean this script now just downloads and implements a .reg file regardless of content.

#51 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 22 February 2005 - 10:47 AM

In circumstances like this I usually do a compare on the date modified property of the two files. I almost exclusively script with VBscript however so I'm not really sure how it would be done in batch.

The date created and date accessed are obviously useless, but the date modified is usually a pretty reliable method for comparison.

#52 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 23 February 2005 - 12:14 AM

Yep, I am using the some method in my update batch script - it is comparing date of file on server and local machine...

#53 User is offline   sixpack 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 515
  • Joined: 29-May 04

Posted 23 February 2005 - 03:55 AM

soulin, on Feb 23 2005, 07:14 AM, said:

Yep, I am using the some method in my update batch script - it is comparing date of file on server and local machine...
<{POST_SNAPBACK}>

and it's using timestamping for comparing the files

all i can say is that your batch files are working great

if you need to update alot of spyware, txt files and stuff like me, the soulin script's are made for you :thumbup


what i did use before whas this:
wget -q -t 2 -N https://netfiles.uiuc.edu/ehowes/www/res/ie-spyad.zip

unzip -q -o -u ie-spyad.zip -d temp

start /w REGEDIT /S temp\ie-ads-uninst.reg

start /w REGEDIT /S temp\ie-ads.reg


the one thing i cant figure out is, to let regedit only ad the reg files if they are new.(some sort of timestamping to)

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy