Exploit database

GH-e6b93263b65106bf28255cbef96744df

pswalia2u/cve-2020-7246

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-7246

12 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files16

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

html/core/apps/qdPM/modules/tickets/templates/newSuccess.php

PHP · 2,552 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 
  if($sf_request->hasParameter('projects_id'))
  {
    echo ajax_modal_template(__('New Ticket'),get_partial('form', array('form' => $form)));    
  }
  elseif(isset($choices['']) and count($choices)==1)
  {
?>

  <div class="modal-header">
  	<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
  	<h4 class="modal-title"><?php echo __('Projects Not Found') ?></h4>
  </div>
  <div class="modal-body">  
      <?php echo __('Projects Not Found'); ?>
  </div>  
    
<?php 
  }  
  else
  { 
  
?>

  <div class="modal-header">
  	<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
  	<h4 class="modal-title"><?php echo __('New Ticket') ?></h4>
  </div>  
  
  <form class="form-horizontal" role="form">
  <div class="modal-body" style="padding-bottom: 0px;">
    <div class="form-body"> 
      <div class="form-group" style="margin-bottom: 0px;">
      	<label class="col-md-3 control-label"> <?php echo __('Project') ?></label>
      	<div class="col-md-9">
      		<?php echo select_tag('form_projects_id','',array('choices'  => $choices),array('onChange'=>'load_form_by_projects_id(\'form_container\',\'' . url_for('tickets/newTicket') . '\',this.value)','class'=>'form-control input-large')) ?>
      	</div>
      </div>
    </div>
  </div>
  </form>

<div id="form_container"></div>

<script type="text/javascript">
  $(document).ready(function(){ 
      load_form_by_projects_id('form_container','<?php echo url_for("tickets/newTicket") ?>',$('#form_projects_id').val());            
  });     
</script>

<?php } ?>