Tag Archives: database
Setup Metasploit Database

Try reconfigure Metasploit dpkg-reconfigure metasploit-frameworkdpkg-reconfigure metasploit-framework Start postgresql systemctl start postgresql.servicesystemctl start postgresql.service Initialize database msfdb initmsfdb init Run metasploit…

Exploit Database – a repository for exploits and PoCs

The Exploit Database is an archive of public exploits and corresponding vulnerable software, developed for use by penetration testers and…

List table columns in cakephp 3

List table columns $db = \Cake\Datasource\ConnectionManager::get(’default’); $collection = $db->schemaCollection(); $table= $collection->describe(’tablename’); $columns = $table->columns();$db = \Cake\Datasource\ConnectionManager::get(‘default’); $collection = $db->schemaCollection(); $table=…

Sanitize data coming out of the database in cakephp 3

A security measure that most programmers forget to take when building database oriented applications is to sanitize-validate data coming out…

Kohana – list all database tables

foreach(Database::instance()->list_tables() as $table_name) { //blah blah }foreach(Database::instance()->list_tables() as $table_name) { //blah blah }

How to save session in database using Kohana

In Kohana 3.3 put this in your bootstrap.php file: Session::$default = ‘database’;Session::$default = ‘database’;

SQLite database manager

SQLiteStudio is a SQLite database manager with the following features: Single executable file – no need to install or uninstall….

Kohana MySQL Database Schema

Kohana 3.3 MySQL Database Schema github CREATE TABLE IF NOT EXISTS `roles` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `name`…

Connecting MS Access Database in C#

Let’s how we can connect to an MS Access database (accdb) in C#. String _database_path = "path/to/database/file"; String _conn_str =…

Metasploit Database

Every time we are running a module, Metasploit database is being updated with data. This is an amazing feature of…

Next Page