Network Security Toolkit


lnstk

The toolkit was designed to provide easy access to best-of-breed Open Source Network Security Applications and should run on most x86/x86_64 platforms. This bootable ISO live CD/DVD (NST Live) is based on Fedora. The main intent of developing this toolkit was to provide the security professional and network administrator with a comprehensive set of Open Source Network Security Tools. The majority of tools published in the article: Top 125 Security Tools by INSECURE.ORG are available in the toolkit. An advanced Web User Interface (WUI) is provided for system/network administration, navigation, automation, network monitoring, host geolocation, network analysis and configuration of many network and security applications found within the NST distribution. In the virtual world, NST can be used as a network security analysis validation and monitoring tool on enterprise virtual servers hosting virtual machines.

Resources

Clonezilla


clonezilla

Clonezilla is a partition and disk imaging/cloning program similar to True Image® or Norton Ghost®. It helps you to do system deployment, bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (server edition). Clonezilla live is suitable for single machine backup and restore. While Clonezilla SE is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the harddisk. This increases the clone efficiency. At the NCHC’s Classroom C, Clonezilla SE was used to clone 41 computers simultaneously. It took only about 10 minutes to clone a 5.6 GBytes system image to all 41 computers via multicasting!

Minimum System Requirements for Clonezilla live:
  • X86 or x86-64 processor
  • 196 MB of system memory (RAM)
  • Boot device, e.g. CD/DVD Drive, USB port, PXE, or hard drive
Limitations:
  • The destination partition must be equal or larger than the source one.
  • Differential/incremental backup is not implemented yet.
  • Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted.
  • Software RAID/fake RAID/firmware RAID is not supported by default. It can be done manually only.
  • Due to the image format limitation, the image can not be explored or mounted. You can _NOT_ recovery single file from the image. However, you still have workaround to make it, read this.
  • Recovery Clonezilla live with multiple CDs or DVDs is not implemented yet. Now all the files have to be in one CD or DVD if you choose to create the recovery iso file.

Resources

Useful Oracle Scripts and Commands


oracle-db

The following SQL Scripts used on a regular basis, you might find them helpful in your daily activities for Oracle 8i, 9i, 10g, 11g:

Security Grants
  • grant select on PERSON_TABLE to public with grant option;
  • select * from dba_tab_privs where TABLE_NAME = ‘PERSON_TABLE’
  • select * from dba_role_privs where granted_role = ‘PORTMAN_TABLE’
Re-sizing A Data File
  • alter database datafile ‘/u04/oradata/wpk/temp01.dbf’ resize 500m;
Show All Product Information
  • select * from product_component_version;
Show Row Counts For All Tables That Have ANALYZE On
  • select owner table_name, num_rows from dba_tables where num_rows > 0;
Select All Users Active in The System
  • select sid, serial#,user#, Username, machine, program, server, status, command, type from v$session order by username;
Show What A Current User is Doing
  • select sid, serial#, status, server from v$session where username = ‘BROWNBH’;
Create Count For All Tables
  • select ‘Select count(*) from ‘ ||owner|| ‘.’ ||table_name|| ‘;’ from dba_all_tables order by owner, table_name;
Show All Indexes
  • select owner, index_name, table_type, tablespace_name from dba_indexes where owner <>’SYSTEM’ and owner <> ‘DBSNMP’ and owner <> ‘ORDSYS’ and owner <> ‘OUTLN’ and owner <> ‘SYS’ and owner <> ‘SYSTEM’ order by owner, index_name, tablespace_name;
Show All Tables
  • select owner, table_name, table_type, tablespace_name from dba_all_tables where owner <>’SYSTEM’ and owner <> ‘DBSNMP’ and owner <> ‘ORDSYS’ and owner <> ‘OUTLN’ and owner <> ‘SYS’ and owner <> ‘SYSTEM’ order by owner, table_name, tablespace_name;
Show Space Used
  • select Tablespace_Name, /*Tablespace name*/ Owner, /*Owner of the segment*/ Segment_Name, /*Name of the segment*/ Segment_Type, /*Type of segment (ex. TABLE, INDEX)*/ Extents, /*Number of extents in the segment*/ Blocks, /*Number of db blocks in the segment*/ Bytes /*Number of bytes in the segment*/ from DBA_SEGMENTS where owner <>’SYSTEM’ and owner <> ‘DBSNMP’ and owner <> ‘ORDSYS’ and owner <> ‘OUTLN’ and owner <> ‘SYS’ and owner <> ‘SYSTEM’;
