6/29/2010

Extract icon from EXE file in ubuntu

$ wrestool -x -t14 TARGET.EXE -o result.icon
$ convert result.icon result.png


why -t14 ?

wrestool -l TARGET.EXE
-> shows a list of resources included in TARGET.EXE file, where type=14 (type=group_icon) is the icon image we want to extract.

-x option means extract
-o where to place extracted files

6/24/2010

olym opt

-start=s,mMets

6/23/2010

Let google desktop find MS doc, xls, or ppt files

sudo apt-get install wv
sudo apt-get install catdoc


http://desktop.google.com/support/linux/bin/answer.py?hl=en&answer=76816

5/21/2010

The path of openoffice impress templates

/usr/lib/openoffice/basis3.1/share/template/en-US/presnt

...

5/19/2010

scanning port state whether opened, closed or filtered by using nmap

[root@localhost ~]# nmap -sT -p 1-65535 localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-02-19 01:47 KST
Interesting ports on xxx.xxx.xxx.xxx:
Not shown: 65531 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
111/tcp open rpcbind
645/tcp open unknown
ref: http://kldp.org/node/91134





Nmap finished: 1 IP address (1 host up) scanned in 2.391 seconds