sizeof(cat) logo

Browse around the articles and you'll have a pretty good idea of what this is about. I write about various programming languages, my projects, privacy and operating systems.

Hacker. Security enthusiast. Privacy-oriented. Not Phineas Fisher.

#Tor. #Ricochet. #Debian. #Gamedev. #Infosec. #CubeSat. #OSdev.

Feel free to contact me. I might answer. Probably. Or not.

 PGP  Key: 0x07D947C6F1F79F53
Fingerprint: F1BF CF63 556E 70C6 48F7 0D13 07D9 47C6 F1F7 9F53

 Identity  I am @sizeofcat on Twitter.
I am sizeofcat on GitHub.
I am ricochet:yxpmpstqytiwq4rd on Ricochet.
that's it.

Recent Posts

    Extract Safari tab URLs

    Thu, Nov 16, 2017

    Sometimes you need to grab the list of URLs from all the currently opened Safari tabs, maybe when you want to go work on something else and keep the list so you can go back later. You can do it using Apple’s OSA and Javascript:

    Time perception

    Sat, Oct 28, 2017

    Let’s say you were interviewing a butterfly or a Mayfly. A Mayfly lives for four or five days. Say that Mayfly was standing on the branch of a giant Sequoia tree in California, which lives for thousands of years. If you were to ask that Mayfly, “Do you perceive this branch that you are standing on as being alive?” The Mayfly would say, “Of course not. I’ve been here my entire life, four days, and the branch hasn’t done a single thing.”

    Flashing Tizen on newer Linux

    Wed, May 24, 2017

    If you try to flash Tizen OS (any version) on a new Ubuntu or Debian installation, you will notice lthor no longer plays nice with the Linux kernel, and it will fail without any messages. It has something to do with this.

    The problem is /dev/ttyACM0 is no longer detected, if you do a ls /dev/tty*, ttyACM0 is not there even if the device is connected. Two options:

    Wannacrypt0r (WannaCry) ransomware

    Sat, May 13, 2017

    Do not play with the samples unless you really know what you’re doing. You have been warned!

    All Windows versions before Windows 10 are vulnerable to the WannaCry (WannaCrypt, WannaCry, WanaCrypt0r, WCrypt or WCRY) ransomware if not patched for MS-17-010.

    The ransom is between $300 to $600, there is code to delete files in the virus so it’s not just a threat.

    Useful Linux commands

    Tue, May 9, 2017

    Below are some useful Linux commands for penetration testing, target reconaissance and capability assessment. Use them for good, not for evil.

    traceroute:

    user@host:~$ traceroute <target>
    
    user@host:~$ traceroute google.com
    traceroute to google.com (213.157.177.157), 24 hops max, 52 byte packets
     1  192-168-1-110.x.com (192.168.1.110)  9.403 ms  7.301 ms  3.264 ms
     2  10.10.10.10 (10.10.10.10)  47.823 ms  3.649 ms  2.436 ms
     	... etc ...

    Javascript fun

    Thu, Feb 16, 2017

    Javascript is a fun language that allows you to write crazy AND valid code.

    Keep in mind that adding [] converts the expression to a String, for example:

    NetBeans SQLiteJDBC 5.0

    Tue, Feb 7, 2017

    In a few days my NetBeans SQLiteJDBC plugin will celebrate a whopping 8 years since its initial release (February 15, 2009). During this time I’ve learned a lot about both NetBeans and SQLite (and its JDBC drivers), what started as a simple NetBeans plugin to manage connections to a SQLite database (initially using the JDBC driver provided by Zentus, now using the Xerial’s driver) is still maintained (and used) after 8 years with over 60k downloads (in top 20 downloads).