[27 Jun 2014 | No Comment | ]
[Game] The ship review

background:
You are invited to a free cruise in a ship owned by “Mr. X” and after going there you have two choices, he kills you and have your family killed or you start killing whoever he orders you to murder on the ship.
Gameplay:
If you are playing as a hunter you have to kill a certain person, first you only get a name and place. You go there and if you talk to people and turned out that’s the right person you will also get his face in your screen so …

Read the full story »

Miscellaneous »

[12 Aug 2014 | No Comment | ]

Hello.
I was cross compiling a program that required libcurl, so i had to cross compile curl first then compile the other program and pointing it towards that libcurl.
“./configure” was normal, but it failed “make” there was an error while linking
Here is a snippet from config.log

configure:5856: checking whether libcurl is usable
configure:5890: i686-w64-mingw32-gcc -std=gnu99 -o file.exe -g -O2 file.c -L/usr/lib/x86_64-linux-gnu -lcurl >&5
/tmp/ccPPDrjc.o: In function `main':
/root/program/file.c:17: undefined reference to `_imp__curl_easy_setopt’
collect2: error: ld returned 1 exit status

The solution is simple adding mingw bin directory to the $PATH of operating system.
In …

Headline, Miscellaneous »

[27 Jun 2014 | No Comment | ]
[Game] The ship review

background:
You are invited to a free cruise in a ship owned by “Mr. X” and after going there you have two choices, he kills you and have your family killed or you start killing whoever he orders you to murder on the ship.
Gameplay:
If you are playing as a hunter you have to kill a certain person, first you only get a name and place. You go there and if you talk to people and turned out that’s the right person you will also get his face in your screen so …

Coding »

[24 May 2014 | No Comment | ]

As you may know i am relatively new to Ruby on rails and i am currently working on a project where i need a simple captcha.
And simple_captcha is pretty simple and exactly what i need, however i came upon a weird bug.
In the signin_controller i use simple_captcha_valid? and sometimes it works properly and sometimes not, and i hate inconsistent bugs it was almost showing randomly.
After more than an hour of debugging i realized the problem was in simple_captcha_valid? it’s self-destructing after the first use, converting from true to false
So if …

Miscellaneous »

[9 May 2014 | No Comment | ]

I was installing a windows 7 iso via USB normally as i have done tens of times.
Using Rufus the windows ISO contents are now properly on the USB drive and ready to install.
Then rebooted and pressed F12 (Might be different in your case) to open the boot menu and chose to boot from the USB.
Then i got this weird error:
“No device drivers were found. Make sure that the installation media contains the correct drivers”
“A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, …

Featured, Headline »

[13 Apr 2014 | No Comment | ]
The blog’s heart’s beating is normal now

So yeah the ZOMGWTFAPOCALYPTIC bug affected this blog too.

I had a very busy couple of weeks and traveled to Cairo to attend OWASP cairo chapter launch meeting. so i had no time or brains to fix it that time but i disabled SSL.
Today i updated the openssl and libssl to the latest version in the repo and BAZINGA! i am no longer affected.

Reissued the (self-signed) certificates and put the VirtualHost back to apache’s config and restarted. and no more leaking (I hope)