Hijacking a process's i/o streams using gdb

The Story

I recently had a very annoying problem - some daemon failed, but ran fine when told to run at foreground (not daemonize). Running at foreground is the easiest way to debug processes, because that way you get their input / output / error streams in your terminal.
Said daemon had no ...

more ...



Automatically Mounting USB drives and Surviving Reconnects

Today I solved a problem that has been bothering me for a while - being unable to automatically "remount" my USB drive in case it disconnects and reconnects.

The Story

My raspberrySeed (rPi + Debian + Deluge) has a USB drive connected (to keep the downloaded content in). The filesystem on that drive ...

more ...

Python Library for Deluge Torrent Maintenance

Update: I added this project as my first GitHub repo

I have an ongoing project which I nickname my raspberrySeed, which is a Rasbperry Pi running Deluge. Works 24/7, takes very little power, minimal heat, no noise, works as a fine seedbox.
However, I recently encountered strange situtations in ...

more ...

Listing Unity's Scopes and Originating Package

I recently upgraded to Ubuntu 14.04 (beta2), and I got all of my "lenses" (searching additional items in the dash menu), that look like this:

Of course there's a way to disable those lenses, but I actually want to remove those I'll never use (like flickr).
The ...

more ...

Mass-Checking SSH Connections using Parallel

Today I wanted to make sure I have SSH access to about 100 servers.
Obviously, I wasn't going to verify the list by hand, so I put all of the servers' names in a file, and wrote this little script:

for NAME in $(cat ~/Desktop/server-names)
do
        echo -n ...
more ...

Fixing Dynamic DNS on Gargoyle

Note: I switched to inadyn on my home server eventually. I left this article because it's still relevant

I was digging through the logs of my latest Gargoyle installation (a router firmware based on OpenWrt, with a better UI in my opinion), and found out that Dynamic DNS updates ...

more ...


Finding Accounts Trusted for Delegation

As part of a security audit, I was asked to help in finding all accounts marked with "Trusted for Delegation"

What is "Trust for Delegation"

You can try reading the TechNet Article, but in short - delegation (also known as kerberos double-hop) is allowing a service to impersonate clients in order ...

more ...