Spoofing your useragent in Firefox

ref:http://www.enigmagroup.org/articles/view/Web%20Hacking/12-Spoofing-your-useragent-in-Firefox

如何设置Firefox伪装的浏览器名称——

In certain places, or certain missions, im sure you have run into a little barricade saying you must be using a certain browser type to get in.

And most of the time, the browser is made up.

But anyways, Im going to show you how to make it so you can get past these road blocks.

Ok so here is N00bhacker27. He stumbles upon a webpage that only allows people using the <b>1337h4x0r</b> browser in.

To do this (in Firefox of course) open up a new tab. And in the address bar, type <b>about:config</b>

You should get a huge list of things. This is to be expected.

Now right click on any thing listed, and select <b>NEW</b>. From there, select <b>STRING</b>

You should get a popup box saying <b>Enter the Preference Name</b>. Type:

<b>general.useragent.override</b> and hit enter.

Then, at the top, it will say <b>Enetr String Value</b>

This is where you put the name of the browser you need to get it. For N00bhacker27, he enters <b>1337h4x0r</b>.

N00bhacker27 then goes back to the page before that would not let him in, and voila! He is now able to enter!

This is very useful, and you need to know this for future missions and reference. If you have any questions, pm me in the forums.

(After you no longer need to get in the restricted page, go to About:config, find the string you created, right click it, and click reset. You will not be spoofing anymore)

时间: 2024-10-18 11:37:23

Spoofing your useragent in Firefox的相关文章

JS完美识别IE, firefox, chrome, safari浏览器

(转)判断是否为IE浏览器很简单,用navigator.appName来判断就行了.而Firefox, Chrome, Safari的navigator.appName输出值都是"Netscape",现在我们用navigator.userAgent这个属性来判断,因为谷歌浏览器Chrome的navigator.userAgent值包含"Safari"字符串而Safari浏览器并不包含Chrome,因此我们可以用这个区别来区分safari和chrome. 完整代码如下

从userAgent判断浏览器是什么(chorme ie 火狐)

通过navigator对象的userAgent属性来判断, 主要是判断userAgent 的信息里是否含有以下字段信息: js代码(非完整版) /************ navigator.userAgent.indexOf("Firefox") >-1 火狐 navigator.userAgent.indexOf("Chrome") >-1 谷歌 navigator.userAgent.indexOf("MEIS") >-1

兼容Firefox和IE的onpropertychange事件oninput

原文 兼容Firefox和IE的onpropertychange事件oninput onpropertychange能够捕获每次输入值的变化.例如:对象的value值被改变时,onpropertychange能够捕获每次改变,而onchange需要执行某个事件才可以捕获. 在文本框输入数据的时候,当键盘按下并放开的时候可以使用onkeyup来检测事件,onpropertychange能够捕获每次改变,而onchange需要执行某个事件才可以捕获.可是有的时候我们输入数据是采用粘贴的方式而不是键盘

navigator.userAgent.indexOf

navigator.userAgent.indexOf 分类: Javascript2011-11-02 10:46 1541人阅读 评论(1) 收藏 举报 stylesheetsafarifirefoxfunction浏览器 <script type="text/javascript">      function getOs() { var OsObject = ""; if (navigator.userAgent.indexOf("MS

JS读取UserAgent信息并做判断

JS读取UserAgent信息并做判断 userAgent信息可以由navigator.userAgent拿到.例子: <script type="text/javascript"> document.writeln("navigator.userAgent: " + navigator.userAgent + "<br />"); document.writeln("navigator.appName: &qu

navigator.userAgent.indexOf来判断浏览器类型

原文地址:navigator.userAgent.indexOf来判断浏览器类型作者:litao15013140759 2009-11-10 12:48:28|  分类: javascript |  标签: |字号大中小 订阅 navigator.userAgent.indexOf来判断浏览器类型 <script language="JavaScript"> <!-- function getOs() { var OsObject = ""; if

FireFox火狐浏览器与IE兼容问题 - 透明滤镜 DIV滚动条

问题一:最简单的鼠标移过手变型的css要改了 cursor:pointer;/*FireFox(火狐)不支持cursor:hand*/ dw8下面自动出来的也没有hand这个属性了,标准的是pointer 问题二:FireFox(火狐)不支持滤镜 最常见的半透明不支持. filter: Alpha(Opacity=50); /* for IE */ opacity: .5;/* for Firefox */ style="-moz-opacity:0.5; filter:alpha(opacit

firefox下对ajax的onreadystatechange的支持情况分析及解决

一.问题: var xmlHttp; function savecarttodata(){ createXMLHttpRequest(); var rndcode = new Date().getTime(); var CartUrl ="a.asp?cache="+rndcode xmlHttp.onreadystatechange = function(){ ..... } xmlHttp.open ("GET",CartUrl,true); xmlHttp.s

JS 获取网页内容高度 和 网页可视高度 支持IE 6789 Firefox Chrome 【转】

function getClientHeight() { //可见高 var clientHeight=document.body.clientHeight;//其它浏览器默认值 if(navigator.userAgent.indexOf("MSIE 6.0")!=-1) { clientHeight=document.body.clientHeight; } else if(navigator.userAgent.indexOf("MSIE")!=-1) { /