formats

Metasploitable 2 Vulnerability Scan Comparison

Published on 2012/06/19, by in linux, sysadmin.

Metasploitable 2 Vulnerability Scan Comparison | For kicks, I performed authenticated vulnerability scans on the latest Metasploitable 2 release. Metasploitable 2 is a customized Ubuntu Linux image that is full of vulnerabilities to be used for pen testing as well as of course used to practice with metasploit. Scanners used: openvas 5 (open source) nessus 5.0.1 (community feed) nexpose 5.3 (community

formats

Install Oracle (Sun) Java in Debian or LMDE

Published on 2012/06/18, by in linux.

Install Oracle (Sun) Java in Debian or LMDE | The easiest way to install the latest java is with the excellent repository found on this page: http://www.duinsoft.nl/packages.php?t=en The manual installation works for a one time install, however I suggest using the repository method. This also installs the browser plugin for Firefox / Iceweasel. Here is how to use the repository! 1. Create the following

formats

nmap UDP Port Scan Example

Published on 2012/06/13, by in linux, sysadmin.

nmap UDP Port Scan Example | By default nmap performs a TCP scan only. I’ll show you how to scan for UDP ports with nmap! The syntax is $ sudo nmap -sU -p port target Example: $ sudo nmap -sU -p 3478 192.168.1.25 Starting Nmap 6.00 ( http://nmap.org ) at 2012-06-13 20:43 EDT Nmap scan report for example.com (192.168.1.25) Host is

formats

Use mysqlcheck to Optimize and Repair MySQL Databases

Published on 2012/06/09, by in linux, sysadmin.

Use mysqlcheck to Optimize and Repair MySQL Databases | mysqlcheck is a simple command line app that can check mysql databases for corruption, make repairs, and also optimize your databases. Here are three quick commands that are useful to check, optimize, and also repair your mysql databases! 1. Check Databases $ mysqlcheck -cA -u root -p (-c for check database, -A for all databases)

formats

Can’t ping localhost in Linux

Published on 2012/06/09, by in linux.

Can’t ping localhost in Linux | $ ping localhost ping: unknown host localhost If you ever find yourself in a situation where you cannot ping localhost, I’ll show you a few things to check! /etc/hosts Verify that the /etc/hosts file has entires for localhost which looks like the following: 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback /etc/nsswitch.conf The file /etc/nsswitch.conf requires specific

formats

Linux – How to find what version of a package is installed

Published on 2012/06/08, by in linux, sysadmin.

Linux – How to find what version of a package is installed | Below are commands to verify the exact version of a package installed in Linux. Root prompt or sudo is not required! Red Hat or CentOS: $ rpm -qa | grep package Example: $ rpm -qa | grep openssl openssl-1.0.0-20.el6_2.5.x86_64 If a package is not installed, the output will return nothing: $ rpm -qa | grep

formats

How to Grab | Disable BIND Version Banner

Published on 2012/06/07, by in linux, sysadmin.

How to Grab | Disable BIND Version Banner | The BIND DNS server by default will broadcast its version publicly. Security-minded admins may want to disable broadcasting of the BIND banner. I’ll show you how! Grab BIND banner It is possible to use dig, host, nslookup or whatever your favorite DNS tool may be to query the BIND banner. I like the host command

formats

Debian Sources List Generator

Published on 2012/06/06, by in linux.

Debian Sources List Generator | Here is a cool site that helps generate a sources.list file for Debian. Check it out: http://debgen.simplylinux.ch Cool!

formats

MySQL my.cnf Performance Tuning

Published on 2012/05/29, by in linux, sysadmin.

MySQL my.cnf Performance Tuning | Debian and Ubuntu include a package called mysqltuner which can analyze your MySQL database and provide some performance metrics as well as tuning advice for my.cnf. Here is how it works! Install mysqltuner: $ sudo apt-get install mysqltuner Run the app, it will prompt for your MySQL admin credentials. Looks like I need to bump

formats

Transmission Blocklist URL

Published on 2012/05/24, by in linux, osx.

Transmission Blocklist URL | The bittorrent client Transmission has the ability to subscribe to a P2P blocklist. There are many blocklist URLs out there. I’ll show you one that works well. The following blocklist URL is an excellent choice: Site: http://www.iblocklist.com/list.php?list=bt_level1 Example Update URL: http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz In Transmission, paste this Update URL into the Preferences under Privacy. Click Update and

Home Archive for category "linux" (Page 16)