Exploit databaseDownload repository ZIP
GH-8164a02d6ad9ce3ac375957207efede6
caihuar/joomla-cve-2015-8562
Sources for CVE-2015-8562
8 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
caihuar/joomla-cve-2015-8562Revision 5a88a7226a99
- ↑..Parent directory
- azure.php
- mysql.php
- mysqli.php
- oracle.php
- pdo.php
- pdomysql.php
- postgresql.php
- sqlite.php
- sqlsrv.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Joomla_CMS/libraries/joomla/database/iterator/postgresql.php
PHP · 1,168 bytes<?php
/**
* @package Joomla.Platform
* @subpackage Database
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* PostgreSQL database iterator.
*
* @since 13.1
*/
class JDatabaseIteratorPostgresql extends JDatabaseIterator
{
/**
* Get the number of rows in the result set for the executed SQL given by the cursor.
*
* @return integer The number of rows in the result set.
*
* @since 13.1
* @see Countable::count()
*/
public function count()
{
return pg_num_rows($this->cursor);
}
/**
* Method to fetch a row from the result set cursor as an object.
*
* @return mixed Either the next row from the result set or false if there are no more rows.
*
* @since 13.1
*/
protected function fetchObject()
{
return pg_fetch_object($this->cursor, null, $this->class);
}
/**
* Method to free up the memory used for the result set.
*
* @return void
*
* @since 13.1
*/
protected function freeResult()
{
pg_free_result($this->cursor);
}
}