url欺骗,URL欺骗的惯用招式

URL欺骗的惯用招式 - 故障解答 - 电脑教程网

URL欺骗的惯用招式

日期:2007-04-08   荐:
.Sxz768 1.@标志过滤用户名的解析 本来@标志是E-mail地址的用户名与主机的分隔符,但在我URL中同样适用,而且功能如出一辙。HTTP(超文本传输协议)规定了我URL的完整格式是“Http://Name:Password@IP地址或主机名”,其中的“IP地址或主机名”是必填项。@标志与其前面的“Name:Password”,意为“用户名:密码”,属于可选项。也就是说,在我URL中真正起解析作用的网址是从@标志后面开始的,这就是欺骗原理。 举例:某QQ好友发给你一个说是有最新大片免费下载的地址 “Http://www.sohu.com@www.Trojan.com.cn/HuiGeZi_Server.exe”,你敢上去就点吗?的确,一眼看上去是“www.sohu.com”搜狐网站的链接,而实际上这儿的“www.sohu.com”只是个写成搜狐网址形式的用户名(此处的密码为空),因为后面有@标志。而真正链接的网址却是“www.Trojan.com.cn/HuiGeZi_Server.exe”(这儿为了好理解,我杜撰了一个木马网站,其下有“灰鸽子”服务端),只要大家点击就会被种下木马。这个发来的URL地址其实完全等同于“Http:// www.Trojan.com.cn/HuiGeZi_Server.exe”,而与前面的用户名毫无关系,只是迷惑性可就大大提高了。即使没有这个用户名,也完全不影响浏览器对URL的解析。大家要是不信,就在地址栏中随便写上个像是“Http://abcdefg@www.sohu.com”之类的地址再回车试试,还是照样儿进入搜狐网站。 2.十进制的IP地址 常见的IP地址包括四个字节,一般表示形式为“xxx.xxx.xxx.xxx”(x表示一个十进制数码),例如“61.135.132.12”。因为纯粹的数字IP地址过于抽象、难以记忆,所以采用域名服务DNS来与之对应。大家在浏览器地址栏中输入“Http://www.sohu.com”与Http://61.135.132.12”的结果完全一样,都是访问搜狐网站,因为61.135.132.12就是搜狐域名www.sohu.com的IP地址。不过,如果再试试Http://1032291340”的话,结果一定会让许多人吃惊,因为仍然打开了搜狐网站! 为什么一个十进制数“1032291340”等同于一个IP地址“61.135.132.12”呢?其实我刚才已经暗示过大家了,四位点分十进制形式的IP地址“61.135.132.12”代表一组32位二进制数码,如果合在一起再转换成一个十进制数的话,答案就是1032291340。转换方法很简单,就是数制的按权展开:12×2560+132×2561+135×2562+61×2563=12+33792+8847360+1023410176=1032291340(基数为256,即28)。 , 明白了这个道理,大家再回头看看刚才例子中的“www.Trojan.com.cn/HuiGeZi_Server.exe”。如果说这种字母域名还会露出一截狐狸尾巴的话,那么当把它对应的IP地址(假设为“61.135.132.13”)换算成一个十进制数,结果是1032291341,再结合@标志过滤用户的解析,欺骗性就又上了一个台阶——Http://www.sohu.com@1032291341。此时,还会有多少人会怀疑这个URL不是搜狐呢?

防范:查源代码法防范URL欺骗 但是大家还是可以防范的。其实,对付这些利用我URL去欺骗引诱人上当的恶意网页,只须一个最简单的招数即可奏效,那就是查看网页的源代码。当然,这需要有一点儿网页代码阅读的能力。 假设有人发给你一个的URL地址——Http://www.…….com而事先你又不知道它是否为URL欺骗的话,只须在浏览器地址栏中输入“View-SourceHttp://www.…….com”并回车,系统就会调用记事本来打开这个网页的源代码。接下来就是在其中搜索一下(可使用“编辑→查找”菜单)有没有像是Format或者有<iframe src="ww.…….htm" name="……" width="0" height="0" frameborder="0">之类的危险编码。如果有的话当然要拒绝访问了

