Results for Tech Titbits

10 Ways to Improve Your Programming Productivity

Tech Titbits

1. Limit News Intake to twice a day, Including Google Reader & News Sites Straight from the four hour workweek.  Let’s be real: Your minute-to-minute life...

Perl Script to Update Recommended IP Block Ranges

Tech Titbits

Yesterday, I started down the road of learning to develop in Perl. Came up with the idea of updating my OpenBSD firewall badhosts table with the DShields recommended IP...

Simple perl script for searching logfiles

Tech Titbits

Perl script: It is used for searching log files. Failed SSH connectionsAccepted SSH connectionsWebsites accessed (successfully) though a squid proxy Its a very basic...

How to monitor(by e-mail) auth log?

Tech Titbits

I need to monitor everyone login server [assume -> linux OS] and “opened” status: How? use “root” user =>

Remote SQL Injection (Exploit)

Tech Titbits

#!/usr/bin/perl # ########################################################## # MGB <= 0.5.4.5 Exploit # Vulnerability...

Linux iptables

Tech Titbits

iptables is a user space application program that allows a system administrator to configure the tables provided by Xtables (which in turn uses Netfilter) and the chains...

Useful Finds

Tech Titbits

Useful Find(s) find text in a file and show filename / line number find /fred -exec grep -inH “something” {} \; | more find old user/group ID and rename it...

Securing inetd, hosts.allow, and hosts.deny

Tech Titbits

Securing inetd, hosts.allow, and hosts.deny Do we want to let people in ? tcp_wrappers: First lets open /etc/inetd.conf Here’s an example inetd.conf from my desktop...

How to forcefully unmount a Linux/AIX/Solaris disk Partition?

Tech Titbits

Linux / UNIX will not allow you to unmount a device that is busy. There are many reasons for this (such as program accessing partition or open file) , but the most...