Archive for the Technology Category

Simple Java File Read/Write Example

Here is a simple example of a Java class that will read/write a file byte by byte
/*
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package filereader;
 
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
 
/**
*
* @author dphegarty
*/
public class Main {
 
/**
[...]

Windows admin from Linux

I work in a Windows environment, but run Ubuntu on my desktop. I am always on the look out for Linux utilities that replace the Windows bound ones. So far I’ve found a replacement for just about everything I need execpt PSExec, but today that is no more.

sudo apt-get install wmi-client

This handy package installs winexe [...]

Creating a list of installed Packages on Ubuntu

Here is a handy tip I came across for creating a list of installed packages on Ubuntu.
 
dpkg –get-selections > installed-software
 

The original thread can be found here: Orginal

Dec ILTA PodCast

The December ILTA PodCast covering the monthly Microsoft patch is out!
http://www.iltanet.org/communications/transcript_detail.aspx?nvID=000000011405&h4ID=000001426705
Dave and I are looking for feedback so please let us know. Even if it’s a simple, “You suck.” At least than we know someone is listen and that we need to improve.

Nov ILTA Podcast

The November monthly podcast hosted by my self, Dan Hegarty, and Dave Beck in which we cover the two patches released by Microsoft is out. It can be retrieved from:
http://www.iltanet.org/communications/transcript_detail.aspx?nvID=000000011405&h4ID=000001387805
Since there were only two patches this month we were able to use more of a discussion format for this podcast. I feel we are getting [...]

Quick Analysis of the Obama Trojan

Yesterday, the 5th of November, we started receiving spam that advertised Obama Election videos. These emails are rather plain and only contain simple text and a link.
Email Contents:
Barack Obama Elected 44th President of United States
Barack Obama, unknown to most Americans just four years ago, will become the 44th president and
the first African-American president of the [...]

Script to Convert Hostname to IP

Here is a shell script I wrote to translate NetBOIS names to IP addresses. SAMBA needs to be install for the nmblookup command. I work mostly on Linux / OS X but we are a Windows shop so I wrote this shell script to help convert hostnames to IP address for windows machines. Not every [...]

Inprotect nessus_scan.pl fix

I have been working with version v0.80.1 Beta of Inprotect, a web and reporting front end for Nessus. It’s been quite a while since the project has been updated but overall it still works fairly well out of the box. One small issue I found was completed scans that were getting stuck in the a [...]

Monthly MS Patch Review Podcast

If anyone out in Internet land is really, really bored. Check out a Podcast a co-worker and I are putting together to cover the monthly Microsoft patches. This is only the second one we’ve done so go easy on us
Risk Management Peer Group Podcasts

jump2top free wordpress themes