Chinaunix首页 | 论坛 | 博客
  • 博客访问: 195389
  • 博文数量: 52
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 570
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-09 22:20
文章分类

全部博文(52)

文章存档

2009年(9)

2008年(27)

2007年(16)

我的朋友

分类: WINDOWS

2007-09-28 08:56:37

UPX是一个通用可执行文件压缩器,由于其具有:

1.压缩率高:压缩效果优于zip/gzip;
2.解压速度快:在奔腾133上即可达到大约10MB/秒;
3.压缩的可执行文件没有额外的内存开销;
4.安全:可以列表,检测和解压可执行文件,压缩和解压缩文件内部都维持有一个校验和;
5.广域:可以压缩多种可执行文件格式:
dos/exe
dos/sys
dos/com
djgpp2/coff
watcom/le ( 支持DOS4G, PMODE/W, DOS32a 和 CauseWay )
win32/pe
rtm32/pe
tmt/adam
linux/386
atari/tos
6.免费

最新版的是3.01 时间2007.7.31
命令格式:
...upx301w>upx
                       Ultimate Packer for eXecutables
  Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007
UPX 3.01w       Markus Oberhumer, Laszlo Molnar & John Reiser   Jul 31st 2007
Usage: upx [-123456789dlthVL] [-qvfk] [-o file] file..
Commands:
  -1     compress faster                   -9    compress better
  -d     decompress                        -l    list compressed file
  -t     test compressed file              -V    display version number
  -h     give more help                    -L    display software license
Options:
  -q     be quiet                          -v    be verbose
  -oFILE write output to 'FILE'
  -f     force compression of suspicious files
  -k     keep backup files
file..   executables to (de)compress
Type 'upx --help' for more detailed help.
UPX comes with ABSOLUTELY NO WARRANTY; for details visit

比如压缩notepad.exe文件
upx notepad.exe -o a.exe
当前目录下就存在一个a.exe,而且比原来小了不少。
解压可以这样
upx -d a.exe -o b.exe

不错吧,关键是免费的:)

下载:windows版:http://blogimg.chinaunix.net/blog/upfile/070928085751.zip
         linux版i386:http://blogimg.chinaunix.net/blog/upfile/070928085833.bz2

阅读(4930) | 评论(0) | 转发(0) |
0

上一篇:Windows的端口列表

下一篇:DDOS洪水攻击

给主人留下些什么吧!~~