Search Ali's Blog

Saturday, December 20, 2008

MyBookWorld Ed - overview and hacks

I've just purchased a new Western Digital My Book World Edition 0.5 TB (500 GB), this piece of HD has 1GB Ethernet connection, it's capacity can be extended by a USB port.
The access to the remote HD is easy using NFS, few minutes later "The Hacking WD MyBook World Ed" website, these guys did a very nice job and documented all instructions required for hacking the MyBook World.

The MyBook World runs a Linux based Operating System (Daaa) on 2.6.x kernel, it has various capabilities and services which aren't enabled by WD.

It all start from enabling SSH on the device, and after that, the sky is the limit :)

- Small (172x144x56mm) , nice design
- Low power
- Sophisticated system (It's Linux god damn it)
- 1 GB Ethernet Controller, 500GB capacity (there is also 1TB version, twice price)
- It's 24/7 powered on
- HD is expendable by USB port
- Price: 588 NIS

- Speed: using scp 3.2Mb/s for read, 2.4Mb/s for write (I expected more than that)

So.. Let's install torrent downloader on it!
This hack installs torrent downloader called transmission on the MyBook world system with WEB interface, then you can upload torrent files to your MyBook World :)
It's pretty easy and recommended, the MyBook World will download as long as there is Internet connection, and all downloaded files are installed directly on its storage, you can follow up the download/upload process anytime from any internet browser from your LAN, I even check the status from safari from my iPhone :) exactly what I need.

Below a snapshot of the torrent downloader web interface:

Thursday, December 04, 2008

iPhone MAC Spoofing

I have suggested a way to spoof your MAC address on iPhone.
Here is a simpler way that makes use of BossPrefs for MAC spoofing.
1. If BossPrefs is not installed, install it via Cydia.
2. Lunch BossPrefs, click config, click add
3. Enter the following info:
Name: Mac Spoof
Start: ifconfig en0 ether FAKE_MAC (For example: ifconfig en0 ether 00:14:dd:11:02:79)
Stop: ifconfig en0 ether ORIG_MAC
Process: leave empty
Icon: leave empty
4. Click save

We're done :)
Each time you want to spoof your MAC, do it easily via BossPrefs.

- MAC address for example: 00:14:dd:11:02:79
- ORIG_MAC = Your original mac address; from iPhone: go to settings, General, WiFi Address
- FAKE_MAC = Your fake mac address; from Windows: start, type cmd, type ipconfig -all, and examine the output for your wireless network connection MAC address
- This was tested on FW 2.2, it should work on all versions where BossPrefs is installed
- Sometimes, after you turn it "on", and then want to it turn "off", you'll find that it's already in "off" state, In this case turn it "on" then "off" again. Thanks for Anonymous for pointing this out :)


Tuesday, November 18, 2008

Pictures from the sky!

Amazing photos captured from the sky!

[click on the photo to enlarge]

Tuesday, November 11, 2008

Pixlr - online photo editor

Pixlr is a lightweight photoblog application, based on photos from your flickr account. Pixlr gives you the possibility to easily present your photos in the usual photoblog manner but without the need of administering two different sites (your flickr account and your photoblog).

And here an article in Hebrew on photoshop (offline) alternatives

MSKeyViewer Plus!

MSKeyViewer - nice free app for restoring M$ serial numbers (Office, Windows)
Download here

Sunday, November 09, 2008

Time is most expensive currency

.. all of us have some of it.. no one knows how much exactly he or others have.. we cannot hold it too long.. it must be exchanged with something else,
this is what it's meant for.. we have to do so, it's not our choice.. but it's our choice to exchange it with what we wish.. be careful of what you wish,
it's nonreturnable. ~Ali Ayoub

Saturday, November 08, 2008

How to disable autocorrect on iPhone 2.0

1. [Install and] run cydia
2. Install "BossPrefs"
3. Install "Ctoggle BossPrefs Addon"
4. exit cydia and go to BossPrefs app
5. Change "Auto Correct" to "OFF"

Thursday, October 16, 2008

Nice Software Jokes

Today I read these two nice jokes :) they made me laugh:

