Archive for Technical resources

Batch Image Resize in Linux

Previously I have posted about batch image resizing, in Windows, using a Window tool, Portable Batch Image Resizer. Currently now I’m using Fedora, and I need a tool to automatically resize all my images for uploading.

I found an article telling how to do this. I moved my pictures, to a temporary folder, in case I misresize it :)

mogrify -resize 800 *.JPG

The command will resize all file with extension JPG in that particular folder to 800px width and keep the image aspect ratio. You can also change it or put it with exclamation mark, to resize it to that particular size.

mogrify -resize 320×240! *.JPG

mogrify is tool comes with ImageMagic. Install ImageMagic, and you’re ready to go.

No comment »

Google Search for Malware and Viruses

malware_search.jpg
There was an article I found in my surfing time about viruses, from PcWorld, Google Binary Search help Identify Malware. Google have a little-known capability to search binaries, that will be useful to search malware and virus binaries across the internet. This google hacks have been implemented by metasploit research team, to provide a good interface and signature database of viruses and malwares. The malware search interface is accessible at http://www.metasploit.com/research/misc/mwsearch/.

In the project information, there are description on how it works, and they also provides ruby script to generate signatures, search for binaries from the signatures and also to download them, basically just wget it.

The installation I did on Fedora works just smooth, installed ruby 1.8.6, ruby-google and also soap4r. ruby-google connects to Google API using SOAP, therefore I have to install Soap4r first, then ruby-google.

This is a sample of 1 virus found, Message.pif (Worm.Bagle.N-1)
this is the clamscan result:

Message.pif: Worm.Bagle.N-1 FOUND

———– SCAN SUMMARY ———–
Known viruses: 152764
Engine version: 0.91.2
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.02 MB
Time: 2.592 sec (0 m 2 s)

This is the sample usage of the ruby scripts:

$ ./mwsig.rb Message.pif
4053c6c2:00010000:0000e5b0:00005000
$ ./mwsearch.rb 4053c6c2:00010000:0000e5b0:00005000
1 http://archives.neohapsis.com/archives/fulldisclosure/2004-04/att-0795/Message.pif
# ./mwdownload.rb bin to_download
–09:17:57– http://archives.neohapsis.com/archives/fulldisclosure/2004-04/att-0795/Message.pif
=> `bin/0.bin’
Resolving archives.neohapsis.com… 72.32.12.210
Connecting to archives.neohapsis.com|72.32.12.210|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 21,871 (21K) [text/plain]

100%[=================================================================================================================>] 21,871 21.57K/s

09:17:59 (21.55 KB/s) – `bin/0.bin’ saved [21871/21871]

This is the sample search in google.com. It have 4 main information to search for:
1: Virus/malware name
2: Time & date stamp
3: Size of Image
4: Entry Point
5: Size of code

All of these information are basically the last 4 segment in the signatures, created by mwsig.rb

Comments (1) »

Netvibes.com – Online RSS reader.

2.JPG

For some people, RSS might be a new thing. This would be an introductory article, on how you could use this feature available at most websites.

RSS stand for Really Simple Syndicatio, where you can pull out the information from a website, and display it anywhere you want. This is a cool feature, where you can put all pieces of information from all your favourite website into a single page, you can get updated from a single page visit!

I would like to introduce Netvibe, an online RSS reader. With Netvibes, you can read RSS feeds from your friend’s blog, myspace, flickr gallery, and also your emails! The easy and simple navigation will never get you lost with it.

The contents of your feeds can be split into different tab, where you can add new one with one click, and you can also arrange it with drag and drop. Drag it to anywhere you want. Each RSS feeds also can be moved easily with drag and drop anywhere, even to another tab.

Try it now, you’ll have a better way to keep things updated easily.

http://www.netvibes.com

Comments (1) »

Batch Image Resizer

batchimageresizer.JPG

One more post before going to Pahang for International Pahang River Rafting Expedition :D

I would like to share one more software, for me its really usefull, when I want to upload bunch of pictures to my online gallery at http://www.farhanfaisal.com/gallery/. The software will resize all images in a specific folder into size that you want.

You can download the tool here. The nice thing is, the software is just 524kb in size, you can easily fit in your thumbdrive as your tools.

Download now and give it a try ;)

Download links : http://www.farhanfaisal.com/files/Portable_ImageResizer.exe

Comments (1) »

PHP5 pinger for your blogs..

No comment »

deltoid-event
spectrum-unsightly
FireStats icon Powered by FireStats