Many of the books that I wanted to read on my Kindle(s), were in Arabic or Persian, and were also available freely online. These books were not of .mobi format, but were available as online books, in many html pages. I created a script that snatches these pages, stitches them together and forms a huge HTML file (one for each book). The problem was that these books would not display/sync properly on my kindles. I have a Paperwhite, and a …
Category: Computer
In this post, we will go through the process of deep copying a PHP variable in user land (i.e., in pure PHP) step by step, describing the challenges facing every …
[—TOC Header:Table of Contents—][—ATOC—] [—TAG:h3—] PHP Emulator is a PHP interpreter written in PHP (somewhat like PyPy). It was created with many goals in mind, particularly allowing fine-grained low-level control over …
While working on PureTextRender package, I realized some serious limits in PHP arrays. The mentioned package renders text into BMP images using pure PHP (no GD), and for that it …
If you’re here because you were at my Black Hat USA 2014 Taintless talk, and you wanted to solve that challenge; here’s a clearer image of my t-shirt: The presentation and …
Stripe is a financial firm, which runs CTF competitions of highest quality. This year, around today (22 Jan) they launched their third CTF, which is based on distributed computing (the …
NOTE: the script is not functional at the moment (due to facebook API changes). I will remove this note once I make a new working version. Update Sep 2014: I’ve …
First of all, Happy Nowruz! Tomorrow is officially the new Jalali year‘s start. Best of wishes to everyone. The Problem I’ve been working on an elegant design for a new …
This post is about Sharif CERT (APA) center’s recent CTF (10 dec 2012), which is one of a kind in Iran. Most CTFs are a few days long since there …
I was in the process of migrating a host from Helm 4 to DirectAdmin, and it seems that Helm is pretty crappy and does not store mail in user’s storage, …