miércoles, 20 de febrero de 2013

Apache PHP Mysql NetBSD

NAPM Server NetBSD

#cd /usr/pkgsrc/www/apache2
#make install clean
#cd /usr/pkgsrc/www/php4/
#make install clean

Now we gonna install the module for php on apache

#cd /usr/pkgsrc/www/ap-php/
#make install clean
#cd /usr/pkgsrc/databases/php-mysql
#make install clean

we need to add the mysql.so extention on to php.ini

#vi /usr/pkg/etc/php.ini
then we add extension=mysql.so where “Dynamic Extensions” is
#cd /usr/pkgsrc/databases/mysql4-server
#make install clean

mysql will install the mysql-client too at the end you just need
to do:
#cp /usr/pkg/share/examples/rc.d/mysqld /etc/rc.d/

if the file goes as rc.d into /etc/rc.d just rename it to mysqld
then add

#echo “mysqld=YES” >> /etc/rc.conf

and then

/etc/rc.d/mysqld start

Starting MySQL ….
After the tables are set up and the MySQL server is running,
please remember to set a password for the MySQL root user!
This is done by running both:

#/usr/pkg/bin/mysqladmin -u root -p password ‘new-password’
#/usr/pkg/bin/mysqladmin -h `hostname` -u root -p password ‘new-password’

The “Enter password:” prompt is asking for the existing password.
As there is no existing password, just press the Return key.
thats it enjoy it


NetBSD

Network Security Tools

THC-Hydra

A very fast network logon cracker which support many different services.
See feature sets and services coverage page – incl. a speed comparison against ncrack and Medusa
Current Version: 7.1
Last update 2011-10-01

http://freeworld.thc.org/thc-hydra/

——————————————————————————-

Medusa

Medusa is intended to be a speedy, massively parallel, modular, login brute-forcer. The goal is to support as many services which allow remote authentication as possible. The author considers following items as some of the key features of this application:
http://www.foofus.net/~jmk/medusa/medusa.html

————————————————————————

W3af

w3af is a Web Application Attack and Audit Framework. The project’s goal is to create a framework to find and exploit web application vulnerabilities that is easy to use and extend. To read our short and long term objectives, please click over the Project Objectives item in the main menu. This project is currently hosted at SourceForge , for further information, you may also want to visit w3af SourceForge project page .
http://w3af.sourceforge.net/

——————————————————————————-

Metasploit

A collaboration of the open source community and Rapid7, Metasploit® software helps security and IT professionals identify security issues, verify vulnerability mitigations, and manage expert-driven security assessments.
http://www.metasploit.com/

—————————————————————————————

Rapid7

Simplifies network discovery and vulnerability verification, increasing the effectiveness of vulnerability scanners such as Nexpose — for
free.
http://www.rapid7.com/