Author Topic: How to: User Agent Hacking  (Read 4079 times)

MrX

  • Member
  • **
  • Posts: 403
  • Kudos: 0
How to: User Agent Hacking
« on: 24 January 2005, 21:23 »
hey all, and its the first time Mr X has posted something 'usefull'

i hacked my user agent on mozilla 0.9.3 to say
from BeOS Mr X: j00 |^|4\/3 |233|\| 0\^/n3D !!

and this just makes me cool.
here is how to do it on mozilla:
search for prefs.js open it, and copy all data.
make a new file in that same folder, name it user.js
now just paste all the info into it. enter this line at the end:
user_pref("general.useragent.override", "Mozilla/4.0 (compatible;MSIE 5.5; Windows 98)");
and in the quotes where it contains the user agent string, (starts with Mozilla) change it to say what ever you want, like some hacker lingo, taunts, or that you are george bush or bill gates and i am going to hack up your server. now save and exit the file. restart mozilla, and test with this page:
http://macfaq.org/hacks/useragent.html

it should spit out what ever you wrote in the browser agent setting  ;)

Mr X

Orethrius

  • Member
  • **
  • Posts: 1,783
  • Kudos: 982
How to: User Agent Hacking
« Reply #1 on: 24 January 2005, 21:53 »
Or you could just browse to about:config, create a new string value for general.useragent.override, and enter "blah-de-blah-blah" in the Value field...
  :cool:

[ January 24, 2005: Message edited by: Midnight Candidate/BOB ]


Proudly posted from a Gentoo Linux system.

Quote from: Calum
even if you're renting you've got more rights than if you're using windows.

System Vitals

MrX

  • Member
  • **
  • Posts: 403
  • Kudos: 0
How to: User Agent Hacking
« Reply #2 on: 24 January 2005, 10:07 »
oh man... outsmarted. oh well- i posted this before you!  

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
How to: User Agent Hacking
« Reply #3 on: 24 January 2005, 13:58 »

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
How to: User Agent Hacking
« Reply #4 on: 24 January 2005, 19:28 »
quote:
Originally posted by Refalm / BOB:
Old

http://prefbar.mozdev.org/



word.

and, might I add, 'lame' considering what he changed it to...
Contains scenes of mild peril.

MrX

  • Member
  • **
  • Posts: 403
  • Kudos: 0
How to: User Agent Hacking
« Reply #5 on: 25 January 2005, 21:27 »
i thought this would be a little more busy topic, but o well. i   guess im no good at news. dont expect any 'cool' stuff from me then.

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
How to: User Agent Hacking
« Reply #6 on: 25 January 2005, 12:26 »
quote:
Originally posted by MrX:
i thought this would be a little more busy topic, but o well. i   guess im no good at news. dont expect any 'cool' stuff from me then.


Don't say that  
Your BeOS stuff is pretty awesome. I wouldn't find myself using BeOS on a daily basis, but you do, and therefore, you're awesome.

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
How to: User Agent Hacking
« Reply #7 on: 28 January 2005, 19:55 »
Make sure not to change it to something too saucey like "lynx"!

http://www.boingboing.net/2005/01/27/jailed_for_using_a_n.html

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
How to: User Agent Hacking
« Reply #8 on: 28 January 2005, 21:45 »
quote:
Originally posted by TheQuirk: I Just Want Attention:
Make sure not to change it to something too saucey like "lynx"!

http://www.boingboing.net/2005/01/27/jailed_for_using_a_n.html



Yeah I read that. Isn't there some judge specialized in computers who can decide that using Lynx isn't the same as cracking computer security.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
How to: User Agent Hacking
« Reply #9 on: 29 January 2005, 03:39 »
quote:
Originally posted by MrX:
i thought this would be a little more busy topic, but o well. i   guess im no good at news. dont expect any 'cool' stuff from me then.


translation: "i'm taking my handbag and i'm going home so nya nya nya!"

Just because somebody posted what you said first is no need to get your knickers in a knot, worse things happen all the time.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

MrX

  • Member
  • **
  • Posts: 403
  • Kudos: 0
How to: User Agent Hacking
« Reply #10 on: 29 January 2005, 21:47 »
test

MrX

  • Member
  • **
  • Posts: 403
  • Kudos: 0
How to: User Agent Hacking
« Reply #11 on: 29 January 2005, 21:49 »
another test (i am trying to get a picture at the bottom of my posts)

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
How to: User Agent Hacking
« Reply #12 on: 29 January 2005, 23:22 »
Do it like this:



Without the spaces.

[ January 29, 2005: Message edited by: Tux ]

Contains scenes of mild peril.

TheQuirk

  • VIP
  • Member
  • ***
  • Posts: 2,154
  • Kudos: 315
How to: User Agent Hacking
« Reply #13 on: 30 January 2005, 01:09 »
BTW, shouldn't this be in applications?

Refalm

  • Administrator
  • Member
  • ***
  • Posts: 5,183
  • Kudos: 704
  • Sjembek!
    • RADIOKNOP
How to: User Agent Hacking
« Reply #14 on: 30 January 2005, 01:13 »
quote:
Originally posted by TheQuirk: I Just Want Attention:
BTW, shouldn't this be in applications?


Yes, but that's the job of the moderators