Welcome back…..

Yay, well thats me back again with lots of new content when i get the time, a few projects on their way and some fun hackery!

Going to be covering some topics on programming this time around and electronics as well. Adding a few old projects on here that i never published before purely because i forgot i even did them.

Up coming projects, hacking my electric meter key to see if i fail or succeed at reading the data from the key or not! Automating your unemployment search results for the job center using python and php!

oh and not to forget programming a moisture sensor in C for the Raspberry Pi.

A Decade of My Workspaces

For a long time i have been taking snapshots of my workspaces at home so i could see the changes over the years, and now over a decade has passed and i thought it was time to post some photos here.

2003

^ – Scotland, Dundee – 2003

2004

^- Denmark, Copenhagen – 2004

IMG_0865

^- Denmark, Copenhagen – 2006

IMG_7721

^- Scotland, Dundee – 2007

IMG_6682

^- Scotland, Dundee – 2007

IMG_8587

^- Scotland, Dundee – 2008

IMG_6798

^- Denmark, Copenhagen – 2008

IMG_0662

^- Denmark,Copenhagen – 2010

IMG_0802

^- Denmark, Copenhagen – 2011

IMG_1004

^- Denmark, Copenhagen – 2011

IMG_1069

^- Denmark, Copenhagen – 2011

IMG_1383

^- Denmark, Copenhagen – 2011

IMG_1518

^- Denmark, Copenhagen – 2011

IMG_1756

^- Denmark, Copenhagen – 2012

IMG_1775

^- Denmark, Copenhagen – 2012

IMG_2749

^- Denmark, Copenhagen – 2012

IMG_0300

^- Holland, Heiloo- 2013 – The Hacker Cave

IMG_0353

^- Holland, Heiloo- 2013

Picture Frame Server

I was inspired by an episode of Hak5 years ago when they placed a desktop machine within a picture frame so i decided to do the same, except use an Acer Aspire one and strip the case off of it. This was a nice low power solution for a home server.

IMG_1269

IMG_1381

IMG_1384

Transparent Laptop Screen

This was a little project i did years ago, i simply took apart the screen for one of my laptops and stripped it right down to the actual LCD element.

IMG_1539

IMG_1537

IMG_1528

 

hide Lighttpd version and PHP version.

This is a quick tutorial on techniques you can use to hide information about services running on your server.

Lighttpd:

/etc/lighttpd/lighttpd.conf

add:  server.tag = “nothing to see here”

Php:

/etc/php5/cgi/php.ini

search for expose_php = On

and set to Off

Secure browsing with SSH & Firefox

For those who spend a lot of time in cafes and insecure locations, browsing over ssh is the simplest way to go.

In order for this to work you must have a server or home computer with linux on it and setup with port 22 open and forwarded so you can access it from another location.

ssh -C2qTnN -D 8181 user@hostname
check the man pages to see what all the options do!

in Firefox:

type into the address bar: about:config

search for - network.proxy.socks_remote_dns

and set to true by double clicking it.

Then go to edit > preferences > advanced > network > settings

choose manual proxy configuration

in SOCKS Host 127.0.0.1 and port 8181

if you want to keep the connection constant i recommend using autossh just apt-get install autossh, no configuration needed, simply put autossh instead ssh, this will keep a connection alive and reconnect if it drops.

 

Creating a Debian Template from a guest machine – qemu-kvm

Templates save a lot of time, its impractical to install an OS and setup the environment every time you need to do something.
I am assuming you have qemu-kvm and libvirt installed already, and have reasonable knowledge of virtualization.

Easiest option out there,  use virt-manager to install debian.

Make sure to install libguestfs as we need virt-sysprep on the host

It is also important you figure out what size the template is going to be, as you don’t want to take up any more space than you have to, you can use virt-resize later to increase the size of your clone, this makes for easy storage.

Read More

When did i install/update or remove a package? Debian

At some point or other you will wonder when you installed, updated or removed  a package on Debian.

so to find out simply login in as superuser and open /var/log/dpkg.log with your editor of choice.

here you will see when something  was installed or updated or removed.

 

Automating qemu-kvm guests, creation & deletion.

For those interested in automating the process of guest creation & deletion please head to my git repo and check it out.
These scripts work, but keep in mind they are a work in progress, they will also eventually be written in C as well.

Auto-vm

coming soon quick and dirty tutorials on template creation.