Archive for April, 2009

Apr
30
2009

World Wide Web Get – wget

Grab entire website content with “wget”

The web get feature “wget” enables a user to grab the entire content of the website. There may be situations where your may have difficulty in getting the source code from your software vendor, or may not have access details to certain location in which case “Wget” comes in handy. This feature is available for win32 platform as well. Work around for this is for the user to install cygwin to run the “wget” command (more…)

  • Share/Save/Bookmark
Apr
28
2009

CGI Vs. Perl … What then is CGI?

CGI is not a programming language. It is a standard programming interface which gives a web page the capability to run/access other resources on the server(s) which visitors wouldn’t have direct access to.

Perl is a scripting language. It is often misconceived to be the same as CGI, as Perl was the popular language at the time when CGI gained momentum in the web world.

CGI can refer to a “scripting language” which gets interpreted when calls to a page from the webserver is being made. It can be referred as a “program“, when it gets executed on the webserver to have access to resources with hard coded paths other programs when a call from a web page happens.

In short, all Web applications built using ASP/PHP/Python/Perl speaks through the channel – CGI.

  • Share/Save/Bookmark
Apr
23
2009

Nagios to Monitor SQL Server

Monitor SQL Server from Nagios

Instructions from Nagios website:

URL: http://www.nagios.org/faqs/viewfaq.php?faq_id=156

The above link states that ” ….

So here’s what I’ve done to have a way to connect to both SQL 7 and SQL 2000:

1. Download and install freetds from http://www.freetds.org.
2. Download and install sqsh from http://www.sqsh.org.
3. export SYBASE=/usr/local/freetds (or where ever your freetds is installed) (more…)

  • Share/Save/Bookmark
Apr
21
2009

Gunzip, Bunzip, Unzip

Bunzip, Unzip

To bunzip a folder, use the command

$ tar jcvf dump.tar.bz folder/

Transfer the file to the location of your choice. For e.g. /tmp and issue the following command to unzip

[/tmp] $ tar -jxvf dump.tar.bz
(more…)

  • Share/Save/Bookmark
Apr
17
2009

SELinux – Security Enhanced Linux

How to find the status of SELinux?
$ cat /selinux/enforce

The above command will print 0 or 1 which means,
0 – permissive mode
1 – enforcing mode (more…)

  • Share/Save/Bookmark
Apr
16
2009

CSS: Difference between Block, Inline elements

CSS “display” Element takes in the following styles

display: none
display: block
display: inline
(more…)

  • Share/Save/Bookmark
Apr
15
2009

MySQL Create User Grant Rights

User creation in MySQL is a simple process. when a “user” is created in MySQL a record gets entered in the DB “mysql” under table “user”. To create a user you need to have the user creation rights or the super user rights. When MySQL is initially installed, root account is created in the database by default with no password to that account. As the root account has all the privileges in the MySQL server, it is advisable to create separate user account(s) for each database.

(more…)

  • Share/Save/Bookmark
Apr
14
2009

MD5 CheckSum, SHA1 CheckSum, PGP Verification

In order to ensure that the files that are downloaded from a site has been saved in its entirety and to give the added security that no intruders have modified the content of the files, various techniques have been used by source providers like MD5 checksum, SHA1 checksum, PGP verification. To explain how MD5 checksum, SHA1 checksum or PGP verification of the files happen, I will go ahead by explaining the steps by using a copy of openSSL program. (more…)

  • Share/Save/Bookmark
Apr
13
2009

Free Cryptography Tools

Following are the listing of tools that can be used for various purposes in Linux, Windows environments and those which are available FREE of cost for downloads. This is the first compilation and will continue to grow as time progresses. (more…)

  • Share/Save/Bookmark
Apr
12
2009

Cryptography – Being Secured

What is cryptography?
Cryptography is the practice and study of hiding information. In modern times cryptography is considered a branch of both mathematics and computer science and is affiliated closely with information theory, computer security and engineering. – from Wikipedia. (more…)

  • Share/Save/Bookmark