‘Uncategorized’ Category

  1. [CODE] Using findstr to find a pattern and delete the file

    July 11, 2011 by Brian Kenny

    If your looking for a method to use findstr search every file in every directory your in for a pattern within the file and then delete it, use:

    for /f %q in (‘findstr /s /i /m “pattern” file.name’) do (del “%q”)


  2. Vodafone Sure Signal License Declaration

    July 5, 2011 by Brian Kenny

    The Vodafone Sure Signal box carries licensing for the following softwares. Some of them are pretty strange.

    * Linux Kernel
    Fairly obvious it would run on linux.

    * db4-libs-4.3.28
    This is a debian package so she’s running some version of debian. It’s a set of tools for manipulating databases.

    * less
    A standard tool for allowing backward movement in a file when your printing it to the screen.

    * libcap
    This is a tool for capturing network traffic.

    * libstdc++
    Standard C++ compiler

    * smail
    This is a application for sending emails.

    * ntp
    This application gets the current date and time from a remote server and sets the time on the device.

    * openssh
    This allows remote users to connect over SSH to the device. This also contains multiple licenses for encryption algorythms and the likes.

    * openssl
    This allows encrypted traffic over http. Basically the goodness that allows secure payments online.

    * ssleay
    This is a perl extension for openssl mentioned above.

    * shadow
    A password and privledge management tool

    * strace
    Allows debugging of programs on the linux system by tracing processes.

    * tcpdump
    A packet analyzer for TCP. Works with libcap mentioned above.

    * u-boot
    A universal boot loader.


  3. Japanther – Challange

    April 29, 2011 by Brian Kenny

    One of my favorite tracks at the moment:

    Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

    You can find more of their tracks / details here


  4. Uninstall Virtuozzo 4.0/4.6 Linux

    April 26, 2011 by Brian Kenny

    Nice and handy:

    service vz stop
    rpm -qa|grep swsoft|grep vz|xargs yum remove -y
    rpm -qa|grep swsoft|grep -E “virtu|-ez-|-tmpl-”|xargs yum remove -y
    cd /vz/ && mkdir _before_reinstall && mv * _before_reinstall
    mkdir -p /vz/_before_reinstall/etc && find /etc -name vz\* -exec mv {} /vz/_before_reinstall/etc \;
    check /etc/grub.conf if it has a proper configuration (no Virtuozzo kernel, Red Hat kernel is default)
    check /etc/sysctl.conf for tuned parameters which you might not need
    reboot the server


  5. [Tip] Rescale a batch of images with Automator

    April 12, 2011 by Brian Kenny

    This was something I always wanted to do but never figured out how. Lets say you have a folder full of images and you want to resize them all down to 1024px.

    1. Fire up Automator (It’s in your Applications Folder)
    2. Drag your images into the Automator work flow.
    3. Type “Preview” in the automator search box.
    4. Select Scale Images and drag to your workflow.
    5. Enter 1024 as your scaling variable.
    6. Hit Run!


  6. [Tip] Dump your DNS cache easily, Mac OS X

    April 11, 2011 by Brian Kenny

    Your probably been told at some stage, it’s going to take a couple of hours for your DNS change to take effect. It will take some time, as it propagates through the wonderful world of the interwebs.

    But your computer also caches DNS records and you can clear them easily. On a Mac you do the following:

    When you get to know this command you get to love it. So lets make life easier and alias the command.

    Alias? I mean instead of typing the full: dscacheutil -flushcache we can instead just type dnsdump.

    First, edit your .bash_profile via

    vim /Users/$your_user_name/.bash_profile

    Then add the following line:

    alias dnsdump=’dscacheutil -flushcache’

    Then close terminal and reopen, et voila!

     


  7. Phoenix – 1901 [VIDEO]

    November 19, 2010 by Brian Kenny

    Yet another phenomenal video from Phonenix. This type of art just completely makes my jaw drop. It’s simply amazing:


  8. The Irish Information Security Community

    by Brian Kenny

    IRISSI recently attended this years IRISS (Irish Reporting and Information Security Service) conference. First of all let me explain who IRISS are. IRISS are an independent not for profit organization in Ireland. Their main goal is to provide Irish businesses and individuals with information and services to help secure their information and deal with any threats. IRISS was founded in 2008 and deals with quite a heavy workload since it’s launch.

    I would recommend any Irish business or individuals to take a look at their website, www.iriss.ie where they will find plenty of information on how to secure their business. They also provide a great email subscription service.

    (more…)


  9. Must see, Food Inc. [MOVIE]

    November 16, 2010 by Brian Kenny

    Food, Inc.

    Food, Inc.

    I watched this on recommendation and I now cannot help but recommend it myself. It’s a documentary that will simply make you gasp. It shows the truth about how our raw food is prepared and produced. The method in which our food is produced has changed more in the last 50 years than in the last 10,000 the movie states.

    Something that really made me sit up to watch this is

    • There are now 5 main companies controlling meat production in the USA.
    • The main purchaser of minced beef in the USA is McDonalds.
    • You can get a burger in McDonalds now for 99cents. How can they make it this cheap?
    • Chickens can now be grown in 49 days as a posed to the regular 3 months.
    • If you do not adhear to how the coperate giants want you to run your farm, they will have you for breakfast.

    I haven’t set foot in a McDonald’s since I seen it.

    Trailer:


  10. Fear and Loathing in Insurance

    November 15, 2010 by Brian Kenny

    I had a car accident at the beginning of this year. Someone jammed on the breaks in front of me and my tyres squealed. I ended up driving into the back of them. It was a van. The damage was apparent all over the back doors and rear bumper. The guy in the van seemed OK at the time. No one seemed injured.

    It was my first accident and I was completely to blame. I shouldn’t have been driving that close to the guy in front of me. I thought that my insurance safety net, the nest egg I had been throwing my vast amounts of premium money into, would save me. This torment would not last long.

    However, it’s not the case. The case is still open, nearly 8 months down the line. My insurance company assure me that they are doing everything in their power to ensure a speedy and prompt resolution. It is me that rings them for this information. The only nugget of sanity I have to go on is “The third party’s solicitor is very slow”.

    Yet around this corner of new years I am daunted with my insurance renewal. When I ask for a “guestimate” of what I should be expecting I am greeted with”insurance premiums change all the time, we cannot calculate this for you until 30 days prior”.

    I am bound by the powers of the underwriters that I shall stay with my current provider. Little to no-one will provide you with the ability to move insurances with an outstanding claim. One I was told change over €4,000 just to do so.

    So as I sit and wait for my tails or tails coin toss of an extortionate insurance premium or extortionate insurance premium from another company I urge you, leave a gap between you and the driver in front.