Sum Space by Owner
  • select owner, sum(blocks) Totalblocks, sum(bytes)TotalBytes from DBA_SEGMENTS group by owner;
Sum Space by Tablespace
  • select tablespace_name, sum(blocks) Totalblocks, sum(bytes)TotalBytes from DBA_SEGMENTS group by tablespace_name;
Show Reads and Writes by File Name in Oracle DB
  • select v$datafile.name “File Name”, v$filestat.phyrds “Reads”, v$filestat.phywrts “Writes” from v$filestat,v$datafile where v$filestat.file# = v$datafile.file#;
Show Versions of Software
  • select * from V$VERSION;
Identify Segments That are Getting Close to Their Max-Extent Values
  • select owner,tablespace_name,segment_name,bytes,extents,max_extents from dba_segments where extents*2 > max_extents;
Identifies Segments That are Getting Close to Running Out of Contiguous Free Space
  • select owner, s.tablespace_name, segment_name, s.bytes, next_extent, max(f.bytes) largest from dba_segments s, dba_free_space f where s.tablespace_name = f.tablespace_name(+) group by owner, s.tablespace_name, segment_name, s.bytes, next_extent having next_extent*2 >max(f.bytes);
Displays Archived Redo Log Information
  • select * from v$database;
Display Count Historical Archived Log Information From The Control File
  • select count(*) from v$archived_log;
  • select min(completion_time) from v$archived_log;
Shows Current Archive Destinations
  • select * from v$archive_dest;
Backups Of Archived Logs
  • select count(*) from v$backup_redolog;
Display All Online Redo Log Groups for The database
  • select * from v$log;
Show All Datafiles for Tablespace and Oracle Stuff
  • select * from dba_data_files order by tablespace_name, file_name;

Resources

SQL Server Data Dictionary in Seconds using Extended Properties


sql-server-dd

A data dictionary, or metadata repository, as defined in the IBM Dictionary of Computing, is a “centralized repository of information about data such as meaning, relationships to other data, origin, usage, and format.” The term may have one of several closely related meanings pertaining to databases and database management systems (DBMS):

  • A document describing a database or collection of databases
  • An integral component of a DBMS that is required to determine its structure
  • A piece of middle-ware that extends or supplants the native data dictionary of a DBMS

Resources

JavaScript Client Side Validation in ASPX


javascript

JavaScript (JS) is an interpreted computer programming language. As part of web browsers, implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. It has also become common in server-side programming, game development and the creation of desktop applications.

JavaScript was formalized in the ECMAScript language standard and is primarily used as part of a web browser (client-side JavaScript). This enables programmatic access to computational objects within a host environment.

Resources

Fedora Commands List


fedora-cmd

Fedora is an RPM-based, general purpose collection of software, including an operating system based on the Linux kernel, developed by the community-supported Fedora Project and owned by Red Hat. The Fedora Project’s mission is to lead the advancement of free and open source software and content as a collaborative community.

One of Fedora’s main objectives is not only to contain software distributed under a free and open source license, but also to be on the leading edge of such technologies. Fedora developers prefer to make upstream changes instead of applying fixes specifically for Fedora—this ensures that their updates are available to all Linux distributions.

A version of Fedora has a relatively short life cycle—the maintenance period is only 13 months: there are 6 months between releases, and version X is supported only until 1 month after version X+2. This promotes leading-edge software because it frees developers from some backward compatibility restraints, but it also makes Fedora a poor choice for product development (e.g., embedded systems), which usually requires long-term vendor-support, unavailable with any version of Fedora.

Resources

Launch/Start 8 | Stationary Dock for the Modern UI


launch-start-8

There was a lot of controversy about Microsoft’s plans to adopt a modern interface for Windows 8 and ditch the staple Start Menu in Windows. The company motivated their reasoning by providing a larger area that would bear the same functionality, the Start Screen.

As user requests to bring back the button fell on deaf ears, third-party developers came up with various alternatives for the original start button in Windows. Stardock was among the most prominent of them, with its Start8 application, but free alternatives soon emerged.

Stardock rolled out a new application launcher, this time for the modern part of Windows 8 and 8.1. It’s called Launch 8 and its purpose is to provide a stationary dock for Start Screen, where you can easily deploy applications without having to scroll to the desired shortcut.

Resources

Alternatives