RSS

Frequently used Linux one-liners

0 Comments | This entry was posted on Mar 30 2009
Unlimited Online backup for 4.95/month

I just submitted a couple of one-liners that I frequently use to Command-line-Fu.

Find brute force attempts on SSHd – Searches the /var/log/secure log file for Failed and/or invalid user log in attempts.
root@empulse:$ cat /var/log/secure | grep sshd | grep Failed | sed 's/invalid//' | sed 's/user//' | awk '{print $11}' | sort | uniq -c | sort -n


List SMTP connections by host – Searches /var/log/secure for smtp connections then lists these by number of connections made and hosts.
root@empulse:$ cat /var/log/secure | grep smtp | awk '{print $9}' | cut -f2 -d= | sort | uniq -c | sort -n | tail

New articles released!

0 Comments | This entry was posted on Apr 15 2008
GoDaddy.com Hosting & Servers

Hey guys check out these first revisions of these articles on BackTrack linux. I will be revising them over the next few weeks as wells as adding more stuff.

http://www.scribd.com/doc/2542678/GPSwithBackTrack20080414
http://www.scribd.com/doc/2542592/OnlinewithBackTrack20080414

ALSO CHECK OUT:

forums.empulsegroup.com
southwestpcdirect.com
empulsehosting.com

Empulse
http://del.icio.us/empulsegroup