Posted: May 16th, 2012 | Author: xanda | Filed under: IT Related | Tags: libemu, pylibemu, shellcode, ubuntu | 1 Comment »
libemu is a small library written in C offering basic x86 emulation and shellcode detection using GetPC heuristics. It is designed to be used within network intrusion/prevention detections and honeypots. [1]
Here are some useful information that might help you to build and compile libemu on Ubuntu machine:
- Install some dependencies for the building process
sudo apt-get install build-essential git-core autoconf libtool python-dev
- Obtaining libemu via Git
cd /tmp/
git clone git://git.carnivore.it/libemu.git
- Configure and install
cd /tmp/libemu/
autoreconf -v -i
./configure --enable-python-bindings --prefix=/opt/libemu
sudo make install
Now install the pylibemu, the python wrapper for the Libemu library
- Install some dependencies for the building process
sudo apt-get install python-dev python-setuptools
- Obtaining pylibemu via Git
cd /tmp/
git clone https://github.com/buffer/pylibemu.git
- Build and install
cd /tmp/pylibemu/
sudo sh -c "echo /opt/libemu/lib > /etc/ld.so.conf.d/pylibemu.conf"
python setup.py build
sudo python setup.py install
Yerp.. you are good to go.
Reference:
[1] http://libemu.carnivore.it
Posted: March 11th, 2012 | Author: xanda | Filed under: IT Related, My Self | Enter your password to view comments.
Posted: March 4th, 2012 | Author: xanda | Filed under: IT Related, My Self, Project | Tags: bahasa, checker, firefox, malaysia, melayu, mozilla, MyEja, spell, thunderbird | 5 Comments »
After 3-4 hours struggling to make it public so here we go.. MyEja, the Bahasa Malaysia dictionary for spell-checking in Firefox and Thunderbird
The open-source Firefox Add-on MyEja for spell-checking supports Firefox and Thunderbird platform-independently. It is based on the OpenOffice Extension “Kamus Bahasa Malaysia (Malay Dictionary)”. The contents of the dictionaries are untouched and is in original state in the initial release of MyEja . The latest versions of Firefox and Thunderbird are also supported. MyEja was founded by me and it is the second initiative project from Mozilla Malaysia Community.
Looking forward for the approval from Mozilla Add-on Team.. The add-on is accessible at https://addons.mozilla.org/en-US/firefox/addon/myeja/
Posted: March 2nd, 2012 | Author: xanda | Filed under: IT Related | Tags: crawler, google, nokogiri, ruby, scrubyt, web | No Comments »
I’ve talked about scRUBYt! once and I’ve been using it for years as my primary ‘Google crawler’ aka Google web-scraper. So it is not a surprise if I say.. It was part of MyLipas Defacement Crawler as well
If you are using scRUBYt! as your Google web-scraper as well, I would suggest you to take a look at your script, since it might be broken by now. Its not only the gem itself, event the domain of their website, scrubyt.org, is now expired. (but yes the project is till in github). I’ve noticed that my crawler reported zero URL (scraped from Google) everyday and it made me to think of 2 possibilities; the strings return zero match, OR the scraper is broken. And guess what, my second thought was right.
Yes.. Its another day in lab looking back at the crawler/scraper code. Now I don’t really depend on scRUBYt anymore due to lack of support/maintenance and broken gem dependencies. So here come the Nokogiri. With the XPaths support I manage to get working crawler as for the replacement.. in just few minutes. But of course the code will be a bit longer but NVM.. It works like a charm!
Posted: February 1st, 2012 | Author: xanda | Filed under: IT Related | Tags: GPGMail, lion, osx | 1 Comment »
I love to see the progress in GPGMail recently, especially after the release of Lion OSX. But usually it gonna take some time before come out with the installation package and publish it in their website (or upgradeable via Mail preferences)
So here is the way you can compile your own ‘nightly builds’ of GPGMail2 (tested on Lion OSX)
cd /tmp
git clone --recursive --depth 1 git://github.com/GPGTools/GPGMail.git -b lion
defaults write com.apple.mail EnableBundles -bool NO
cd GPGMail; make update install
defaults write com.apple.mail EnableBundles -bool YES
defaults write com.apple.mail BundleCompatibilityVersion 5
defaults write com.apple.mail BundleCompatibilityVersion 5.1
open /Applications/Mail.app
Enjoy!
Reference: https://github.com/GPGTools/GPGMail/wiki/Gpgmail-2