Information Security

Export Nexpose Scan Templates, Import Nexpose Scan Templates

If you are working with multiple Nexpose vulnerability scanners it makes sense to want to generate a bunch of Nexpose Scan Templates on one Nexpose Seurity Console and distribute to a bunch of other Nexpose Security Console’s. There is not much documentation I could find on doing this so luckily it is fairly easy. Follow the instructions below to first export a Nexpose Scan Template from a Nexpose Security Console and then import a Nexpose Scan Template to another Nexpose Security Console. The scan templates are stored as XML so exporting consists of copying the XML file from the server running Nexpose to either your local machine or to another server running Nexpose.

Technology Insights

iPhone Custom Ringtone Not Showing Up, iPhone 4 Ringtone Not Working

I finally got an iPhone 4 and decided to create some custom ringtones to try out on it. The first one that I created, using the method we documented in this previous article, is the sound of a dial-up modem connection. After creating the ringtone by converting an MP3 file to an m4a and then renaming then m4a to m4r I attempted to sync the iPhone to iTunes to copy over the new custom ringtone however it was not available in the Ringtone Sounds configuration section on the iPhone 4. After troubleshooting I finally figured out a solution which is documented below.

Technology Insights

Rooting the HTC Evo 4g – Part 6 (Installing a Custom Rom)

First of I would like to say that none of these hacks and files are my own work. This stuff was done by all the amazing phone developers over at XDA Developers. I am am simply writing a few posts on rooting the HTC Evo since most of the information was all spread out over the forums and I had a hard time gathering it all together in a organized manner.

NOTE: Please make sure you have completed parts 1,2,3,4 & 5 of this tutorial series before attempting this part.

Technology Insights

Rooting the HTC Evo 4g – Part 5 (Installing Clockwork Recovery)

First of I would like to say that none of these hacks and files are my own work. This stuff was done by all the amazing phone developers over at XDA Developers. I am am simply writing a few posts on rooting the HTC Evo since most of the information was all spread out over the forums and I had a hard time gathering it all together in a organized manner.

NOTE: Please make sure you have completed parts 1,2,3 & 4 of this tutorial series before attempting this part.

Code Snippets

Writing a function for frequently used SQL (returning custom columns) in PostgreSQL

There’s no real easy way to do this, but I’d like to write a database function (in this case a PL/pgSQL function) to run a SQL SELECT statement with custom columns in the output.

First, you need to create a custom data type for the custom columns (apparently, this step won’t be necessary when PostgreSQL 8.4 supports the RETURNS TABLE syntax in functions).  For example