General Note

All the source available here may not have sufficient documentation. Please forgive me for that.

Perl Mail

mail.pl - A perl program to send mails (useful if u want to get notified of events through mails, can be run as a cronjob). anon.pl - A simple perl mail program to send mails using the socket call. attach.pl - This simple program can be used to send mail along with attachments.

Perl & Expect

v1.0_enter_ssh_single.pl - A simple script to spawn a SSH connection and run a command.
v1.1_enter_telnet_ssh_multple.pl - Script to spawn multiple telnet connections.
v1.2_enter_telnet.pl, v1.3_enter_telnet.pl - Script to spawn multiple telnet connections.
v1.4_enter_telnet_ssh.pl, v1.5_enter_telnet_ssh.pl - Script to spawn multiple Telnet & SSH connections.

Stable Scripts in the making:
To spawn multiple Telnet & SSH connections: v2.0_enter_telnet_ssh_may.pl, v3.1_enter_telnet_ssh_opt.pl, v3.2_enter_telnet_ssh_opt.pl, v3.3_enter_telnet_ssh_opt.pl, v3.4_enter_telnet_ssh_opt.pl, v3.5_enter_telnet_ssh_opt.pl, v3.6_enter_telnet_ssh_opt.pl, v3.7_enter_telnet_ssh_opt.pl, v3.8_enter_telnet_ssh_opt.pl

Example Logs: These are sample outputs from the above scripts - Expect_Perl_Logs.txt

alphacrack.pl

alphacrack.pl - Custom crack tool to crack passwords based on a given password list (only for TRU64 OS)

portscan.pl

portscan.pl - A perl Port scanner

cdcichk.sh

cdcichk.sh - A mini alert shell script which can be croned to flash alerts to all admin users who are logged on

archlog.sh

archlog.sh - This script is used for listing and confirm a deletion process of Arch files.

grpsh.sh

grpsh.sh - To automate the process of changing group and file permissions.

Interactive process killing

ftptbaprockill.sh, cdciprockill.sh - To list and kill processes of a group of specific users

last24_change.sh

last24_change.sh - A simple shell script to clean old logs using find command

use.sh

use.sh - A reporting script which is used to generate clean logs after sed'ing and awk'ing from havoc logs.

tru64_tarsecure.sh

tru64_tarsecure.sh - Script for taking Tar backup of important security files in Enhanced mode for TRU64 OS

tru64_extsecure.sh

tru64_extsecure.sh - Script for extraction of important security files for Enhanced mode in TRU64 OS

C Source

wfix.c - patches your wtmp file
hide.c - hides your program from unix's ps listing
logwtmp.c - Logs your wtmp entries
Played around with SIA Authentication mechanism used in TRU64 and this is what I came up with tru64_validate.c, tru64_siaverify.c, tru64_siatest.c, tru64_siatest1.c, tru64_siatest2.c, tru64_suauth.c, tru64_sia-reauth.c, tru64_setexp.c, tru64_siaexp.c, tru64_sia-su.c

Mini Archives

Misc Awk Scripts
alarm.awk, ctime.awk, gettime.awk

Misc Scripts
ex1_simple_search.sh, ex2_adv_search.sh, ex3_while_break.sh, tru64_backup_vdmp.sh, tru64_backup_vrest.sh, tru64_evmscript.sh, tru64_tarsecure.sh, tru64_extsecure.sh, tru64_secure_extsecure.sh, tru64_secure_tarsecure.ftp.sh, tru64_secure_tarsecure.org.sh, tru64_secure_tarsecure.rcp.sh.txt, EvmTest.sh

Legato Command Lines
Legato Commands, leg_label.sh, leg_mount.sh, leg_unmount.sh

Please dont ask the details of these scripts .... I once used to extract streams of junk characters and format them with these scripts
arc_junk_step1.sh, arc_junk_step2.sh, arc_junk_step3.sh, arc_junk_step4.sh, arc_junk_step5.sh, arc_junk_step6.sh, arc_junk_step7.sh, arc_junk_step8.sh