Exploit databaseDownload repository ZIP
GH-67cfe9274a84b2ab15965e26c8740df4
ctlyz123/cve-2020-17496
Sources for CVE-2020-17496
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files30
ctlyz123/cve-2020-17496Revision d621d414aa56
- ↑..Parent directory
- activity.php
- ajax.php
- album.php
- api.php
- blog.php
- cms.php
- editpost.php
- events.php
- facebook.php
- forum.php
- forumdisplay.php
- index.html
- inlinemod.php
- login.php
- member.php
- misc.php
- newattachment.php
- newreply.php
- newthread.php
- notification.php
- poll.php
- postings.php
- private.php
- profile.php
- register.php
- report.php
- search.php
- showthread.php
- subscription.php
- visitormessage.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
html/core/vb/api/vb4/facebook.php
PHP · 2,326 bytes<?php if (!defined('VB_ENTRY')) die('Access denied.');
/*========================================================================*\
|| ###################################################################### ||
|| # vBulletin 5.6.0
|| # ------------------------------------------------------------------ # ||
|| # Copyright 2000-2020 MH Sub I, LLC dba vBulletin. All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ----------------- VBULLETIN IS NOT FREE SOFTWARE ----------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| ###################################################################### ||
\*========================================================================*/
/**
* vB_Api_Vb4_register
*
* @package vBApi
* @access public
*/
class vB_Api_Vb4_facebook extends vB_Api
{
/**
* Returns list of vbUser info about the list of facebook user ids
*
* @param string $facebookidList Comma separated list of Facebook user ids
*
* @return array response.users => array. Each element in this array is an array
* of "userid", "username" & "fbuserid" of each
* user specified in $facebookidList & found in db
*/
public function getVbfromfacebook($facebookidList)
{
$cleaner = vB::getCleaner();
$facebookidList = $cleaner->clean($facebookidList, vB_Cleaner::TYPE_STR);
$usersArray = array();
$listIds = explode(',', $facebookidList);
$users = vB::getDbAssertor()->getRows('user', array('fbuserid' => $listIds));
if (!empty($users) || !isset($users['errors']))
{
foreach ($users as $user)
{
$usersArray[] = array(
'userid' => $user['userid'],
'username' => $user['username'],
'fbuserid' => $user['fbuserid'],
);
}
}
return array('response' => array(
'users' => $usersArray
));
}
}
/*=========================================================================*\
|| #######################################################################
|| # NulleD By - vBSupport.org
|| # CVS: $RCSfile$ - $Revision: 99787 $
|| #######################################################################
\*=========================================================================*/