Tag Archives: mysql
Brute forcing MySQL

There is an auxiliary module in Metasploit called mysql_login which will happily query a MySQL server for specific usernames and…

Discover open mysql ports

MySQL is running by default on port 3306. To discover MySQL you can do it either with nmap or with…

Connect to a MySQL database in Python

import MySQLdb as mysqlib import sys   dbserver = "localhost" dbuser = "username" dbpass = "********" db = "dbname" conn…

Reset Drupal’s theme using MySQL

If you have broken everything by renaming, editing or removing the default theme and you have trouble signing in to…

Securing MySQL for client access

Let’s see how we can secure MySQL for client access: 1. You should use different users for reading, writing, deleting…

Securing MySQL at the OS level

Let’s see how we can secure MySQL at operating system level: > Install MySQL as root user. > The mysqld…

How To Write A Simple PHP Web Service

Web Services are Everywhere! Let’s see how easy it is to create one using PHP, MySQL and XML! First of…

Using mysql with Java

First of all download the Connector/J. Don’t forget to add in your project a reference to mysql-connector-java-x.x.x-bin.jar file. Let’s see…

Simple MSSQL Connection Class

A simple mssql(Microsoft SQL Server) connection class! All the code below is licensed under GPLv3! Main mssql class file –…

How To Connect C++ To Mysql in Linux

There is a great library for C++ and Mysql called mysql++. Today we will see a simple example on how…

Previous Page · Next Page