Login: yes
Password: i dont have one
password is incorrect

Login: yes
Password: incorrect

Programmer's Drinking Song (sung to the tune of ``100 Bottles of Beer'':
   99 little bugs in the code,
   99 bugs in the code,
   fix one bug, compile it again,
   101 little bugs in the code.
   101 little bugs in the code....
(Repeat until BUGS = 0) by Anonymous 


Wednesday, October 08, 2008

Red Pepper

Found this odd red pepper, it looks like a flower, isn't it?

Sunday, September 14, 2008

iPhone 2.x print screen feature

Mistakenly, I found that iPhone 2.0 has a built-in screen shot feature:
1. Hold the "home" button
2. Press on "power" button
3. Release "home" or "power" button, you'll see a short white flash
4. Go to "Camera Roll" and find you screen-shot

Saturday, September 13, 2008

I'll make him an offer he can't refuse

It's hard to get a good job offer, it's harder to reject it!

Tuesday, September 09, 2008

disable iPhone backup in iTunes

If you're using iPhone FW 2.0.x you probably noticed that on (almost) each sync between your iPhone and iTunes a backup operation is performed, and it may take long time (for 100 apps, it may take more than 3 hours) and this is annoying feature for people who sync their iPhone frequently.

This application by Dennis Nederlof is very useful and does the trick:

Friday, August 08, 2008

Manage files on iPod/iPhone

DiskAid - disk mode for your iPhone or iPod.
This app work perfectly (and free) to turn your iPhone to disk-on-key or to manage files for hacking the device.


Tuesday, July 08, 2008

netper netserver on Windows tip

Q: I am running netserver on Windows (XP x64) and I am getting this error messaeg:
netserver: fopen of debug file as new stdout failed!: The system cannot find the path specified.
What's wrong?
A: netserver need to open the file c:\\temp\\netperf.debug with write permission, so
Run: mkdir %HOMEDRIVER%/temp/
And make sure you can create files with write permission in it

Source: netserver.c
#ifndef WIN32
#define DEBUG_LOG_FILE "/tmp/netperf.debug"
#define DEBUG_LOG_FILE "c:\\temp\\netperf.debug"
#endif /* WIN32 */
#endif /* DEBUG_LOG_FILE */

Saturday, July 05, 2008

Search for faces by Firefox/Google

Recently, a friend of mine sent me a link of Google queries tips, I liked the one on how to make Google recognize faces for you, and below is how to make Firefox 3.0 make this easier:

1. Create new bookmark; select Bookmarks and right click on the drop down menu.

2. On the pop up window, enter:
Name: Google Search Faces
Keyword: faces
Description: whatever u want

3. From now on, when you want to search for faces, on Firefox search bar type "faces name"
For example to search for Vin Diesel faces, type "faces diesel"

without this trick the results would be:

Sunday, June 22, 2008

Funny still adds

Funny still adds in a flicker slideshow

Thursday, June 19, 2008

Firefox 3.0 to break Guinness world record

Firefox 3.0 to break Guinness world record for downloads within 24 hours.
I had fun being part of this process, over 10 million downloads! this is very impressive.

Flaunt it, and make your Firefox 3.0 download certificate.

youtube video freezes after 2 seconds in Firefox

I saw that many people hit this problem as I did, especially when trying to watch youtube video. There are a lot of suggested solutions in the web, I tried most of them, and here is the one which works:
It seems that there is a compatibility problem between Adobe Flash plugin and Firefox (verion 2.x and 3.0), downgrading your Flash plugin will solve the problem:
0. Shtdown FireFox and other programs that might be using Flash plugin
1. Uninstall your Adobe Flash plugin, for Windows users go to control panel, add/remove programs, and select Adobe Flash plugin, then uninstall it
2. Downgrade your plugin to version 9r45:
- Download it from Adobe website or from this direct link
3. Run Firefox and make sure that your 'new' flash plugin is ok, watch this talented violin player video for example :) if you could enjoy this 1 min 22 seconds video it means you got rid from 2 seconds Firefox freeze problem !!
4. I recommend disabling flash player update notification to avoid updating your player mistakly, click here and unslecet "notify me.." option

