2of1
half a nibble of another

Home
Projects
About
Mar

29

Hebrew, Wine and Ubuntu

Filed Under (Linux, Open source, Tips & tricks) by 2of1 on 29-03-2011

If you’re having problems with Hebrew text coming up all garbled with Wine under Ubuntu, here’s the solution:
Read the rest of this entry »

(2) Comments
Read More
Mar

24

Binary output using od, cut and perl

Filed Under (Linux, Open source, Tips & tricks) by 2of1 on 24-03-2011

I came across a one-liner for printing a byte in binary embedded in an article on AVR fuses (http://electrons.psychogenic.com/modules/arms/art/14/AVRFusesHOWTOGuide.php).

I’ve extended this one-liner to output all bytes of a target in binary:
Read the rest of this entry »

(3) Comments
Read More
Mar

21

Cross-compiling x86 from x86_64

Filed Under (C, Coding, Compilers, Linux, Open source, Tips & tricks) by 2of1 on 21-03-2011

Here are two easy ways to compile 32-bit binaries on a 64-bit system.
Read the rest of this entry »

No Comments
Read More
Mar

03

Decompressing ZLIB images

Filed Under (Hacking, Open source, Reverse engineering) by 2of1 on 03-03-2011

Often embedded images sit compressed (deflated) on the flash. Usually the bootloader is responsible for decompressing (inflating) the image and loading it into RAM.

I come across these quite often in the embedded reverse engineering work I do (dumping compressed flash mem).
I finally decided to write a simple python script to do the job of decompression (excuse the python, not my strongest skill :) ).
Read the rest of this entry »

(3) Comments
Read More
  • Recent Posts

    • ARM long branch
    • Mini-Namco #3: (Almost) Finished
    • Mini-Namco #2: Unit construction
    • Mini-Namco #1: Design
    • Simple C hashtable code
  • Archives

    • January 2012
    • September 2011
    • August 2011
    • July 2011
    • May 2011
    • March 2011
    • February 2011
    • January 2011
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
  • GitHub

    • code
    • d2d1headers
    • locateme
    • findjerusalem
    • seg7
    • userspace-krb
    • libgmail
    • preloader
    • linhook
  • qrcode

  • Site Search

  • Categories

    • Apps (7)
      • Preloader (1)
      • Symbian S60 (1)
      • VLC (4)
      • Wordpress (1)
    • Coding (28)
      • Assembly (1)
        • ARM (1)
      • C (12)
      • Compilers (5)
      • Direct2D API (4)
      • Linux kernel (2)
      • Networking (4)
      • Python (1)
      • Sqlite (1)
      • Version control (5)
        • Git (5)
    • Hacking (4)
      • Code injection (1)
      • Reverse engineering (3)
    • Hardware (4)
      • Arduino (1)
      • PCBs (3)
    • Linux (21)
      • Bash (1)
      • Tips & tricks (13)
      • Virtualization (1)
      • VNC (2)
      • Xmonad (1)
    • Open source (30)
    • Other stuffs (3)
    • Social (3)
      • DC9723 (2)
  • OctoFinderProgramming Blogs - Blog Catalog Blog Directory

    Locations of visitors to this page

© 2of1.