piao2010.com
code | 飘零的代码 piao2010 's blog
http://www.piao2010.com/categorys/code
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). On 12月 1st, 2012 by 飘(piao2010) – Be the first to comment. 学习Linux共享库动态加载缘于一个生产环境升级apache so文件常见错误操作 apache在运行中直接cp覆盖目标so文件,一段时间后错误日志里面出现关键词 Segmentation fault (段错误). 首先了解一下共享库的创建, read more ». 关于jvm dns cache (域名缓存时间). On 7月 27th, 2012 by 飘(piao2010) – 5 Comments. 第1种 默认情况下networkaddress.cache.ttl=-1,代表永久缓存 配置文件路径 JAVA HOME/jre/lib/security/java.security ,就是在应用启动之后第一次DNS 解析成功的结果会一直cache到应用停止。 显然 read more ». YUI Compressor PHP Script.
piao2010.com
Csrf | 飘零的代码 piao2010 's blog
http://www.piao2010.com/tags/csrf
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). Posts Tagged ‘csrf’. On 3月 7th, 2011 by 飘(piao2010) – Be the first to comment. On 11月 20th, 2010 by 飘(piao2010) – 8 Comments. 飘零的代码 http:/ piao2010.com. 前阵子 9月份 学习XSS, CSRF, Web Worm时候的一点小收获,我提交漏洞 http:/ www.wooyun.org/bugs/wooyun-2010-0631 将近两个月了网易还是没有修复。 Read more ». On 9月 21st, 2010 by 飘(piao2010) – 12 Comments. Read more ». Tcp max syn backlog. WP Cumulus Flash tag cloud by Roy Tanck. 关于jvm dns cache (域名缓存时间). 关于jvm dns cache (域名缓存时间).
piao2010.com
HTTP Post Denial Of Service HTTP Slow Header HTTP Slow POST | 飘零的代码 piao2010 's blog
http://www.piao2010.com/一次分享引发的血案-http-slowloris-denial-of-service
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). 一次分享引发的血案 — HTTP Slowloris Denial Of Service. 转载请注明来源 飘零的代码 piao2010 ’s blog. 本文链接地址 一次分享引发的血案 — HTTP Slowloris Denial Of Service. 结果分享的重头戏却是演示HTTP Slow Header 和 HTTP Slow POST 攻击。 后来@HeseyWang 同学建议我用curl multi exec,完善了一下代码果然可以实现并发,后来发现其实采用pcntl fork多进程也是可以实现的。 第一步建立socket连接,构造http 请求比较顺利,第二步是多线程,Google 之查到threading.Thread可以,折腾了半天总算是实现了。 1) HTTP Slow POST 攻击因为一开始发送的是完整的HTTP头,. 2) HTTP Slow Header 攻击因为一开始发送的不是完整的HTTP头,所以 URI可以任意构造.
piao2010.com
archive | 飘零的代码 piao2010 's blog
http://www.piao2010.com/archive
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). 30: Linux cp mv rm ln 命令对于 inode 和 dentry 的影响. 27: 关于jvm dns cache (域名缓存时间). 16: 关于linux文件时间属性(atime mtime ctime). 22: nginx module学习之ngx http not modified filter module. 15: YUI Compressor PHP Script. 26: 基于虚拟主机的apache jboss 负载均衡配置. 22: 一次分享引发的血案 — HTTP Slowloris Denial Of Service. 22: 我们在做什么 将走向何方 转载. 22: Linux Kernel 2.x sock sendpage() Local Root Exploit. 11: 关于file get contents函数超时的解决方法. 08: 关于php的magic quotes gpc. 17: BSD HACKS 摘录(一).
piao2010.com
linux诡异的半连接(SYN_RECV)队列长度 | 飘零的代码 piao2010 's blog
http://www.piao2010.com/linux诡异的半连接syn_recv队列长度一
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). 转载请注明来源 飘零的代码 piao2010 ’s blog. SYN Flood利用的是TCP协议缺陷,发送大量伪造的TCP连接请求,从而使得被攻击方资源耗尽 CPU满负荷或内存不足 的攻击方式。 用netstat可以看见80端口存在大量的半连接状态(SYN RECV),用tcpdump抓包可以看见大量伪造IP发来的SYN连接,S也不断回复 SYN ACK. 对于SYN Flood的防御一般会提到修改 net.ipv4.tcp synack retries, net.ipv4.tcp syncookies, net.ipv4.tcp max syn backlog. 当S开启syn cookie的时候情况会缓解,一旦半连接队列满了系统就会启用syn cookie功能,同时在/var/log/messages记录kernel: possible SYN flooding on port 80. Sending cookies. Netipv4.tcp syncookies = 0.
piao2010.com
Linux | 飘零的代码 piao2010 's blog
http://www.piao2010.com/categorys/linux
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). On 12月 17th, 2012 by 飘(piao2010) – Be the first to comment. 留下的问题 为何cp覆盖进程 运行中的程序 的动态库(so)会导致coredump. 恰好在搜索相关信息的时候发现了一篇关键 read more ». On 12月 1st, 2012 by 飘(piao2010) – Be the first to comment. 学习Linux共享库动态加载缘于一个生产环境升级apache so文件常见错误操作 apache在运行中直接cp覆盖目标so文件,一段时间后错误日志里面出现关键词 Segmentation fault (段错误). 首先了解一下共享库的创建, read more ». Linux cp mv rm ln 命令对于 inode 和 dentry 的影响. On 11月 30th, 2012 by 飘(piao2010) – Be the first to comment.
piao2010.com
关于linux文件时间属性(atime mtime ctime) 文件创建时间 | 飘零的代码 piao2010 's blog
http://www.piao2010.com/关于linux文件时间属性atime-mtime-ctime
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). 转载请注明来源 飘零的代码 piao2010 ’s blog. 本文链接地址 关于linux文件时间属性(atime mtime ctime). 关于文件的时间属性可以查一下stat系统调用 man 2 stat. Dev t st dev ;. ID of device containing file */. Ino t st ino ;. Mode t st mode ;. Nlink t st nlink ;. Number of hard links */. Uid t st uid ;. User ID of owner */. Gid t st gid ;. Group ID of owner */. Dev t st rdev ;. Device ID (if special file) */. Off t st size ;. Total size, in bytes */. Blksize t st blksize ;. Blkcnt t st blocks ;.
piao2010.com
Linux cp mv rm ln 命令对于 inode 和 dentry 的影响 | 飘零的代码 piao2010 's blog
http://www.piao2010.com/linux-cp-mv-rm-ln-命令对于-inode-和-dentry-的影响
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). Linux cp mv rm ln 命令对于 inode 和 dentry 的影响. 转载请注明来源 飘零的代码 piao2010 ’s blog. 本文链接地址 Linux cp mv rm ln 命令对于 inode 和 dentry 的影响. 第一个重要概念 inode 中文名 索引节点. 第二个重要概念 dentry 中文名 目录项. 接下来步入正题 分析 Linux cp mv rm ln 命令对于 inode 和 dentry 的影响。 实验方法也很简单,只要有一台linux主机就行,分别用cp mv rm ln 命令对文件操作,然后利用 ls -il 查看文件inode号,stat查看inode信息。 1 分配一个未使用的inode号,在inode 表中添加一个新项目 注意 如果是cp到一个 已经存在的文件,则inode号采用被覆盖之前的目标文件的inode号. 如果你对运行中的apache 共享模块so文件进行这种操作,就会出现 Segmentation fault.
piao2010.com
网络协议 | 飘零的代码 piao2010 's blog
http://www.piao2010.com/categorys/网络协议
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). On 5月 19th, 2012 by 飘(piao2010) – Be the first to comment. 等等 ,然后HTTP协议层面,如 HTTP Slowloris. 逐渐接触应用层以下 OSI七层模型 的东西,比如 TCP SYN Flood. 最近在学习ARP、MAC、IP欺骗, read more ». On 11月 20th, 2011 by 飘(piao2010) – 7 Comments. 试着慢慢减小tcp max syn backlog的值,但还是看不到半连接状态数量的变化。 实在没什么思路,只能Google之,搜出来的基本都是关于SYN Flood的文章,难道没同学关注过半连接队列的长度吗 read more ». On 11月 19th, 2011 by 飘(piao2010) – 2 Comments. SYN Flood利用的是TCP协议缺陷,发送大量伪造的TCP连接请求,从而使得被攻击方资源耗尽 CPU满负荷或内存不足 的攻击方式。
piao2010.com
Security | 飘零的代码 piao2010 's blog
http://www.piao2010.com/tags/security
飘零的代码 piao2010 ’s blog. Focus On Web Security and Linux :). Posts Tagged ‘security’. On 5月 19th, 2012 by 飘(piao2010) – Be the first to comment. 等等 ,然后HTTP协议层面,如 HTTP Slowloris. 逐渐接触应用层以下 OSI七层模型 的东西,比如 TCP SYN Flood. 最近在学习ARP、MAC、IP欺骗, read more ». On 11月 20th, 2011 by 飘(piao2010) – 7 Comments. 试着慢慢减小tcp max syn backlog的值,但还是看不到半连接状态数量的变化。 实在没什么思路,只能Google之,搜出来的基本都是关于SYN Flood的文章,难道没同学关注过半连接队列的长度吗 read more ». On 11月 19th, 2011 by 飘(piao2010) – 2 Comments. Read more ». Read more ». Read more ».