- You may try other solutions like killing Firefox, reinstalling the plugin, or changing Firefox version or settings, or even restarting your computer - all these solutions are temporary for a while, and the freeze problem will occur again within few hours.
- Remember to update you flash player once a new version which solves the problem is released (search the web)
- Use Firefox, be cool!

That's it.

Sunday, June 01, 2008

Yanni music

Rarely music cut me off reality to fly in an endless ruleless world, this one did, enjoy:

And this short solo:

About Yanni:

Saturday, May 31, 2008

iPhone terminal (vt100) su root problem

It took my some time to find a fix for this problem, this is why I am posting this;
For those who use the iPhone terminal, you may hit this problem on FW 1.1.3/4 where you cannot login as root.
When you open the terminal, you're automatically logged as 'mobile' user with limited privilege, to switch to root user run 'su root' and use 'alpine' password, however you may get the error message "incorrect password" this problem is fixed by:
1. Run Installer app and add the source ""
2. Install "BSD Subsystem 2.x SU Replacement"
3. Restart your iPhone

After this you can be root, remember "With great power comes great responsibility" !

Friday, May 30, 2008

HWOTO copy MxTube videos to iTunes

MxTube is a very powerful 3rd party application fro iPhone, it allows you to download video from youtube directly to your iPhone (you don't even need to connect the iPhone to your computer).
However, the downloaded videos are not under the iPod menu and aren't recognized by iTunes, to sync them back with iTunes, do the following:
1. Download and install iPhoneList on your computer
2. Connect your iPhone to your computer, and run iPhoneList
3. Browse to /MxTube directory where the videos are located (files with mp4 extension)
4. Select all files and then right click and select "get files", choose the location where the videos will be copied and extract them, to delete the videos from MxTube directory use MxTube delete feature in your iPhone, don't delete the mp4 files via iPhoneList!
5. Move the videos to the iTunes sync directory. You may want to rename them.
6. Launch iTunes and sync the videos, that's it!

Wednesday, April 23, 2008

The Evolution of a Programmer

The complete evolution is here

My favorite part:

Middle Manager

  mail -s "Hello, world." bob@b12
Bob, could you please write me a program that prints "Hello, world."?
I need it by tomorrow.

Senior Manager

  % zmail jim
I need a "Hello, world." program by this afternoon.

Chief Executive

  % letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout

Monday, April 21, 2008

HOWTO change iPhone MAC address!

Update: I've published an easier way using BossPrefs

For those who need to spoof their MAC address in the iPhone, follow these instructions:
1. Install Term-vt100 on you iPhone (via the App installer & Conceited Software source, also available in cydia)
2. Open the terminal (default password is "alpine"), if it doesn't ask for password, run 'su' then type 'apline'
-- Do use local terminal rather than SSH since you're gonna change network configuration.
3. Run "ifconfig", and write down you original MAC address as appears in ifconfig output (see snapshot above)
4. Choose fake MAC address (for those who's trying to bypass MAC filtering mechanism, you need to find one, use your imagination.. or sneak to your friends laptop -- avoid MAC conflicts!)
5. Run the following commands on your iPhone
echo "ifconfig en0 ether ORIG_MAC" > ./
echo "ifconfig en0 ether FAKE_MAC" > ./
chmod +x
6. We're done, to switch to the new MAC address:
- Run (from terminal) "./"
to switch back to your original MAC address:
- Run (from terminal) "./"

NOTE: your MAC is restored after iPhone restart
If you wish to make your fake MAC constant:
1. Run
(from terminal or ssh): echo /var/root/ >> /etc/rc.local
2. Run (from terminal or ssh): chmod 755 /etc/rc.local
3. Restart your iphone

Happy hacking.

Thursday, April 17, 2008

iPhone Ad-Hoc

For those who cannot connect their iPhone to wireless network (many reason: MAC filtering, security, no router..)
you may follow these simple steps:
1. Configure you wireless network connection to be an adhoc connection:
1.1 On Windows XP: double click on wireless connection icon
1.2 properties, wireless networks tab, add
1.3 SSID=iphone-proxy
1.4 set password, and select the "adhoc" option
1.5 go back to TCP/IP configuration and set IP=, netmask=
2. Configure your iPhone
2.1 settings, Wi-Fi, select iphone-proxy network and set these parameters
2.2 IP=, netmask=, manual proxy:
3. Share your internet connection on your host, for Windows XP PC:
3.1 double click on the network icon to be shared
3.2 advanced tab, and then enable sharing
3.3 if your administrator disabled this option(bastards!) the install your own proxy:
3.3.1 download and install burpsuite:
URL1: (if this link is filtered by your admin, try URL2)
3.3.2 extract the zip file and run the executable, a GUI windows will be opened
3.3.3 proxy, option, unselect "looback interface only", unselect "intercept if"
4. Enjoy!


Monday, April 07, 2008

The Ultimate Rejection Letter

Herbert A. Millington
Chair - Search Committee
412A Clarkson Hall, Whitson University
College Hill, MA 34109

Dear Professor Millington,

Thank you for your letter of March 16. After careful consideration, I regret to inform you that I am unable to accept your refusal to offer me an assistant professor position in your department.

This year I have been particularly fortunate in receiving an unusually large number of rejection letters. With such a varied and promising field of candidates, it is impossible for me to accept all refusals.

Despite Whitson's outstanding qualifications and previous experience in rejecting applicants, I find that your rejection does not meet my needs at this time. Therefore, I will assume the position of assistant professor in your department this August. I look forward to seeing you then.

Best of luck in rejecting future applicants.

Chris L. Jensen


Wednesday, April 02, 2008

Windows HW identifications

Last time I installed a PC for a friend it took me time to identify the HW he got in the box and to download the appropriate drivers.
This is useful link explains how to identify your hardware and install relevant drivers on Windows.

Of course you can always move to Linux.

Tuesday, April 01, 2008

Interactive screens

different interactive screens, very nice technologies:

Monday, March 31, 2008

Linux kernel netdevice features dependencies

Many times I needed to check Linux kernel L2 netdevice dependencies.
Based on linux/net/core/dev.c I draw this diagram so it would be a reference (sorry I have a short memory)


Saturday, March 22, 2008

In the Beginning...

“In the beginning god created…” is just a mythology. MAN created/made the earth and sky the way we see it now. Man made everything we see with the substance of mind. Mythology is the only way to tell a story that will last forever. The story holds the principles that won’t change with language or time.

Monday, March 17, 2008

Serendipity: 10 accidental inventions

Thursday, February 14, 2008

Wednesday, February 13, 2008

Thursday, January 31, 2008

By Hasan Diab

احلام وجذور
هناك عند مدخل الاحلام، تنتظر العواصف فجوات ربما لم يكن بالاتساع فهمها او حتى رؤيتها.. وما اقصى ان تفاجئك عاصفه لم تتحضر لها!

ولكن من الغباء ان يصارع الاعرج عدوه بعكازه!
ومن الجبن ان تتراجع تاركا ذلك المدخل الرهيب هاربا..

وهناك وقد ربما يمكنك ان تفهم مدى جذورك.. فلجذر زهره تحتقر الشهره.

هي الحياه هكذا.. لحظات..لحظات تعيشها وتسكنها كأنها حياتك باكملها.
والجميل في تلك اللحظات بانك تتخذ قرارات بناءا على لحظات قد سكنتها وعشتها من قبل وها انت تعشقها او تحتقرها او حتى تحتقرها وتعشقها في الأن نفسه!
والاجمل والاذكى لو ادركت بان قرارك هذه اللحظه قد يبنى شليه قرارات في اللحظات التاليه! فيا ليت لو تعشق قرارك هذه اللحظه.

قراراتك هي جذورك..هي حياتك..هي انت.

فلو كانت قويه انت لست بحاجه بأن تكسر عكازك وانت ابدا لن تهرب..
ستقف شامخا فاتحا صدرك لكل عواصف هذه الارض..

تم هذا بناءا على ولا اشي. فشكرا جدا جزيلا


Date Time 2008-01-27 12:01:36

Thursday, January 17, 2008