Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

remove ads - i have make simple file batch


  • Please log in to reply
5 replies to this topic

#1 000

000

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:12:26 PM

Posted 05 November 2014 - 03:59 PM

Greetings to all of you , I need your help to create a batch file.
I found a way to track ads advertising server , I have to create a batch file that one click copy the contents of a text file with the server names (dns)  in the hosts file windows. and another that restores the file as originally removing the names of the servers added ; bearing in mind that the hosts file requires permits from supeuser.
Thanks so much for your help

BC AdBot (Login to Remove)

 


#2 Queen-Evie

Queen-Evie

    Official Bleepin' G.R.I.T.S. (and proud of it)


  • Staff Emeritus
  • 16,485 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:My own little corner of the universe (somewhere in Alabama). It's OK, they know me here
  • Local time:06:26 AM

Posted 05 November 2014 - 04:30 PM

Your other post has been deleted as a duplicate.



#3 000

000
  • Topic Starter

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:12:26 PM

Posted 06 November 2014 - 07:32 AM

Thanks so much , I have  solved  , fantastic  .  

 

i have simple created  2 batch file ,  ads block   -  ads sblock   ,  one copy content text file created with name server  on file hosts   , second file copy content another file  .txt  in which I had placed the original contents of the hosts file ,  so 'cleans it.

 

example :

 

@echo off

 

xcopy C:\Users\cartella\cartelle\file.txt   %WINDIR%\system32\drivers\etc\hosts  

 

I defeated ads without installing any software )


Edited by 000, 06 November 2014 - 07:33 AM.


#4 PuReinSAniTY

PuReinSAniTY

  • Members
  • 432 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:in a basement
  • Local time:08:56 PM

Posted 17 July 2015 - 05:03 AM

hmmm, intresting, how many ads does it kill?


they call me te java mayster


#5 Sintharius

Sintharius

    Bleepin' Sniper


  • Members
  • 5,639 posts
  • OFFLINE
  •  
  • Gender:Female
  • Location:The Netherlands
  • Local time:12:26 PM

Posted 17 July 2015 - 03:52 PM

This only applies to adware that modifies the hosts file to cause redirects, won't work on adware that installs itself as a program or creates malicious extension in the browser to put ads into the browser.

In the latter case (which is more common unfortunately) you will need to rely on scanners or do manual removal.

#6 PuReinSAniTY

PuReinSAniTY

  • Members
  • 432 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:in a basement
  • Local time:08:56 PM

Posted 17 July 2015 - 08:59 PM

It's still a start though alex, what do you think?


they call me te java mayster





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users