注册 登录
自由的生活_软路由 返回首页

心想事成的个人空间 https://bbs.routerclub.com/?681 [收藏] [复制] [分享] [RSS]

日志

分享 用户模式的tcp/ip协议栈
2013-8-31 19:06
http://savannah.nongnu.org/projects/lwip/ https://code.google.com/p/tcp-ip-in-user-space/ http://www.ohloh.net/p/tcp-ip-in-user-space http://www.ioremap.net/projects/unetstack http://www.joerch.org/tcpip/ http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.167.2757
1706 次阅读|0 个评论
分享 linux内核新补丁:SYNPROXY target
2013-8-31 18:22
在lwn.net上,已经有人提供了SYNPROXY target这个补丁,让内核可以支持syn 代理了。 补丁代码包含了完整的发送自定义数据包的方法,可以参照借鉴。 The SYNPROXY target allows you to intercept TCP connections andestablish them using syncookies before they are passed on to theserver. This allows to avoid ...
1713 次阅读|0 个评论
分享 再说mips函数劫持二
2013-8-14 22:59
才搜索到一个博客,原来国外的牛人已经有人在做这个了。 地址是: http://jan.stancek.eu/mips_function_runtime_detour 还是转过来 /* * detour for malloc on mips * (c) Jan Stancek, May 2010 * * At runtime, malloc beginning is overwritten to jump to my_malloc, * libc_malloc will jump to tramp ...
1956 次阅读|1 个评论 热度 1
分享 detour in mips assembly
2013-8-14 22:55
Problem was, that addiu is "Add immediate unsigned", but immediate is still taken as sign-extended value, so the sign-bit is most likely ignored when adding the number. I changed the code to use "addu" and it works . This is the new disassembled code: ( Toggle Plain Text ) Dump of ...
1353 次阅读|0 个评论
分享 再谈劫持mips里的函数
2013-8-14 22:37
我之前在这篇文章(http://bbs.routerclub.com/blog-681-7070.html)里介绍了劫持mips的函数,但是是for mipsl的,现在要针对mipsb的代码 需要将jmp数组里的字节码反转一下。 汇编函数仍然不变,通过as命令 lui $25,0x3000 li $1,0x0 addu $25,$25,$1 jr $25 nop 再通过ida反编译后,可以看到数组: 3C 19 30 ...
1509 次阅读|0 个评论
分享 又一个比libevent更牛的事件驱动库: RiNOO
2013-8-10 13:21
这个是个好东东,可惜只能x64下用,而且还有其它限制。不过已经很强了! https://github.com/reginaldl/librinoo What is RiNOO RiNOO is a socket management library. RiNOO sockets are asynchronous but "appear" synchronous. This is possible by using fast-contexts (see fcontext project ). Code l ...
1667 次阅读|0 个评论
分享 使用JavaScript修改组件中onclick事件所执行的方法
2013-8-4 18:54
之前在项目中经常会遇到一种情况,点击同一个html组件,执行不同的方法或者功能。所以就自己写了如下的方法,比较笨,但是还可以执行。 核心代码如下: script !-- /* *功能:使用JavaScript ...
1723 次阅读|0 个评论
分享 javascript遍历所有的超链接标签,并赋予onclick事件
2013-8-4 18:54
var arya=document.getElementsByTagName( "a" ); //获得页面上的超链接标签列表 for ( var i=0;iarya.length;i++) { if (arya .href!= "#" )&nbs ...
1638 次阅读|0 个评论
分享 在arm下给程序加下断点 brekpoint
2013-7-9 13:36
http://stackoverflow.com/questions/11345371/how-do-i-set-a-software-breakpoint-on-an-arm-processor https://github.com/scottt/debugbreak 可以用gcc内置的 __builtin_trap给程序加上断点,也可以下面的h给程序加上断点,不会象gcc加的断点那样影响gdb的调试。 #ifndef DEBUG_BREAK_H #define D ...
2367 次阅读|0 个评论
分享 实现arm下面的inline hook
2013-7-9 13:08
查了很多资料,终于发现了一些有用的东东。 一个是这里: http://poppopret.org/2013/01/07/suterusu-rootkit-inline-kernel-function-hooking-on-x86-and-arm/ http://redmine.poppopret.org/projects/suterusu/repository 上面的代码实现了一个完整的rootkit。 是通过在要hook的函数地址处写入跳转指令: void hija ...
5711 次阅读|0 个评论

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-3-29 00:11 , Processed in 0.170926 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

返回顶部