邪恶八进制信息安全团队技术讨论组's Archiver

netxfly 2006-5-21 09:13

[转载]一个手动提取shellcode的东西

信息来源:黑暗之子[P.S.T]的Blog
////////////////////////////////////////////////////////////////////
bin2txt Copyright (c) 2005-2006 by noname_ph4nt0m
////////////////////////////////////////////////////////////////////
chinese------------------------------------------------------------
Ultraedit可以把以16进制浏览任意文件
可是如果只复制16进制的数据的话操作起来有点麻烦
所以就有了这个软件

转换出来的文本格式支持C,支持汇编,也可以为bin
方便大家写inc文件
方便大家转换shellcode
方便大家修改被写为bin格式的资源
方便大家把要释放出的文件写成hex格式放在程序内部而不是资源

偏移的[Start]和[End]支持8进制,支持16进制,支持十进制
dec example : 42 (0-7开头)
hex example : 0x2a ('0x'开头)
oct example : 052 ('0'开头)

支持对64k以上文件的处理

参考 Joergen Ibsen 的代码 :)
english--------------------------------------------------------------

-=[ bin2txt 1.0 ]=-

version: 1.2

Intro:
------
This is a little utility that I find quite usefull..

I know there are quite a few 'bin2inc' and 'cut' programs around, but
none of them worked the way I wanted. Often they were unable to
process files >64k correctly, and it was not possible to use
hex-numbers as offsets.

this prog does not have these problems ;)

You can give the positions as dec, hex or oct numbers:
dec example : 42 (plain ol' numbers)
hex example : 0x2a (a leading '0x')
oct example : 052 (a leading '0')

The source is pretty nice C-code, so it should compile with all 32bit
compilers.. It should also work with 16bit ones if you set the buffer
size to something more 'appropriate' for rmode ;-P

Thanks:
-------
Joergen Ibsen / Jibz - 4 a very nice piece of code and good ideas
axis - 4 BETA testing and good ideas


HaVe PhUn !!!

noname/ph4nt0m
-----------------------------------------------------------------------

页: [1]
© 1999-2008 EvilOctal Security Team