nimrook (02-16-2018)
First You Will Need: 1 Button
You May Want: 4 Labels, 1 Timer( To Change Colors Of Labels (Not Needed) )
You Will Only Need 1 Form In VB
1. Add Your Button And Name Is "Bypass The Host File" or "Bypass Ads" or whatever you want.
2. Add Your Labels And In Your First Put "Make Sure You Have Skype Closed", Your Second Put "Make Sure You Run As Admin", the 3rd put "Not Bypassed" And The Other one put whatever you want it to say.
3. Double Click The Button To Open The Code And Put This:
Dim streamWriter As System . net .StreamWriter = New System . net .StreamWriter("C:\Windows\System32\drivers\etc\hos ts")
streamWriter.WriteLine("")
streamWriter.WriteLine("0.0.0.0 spclient.wg.spotify.com")
streamWriter.WriteLine("0.0.0.0 ads.pubmatic.com")
streamWriter.WriteLine("0.0.0.0 gads.pubmatic.com")
streamWriter.WriteLine("0.0.0.0 www.googletagservices.com")
streamWriter.WriteLine("0.0.0.0 securepubads.g.doubleclick.net")
streamWriter.WriteLine("0.0.0.0 pubads.g.doubleclick.net")
streamWriter.Close()
Label3.Text = ("Successfully Bypassed!")
MessageBox.Show("Success!", "Successfully Bypassed!", MessageBoxButtons.OK)
4. In your form1_load put "Timer1.Start()"
5. Double click your timer to open the code and put:
Dim random As New Random
Button1.ForeColor = Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255))
Label1.ForeColor = Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255))
Label2.ForeColor = Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255))
Label3.ForeColor = Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255))
Label4.ForeColor = Color.FromArgb(random.Next(0, 255), random.Next(0, 255), random.Next(0, 255))
6. Done!
-Lihpse
nimrook (02-16-2018)
Maaan those labels are so trash ahahah
Even the name isn't very correct " Bypass", when you are just adding lines in the hosts file The most right title it would be "Hosts editor"
And, if I am not wrong, I think you need Administrator rights to save in the hosts file?
I like it! Thanks for sharing.
Thanks for sharing bro, this really helped me a lot
Nice! Thank you for sharing! ~(>'.')>
Opera's built-in adBlocker can remove Spotify's ads.