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 files12

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

html/core/apps/qdPM/modules/app/templates/sortGroupedItemsSuccess.php

PHP · 3,235 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)
*/
?>
<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
	<h4 class="modal-title"><?php echo __('Sort Items') ?></h4>
</div>
<div class="modal-body">

<?php echo __('Just move an item up or down.') ?>
<br>

<?php 

foreach(app::getStatusGroupsChoices() as $k=>$name):
  
  echo '<div><b>' . $name . '</b></div>';

?>

<div class="dd" id="nestable_list_<?php echo $k ?>">

  <?php
    $html = '';
    foreach($itmes as $v)
    {
      if($v->getGroup()==$k)
      {
        $html .= '<li class="dd-item ' . $k . '" data-id="' . $v->getId() . '"><div class="dd-handle">' . $v->getName() . '</div></li>';        
      }
    }
    
    if(strlen($html)>0)
    {
       echo '
         <ol class="dd-list" > ' . $html. '<ol>';
    }
    else
    {
      echo '<li class="dd-empty"></li>';    
    }
    
    
  ?>

</div>


<?php endforeach ?>

</div>

<form action="<?php echo url_for($sf_request->getParameter('t') . '/index' . ($sf_request->hasParameter('bind_type')?'?bind_type=' . $sf_request->getParameter('bind_type'):'')) ?>" method="post">
<div class="modal-footer">
  <button type="submit" class="btn btn-primary"><?php echo __('Save') ?></button>
  <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close') ?></button>
</div>
</form>

<script>
$(function() {
  $('#nestable_list_open').nestable({maxDepth:1,group: 1}).on('change', function(){
    droppableGroupedOnUpdate('<?php echo url_for("app/SortGroupedItemsProcess?t=" . $sf_request->getParameter("t"))?>')            
  });
  
  $('#nestable_list_done').nestable({maxDepth:1,group: 1}).on('change', function(){
    droppableGroupedOnUpdate('<?php echo url_for("app/SortGroupedItemsProcess?t=" . $sf_request->getParameter("t"))?>')            
  });
  
  $('#nestable_list_closed').nestable({maxDepth:1,group: 1}).on('change', function(){
    droppableGroupedOnUpdate('<?php echo url_for("app/SortGroupedItemsProcess?t=" . $sf_request->getParameter("t"))?>')            
  });

/*
	$( "ul.droptrue" ).sortable({
		connectWith: "ul",
		update: function(event,ui){ droppableOnUpdate('<?php echo url_for("app/SortGroupedItemsProcess?t=" . $sf_request->getParameter("t"))?>') }
	});
*/  
  
	
});

</script>