Jump to content

How to make Browser homepage changing programme?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
theblackcode

theblackcode

    Newbie

  • Members
  • Pip
  • 2 posts
Hello all,

probably a VERY n00b question. But i would like to make a lil tool which all does is just change (registry) of the system to change the homepage of a browser. Can i get the codes of this tool?

Many thanks!
regards
John

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
Depends on what operating system and what browser. Care to specify?
sudo rm -rf /

#3
theblackcode

theblackcode

    Newbie

  • Members
  • Pip
  • 2 posts
YES!

I am wishing for Windows 2000/XP/Vista

Broswers to be Internet Explorer and Firefox Mozilla

Many Thanks!

#4
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
Well, have fun getting it to work on Vista...the security system is a pain in the butt, let me tell you. You'll need to change the following registry key for IE6 & IE7:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main "Start Page" = "www.whatever.com"

There are issues with Vista, though:

Quote

I posted earlier about the login script not working with IE 7.0. My fault, I did not take the OS into consideration when I was testing. Because I tested IE 6 on XP and IE 7 on Vista. IE 7.0 on XP works fine. The problem is with Vista. It turns out that nothing that is in the login script works on a VISTA machine, except for the drive mapping, so anything else that has to do with changing the registry on the vista machine will not work. The only workaround (which is not a solution and defeats the purpose of having Vista in the first place) is that I needed to disable UAC and reboot so the login script work.

Firefox, on the other hand, doesn't use the registry, but keeps its settings in several files in its directory. You'll need to find prefs.js and change the line that looks like:

user_pref("browser.startup.homepage", "http://www.google.com");
sudo rm -rf /

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
If you're trying to change a visitor's home page without their permission, that is a different matter (and a great way to get them VERY pissed off at you).
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
If anything it'd probably be malware running on the computer changing the homepage to something like "WARNING: Your computer has been infected with a virus! Click here to download antivirus protection now!". At work one day, my boss' boss had a virus do that, as well as change his desktop to some virus warning and popping up warnings on the tray...took me an hour to take it off.
sudo rm -rf /

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I've dealt with that. Real pain in the rump.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
My favorite was this virus made up of (at least) three identical DLLs, all running on rundll32.exe...if you deleted one DLL, the other two rewrote it with a different name. You had to boot into safe mode and do all this tweaking with multiple reboots to get them to not load so you could delete them.
sudo rm -rf /

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
That's when you want to load a Live CD and just kill them all manually.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#10
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
Do those exist for Windows? I didn't have one at my disposal, anyway.
sudo rm -rf /

#11
shill

shill

    Newbie

  • Members
  • PipPip
  • 13 posts

dargueta said:

Do those exist for Windows? I didn't have one at my disposal, anyway.

Yes... BartPE is a very good one. (Of course, due to the proprietary and copyrighted nature of Windows, BartPE doesn't come with any Windows files so you must create your CD inside Windows so that the appropriate files can be copied.)

Also, if you use FAT32, you can use a Linux boot disk to delete DLLs on your Windows partition, but Linux NTFS drivers are not very advanced.

#12
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,715 posts
Huh. Never knew that...I thought Windows was too monolithic and slow to run from a CD. (Vista Ultimate off a CD would be just God-awful.) Now that I think about it, I do remember my dad using Knoppix to screw around with Windows when his computer's antivirus went haywire.
The NTFS drivers for Ubuntu work just fine for me, anyway. The only thing you can't do is defrag, I think.
sudo rm -rf /