◆...................o888888o.o88888888o.  .................8888888888888888888888888o.  ...............888::::888888888888888888888888o.  .............88::::::::88888888888888888888888888o.  ...........o8:::::::::888::顶88888888888888888888888.  ..........8888:8::::::8:::::::::顶88888888888888888888.  .........8888::::8888::::::::::::::::顶88888888888  88  ........8888:::888888888::::::::::::::::顶888888888  8  .......88.88888888888888888:::::::::::::顶88888888888  ......88..888888888888888888:::::::::::顶88888888888888  ......88.888888888888888888888::::::::顶88888888888888888  ......8..8888888888888888888888::::::顶88888888888888888888  ........8888888888888888::88888:::::顶8888888888888888888888  ......88888888888888888::::8888::::顶8888888888888888  8888  .....88888888888888888::::8888::::顶:8::***::888888888  888  ....88888888888888888::::888:::::顶::::****::888888888  88  (www.dngz.net)为您排除一切电脑故障 ..888888888888888888::::88::::::顶:::::::::::::888888888 88  .8888888888888888888::::8::::::顶:::::::::::::顶888888888 88  888...8888888888::88::::8:::::顶:::8oo8::::::88888888888888 8  88...88888888888:::8:::::::::顶:::::::::::::88888888888888888  .8..8888888888888:::::::::::顶::"8888888":::顶88888888888888888  ..8888888888::888::::::::::顶:::::"8*8"::::顶88888888888888888888  .888888888:::::88:::::::::顶88::::::::::::顶88888888888888888888888  8888888888:::::8:::::::::顶88888::::::::顶888888888888888888888888888  888888888:::::8:::::::::顶8888888ooooo顶8888888888888888888888888888888  888888.顶::::::::::::::顶8888888888::::::顶8888888888888888  888888888  8888..顶:::::::::::::::顶88888888888::::::顶8888888888888888 8888888    88888顶:::::::::::::顶88888888888888888::::::顶8888888888888   88888  ...88.顶:::::::::::::8888:88888888888888888:::::888888888   8888  ...88.顶:::::::::::8888顶::88888::888888888888:::::88888   888  ...8...顶::::::::::8888顶:::8888:::::88888888888::::::88   888  .......8顶:::::::8888顶:::::888:::::::88:::8888888:::::::  88  ......88顶:::::::8888顶::::::88:::::::::8:::::888888:::::::: 88  .....8888顶:::::888顶:::::::::88::::::::::顶::::8888::::::::::::顶 8  ....88888:顶::::888顶::::::::::8:::::::::::顶::::888::::::::::::::顶  ...88.888:顶:::888:顶::::::::::8::::::::::::顶::888::::::::::::::::顶  ...8.88888顶:::88::顶::::::::::::::::::::::::顶:88::::::::::::::::::顶  .....88888顶:::88::顶:::::::::::::::::::::::::顶88:::::::::::::::::::顶  .....88888顶:::88::顶:::::::::::::::::::::::::顶:8::::::::::::::::::::顶  ....888888顶::::8::顶::::::::::::::8888::::::::顶8::::::::::::8888:::::顶  ....88888..顶:::8:::::::::::::888888:::::::顶::::::::::::888888::::顶  ....8888...:::::::::::::::888888:::::::::::::::::888888::::顶  ~ ....8888....顶:::::::::::::::::8888:::::::顶::::::::::8888::::顶  .....888....::::::顶:::::::::::::::::::顶::::::::::::::::顶  ......88.....顶:::::::::::::::::::顶::::::::::::::::顶  .......88....::::::::::::::::  ........88....::::::::::::顶::::::::::::顶  .........88...8::::::::::::::::::::::::::::::::::::::::顶  ..........8...88::::::::::::::::::::::顶:::顶::::::::::顶  ..............888::::::::::::::::::::::::::::::顶  .............88888:::::::::::::::顶::::::::::::顶  .............888888:::::::::::::顶::::::::::::顶  ............88888888:::::::::::顶:::::::::::顶:::顶  ...........88.8888888.顶::::::::顶::::::::::::::顶::顶  ...........8..888888..顶:::::::::::::::::::::::顶::顶  ..............888888..顶:::::顶:::::::::::::::::::顶::  .............888888...顶::::顶::::::::::::::::::::::::  .............888888...顶::::顶::::::::::::::::::::::::顶:顶  .............88888...顶::::::::::::::8::::::::::::::::顶::顶  ............88888...顶:::::::::::::::88::::::::::::::::顶::顶  ...........88888...顶::::::::::::::::8::::::::::::::::::顶::顶  ..........88888...顶:::::顶:::::::::::::::::::::顶::::::::顶::顶  ..........8888...顶:::::顶:::::::::::::::::::::::::::::顶::顶  .........8888...顶:::::顶:::::::::::::::::::::::顶:::::::顶:顶  ........888....顶:::::::::::::::::::::::::::顶::::::::顶:顶  ......8888....顶:::::::::::::::::::::::::::顶::::::::: 顶:顶  .....888......顶:::::顶:::::::::::::::::::::::::::::::::::::顶:顶  ..8888.......顶::::::::::::::::::::::::::::::顶::::::::::::::::::顶:顶  .............顶::::::::::::::::::::::::::::::::::::::::::::::::::顶:顶  ............顶::::::::顶:::::::::::::::::::::::::::::::::::::::::顶:顶  ............顶::::::::顶:::::::::::::::::顶::::::::::::::::::::::顶:顶  ...........顶::::::::::顶::::::::::::::顶::::::::::::::::::::::::顶:顶  ; ...........顶:::::::::::顶8::::::::8:顶:::::::::::::::::::::::::顶:顶8  ...........顶::::::::::::88888888888顶:::::::::::::::::::::::::::顶:顶  ...........顶:::::::::::::88888888顶:::::::::::::::::::::::::::顶:顶8  ...........顶::::::::::::::888888顶::::::::::::::::::::::::::::顶:顶  ...........顶:::::::::::::::88888顶:::::::::::::::::::::::::::顶:顶  ...........顶:::::::::::::::::88顶::::::::::::::::::::::::::::  ...........顶:::::::::::::::::::顶:::::::::::::::::::::::::::  ...........顶:::::::::::::::::::顶::::::::::::::::::::::::::  ............顶:::::::::::::::::顶::::::::::::::::::::::::::  ............顶:::::::::::::::::顶::::::::::::::::::::::::::顶  .............顶:::::::::::::::顶::::::::::::::::::::::::::顶  .............顶:::::::::::::::顶:::::::::::::::::::::::::顶  ..............顶:::::::::::::顶:::::::::::::::::::::::::顶  ..............顶:::::::::::::顶:::::::::::::::::::::::顶  ...............顶:::::::::::顶:::::::::::::::::::::::顶  ...............顶:::::::::::顶::::::::::::::::::::::顶  ................顶:::::::::顶::::::::::::::::::::::顶  ................顶:::::::::顶:::::::::::::::::::::顶  .................顶:::::::顶:::::::::::::::::::::顶  ..................顶::::::顶::::::::::::::::::::顶  ..................顶:::::顶::::::::::::::::::::顶  ...................顶:::顶::::::::::::::::::::顶  ...................顶::顶::::::::::::::::::::顶  ....................顶:顶:::::::::::::::::::顶  ....................:::::::::::::::::::顶  ....................::::::::::::::::::顶  ....................:::::::::::::::::顶  ....................:::::顶::::::::  ....................:::::::::::  ....................:::::::::::  .....................::::::::::::::  .....................::::顶:::::::::  欢迎来到(www.dngz.net) ......................::顶:::::::  ......................::顶:::::::  ......................:::::::::::::顶  .......................::::::::::::顶  .......................:::::::::::::顶  .......................:::顶::::::::::::顶  .......................:::::::::::::::::顶  .......................:::::::::::::::::顶  .......................::::::::::::::::::顶  .......................::::::::::::::::::顶  .......................::::::::::::::::::顶  ........................:::::::::::::::::顶  ........................:::::::::::::::::顶  ........................:::::::::::::::::顶  ........................:::::::::::::::::顶  ........................:::::::::::::::::顶  .........................:::::::::::::::顶  .........................:::::::::::::::顶  .........................:::::::::::::::顶  .........................::::::::::::::顶  ..........................:::::::::::::顶  ..........................:::::::::::::顶  ..........................:::::::::::::顶  ..........................::::::::::::顶  ..........................::::::::::::顶  ...........................:::::::::::顶  ...........................::::::::::顶  ...........................::::::::::顶  ............................::::::::顶  ............................::::::::顶  ............................::::::::顶  .............................:::::::顶  .............................:::::::顶  ..............................::::::顶  ..............................::::::顶  ..............................::::::顶  ..............................::::::顶  ..............................::::::顶  ..............................::::::顶  .............................:::::::顶  dngz.net您的电脑医生 ............................顶:顶::::::::顶  ............................顶:顶:::::::::顶  ............................顶:顶::::::::::顶  ............................顶:顶:::::::::::顶  ............................顶:顶::::::::::::顶  ............................顶:顶:::::::::::::顶  ............................顶:顶::::::::::::::顶  ............................:::::::::::::::::顶  ..............................::::::::::::::::顶  ................................顶:::::::::  ..................................::顶::::

标签: