Exploit databaseDownload repository ZIP
GH-e6b93263b65106bf28255cbef96744df
pswalia2u/cve-2020-7246
Sources for CVE-2020-7246
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files71
pswalia2u/cve-2020-7246Revision 449c8945fe7d
- ↑..Parent directory
- base/
- Attachments.class.php
- AttachmentsTable.class.php
- Configuration.class.php
- ConfigurationTable.class.php
- Departments.class.php
- DepartmentsTable.class.php
- Discussions.class.php
- DiscussionsComments.class.php
- DiscussionsCommentsTable.class.php
- DiscussionsReports.class.php
- DiscussionsReportsTable.class.php
- DiscussionsStatus.class.php
- DiscussionsStatusTable.class.php
- DiscussionsTable.class.php
- Events.class.php
- EventsTable.class.php
- ExtraFields.class.php
- ExtraFieldsList.class.php
- ExtraFieldsListTable.class.php
- ExtraFieldsTable.class.php
- Phases.class.php
- PhasesStatus.class.php
- PhasesStatusTable.class.php
- PhasesTable.class.php
- Projects.class.php
- ProjectsComments.class.php
- ProjectsCommentsTable.class.php
- ProjectsPhases.class.php
- ProjectsPhasesTable.class.php
- ProjectsReports.class.php
- ProjectsReportsTable.class.php
- ProjectsStatus.class.php
- ProjectsStatusTable.class.php
- ProjectsTable.class.php
- ProjectsTypes.class.php
- ProjectsTypesTable.class.php
- Tasks.class.php
- TasksComments.class.php
- TasksCommentsTable.class.php
- TasksGroups.class.php
- TasksGroupsTable.class.php
- TasksLabels.class.php
- TasksLabelsTable.class.php
- TasksPriority.class.php
- TasksPriorityTable.class.php
- TasksStatus.class.php
- TasksStatusTable.class.php
- TasksTable.class.php
- TasksTypes.class.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
html/core/lib/model/doctrine/UserReports.class.php
PHP · 3,797 bytes<?php
/**
*qdPM
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade qdPM to newer
* versions in the future. If you wish to customize qdPM for your
* needs please refer to http://www.qdPM.net for more information.
*
* @copyright Copyright (c) 2009 Sergey Kharchishin and Kym Romanets (http://www.qdpm.net)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
?>
<?php
/**
* UserReports
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package sf_sandbox
* @subpackage model
* @author Your name here
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class UserReports extends BaseUserReports
{
public static function addFiltersToQuery($q,$reports_id,$users_id=false)
{
if($r = Doctrine_Core::getTable('UserReports')->find($reports_id))
{
if(strlen($r->getTasksStatusId())>0)
{
$q->whereIn('t.tasks_status_id',explode(',',$r->getTasksStatusId()));
}
if(strlen($r->getTasksTypeId())>0)
{
$q->whereIn('t.tasks_type_id',explode(',',$r->getTasksTypeId()));
}
if(strlen($r->getTasksLabelId())>0)
{
$q->whereIn('t.tasks_label_id',explode(',',$r->getTasksLabelId()));
}
if(strlen($r->getDueDateFrom())>0)
{
$q->addWhere('date_format(t.due_date,"%Y-%m-%d")>="' . $r->getDueDateFrom() . '"');
}
if(strlen($r->getDueDateTo())>0)
{
$q->addWhere('date_format(t.due_date,"%Y-%m-%d")<="' . $r->getDueDateFrom() . '"');
}
if(strlen($r->getCreatedFrom())>0)
{
$q->addWhere('date_format(t.created_at,"%Y-%m-%d")>="' . $r->getCreatedFrom() . '"');
}
if(strlen($r->getCreatedTo())>0)
{
$q->addWhere('date_format(t.created_at,"%Y-%m-%d")<="' . $r->getCreatedTo() . '"');
}
if(strlen($r->getClosedFrom())>0)
{
$q->addWhere('date_format(t.closed_date,"%Y-%m-%d")>="' . $r->getClosedFrom() . '"');
}
if(strlen($r->getClosedTo())>0)
{
$q->addWhere('date_format(t.closed_date,"%Y-%m-%d")<="' . $r->getClosedTo() . '"');
}
if(strlen($r->getAssignedTo())>0)
{
$filter_sql_array = array();
foreach(explode(',',$r->getAssignedTo()) as $id)
{
$filter_sql_array[] = 'find_in_set(' . $id . ',t.assigned_to)';
}
$q->addWhere(implode(' or ',$filter_sql_array));
}
if(strlen($r->getProjectsStatusId())>0)
{
$q->whereIn('p.projects_status_id',explode(',',$r->getProjectsStatusId()));
}
if(strlen($r->getProjectsTypeId())>0)
{
$q->whereIn('p.projects_types_id',explode(',',$r->getProjectsTypeId()));
}
if(strlen($r->getProjectsId())>0)
{
$q->whereIn('p.id',explode(',',$r->getProjectsId()));
}
$q->orderBy('ts.group desc, ts.sort_order,LTRIM(ts.name), LTRIM(p.name), LTRIM(t.name)');
}
return $q;
}
}