Exploit database

GH-0149b9c827534b2dcee84dca4b26f12a

4rays-by-solar/kubernetesmiracle

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2019-9978

18 sources

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

Repository files15

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

plugins/social-warfare/lib/update-checker/Puc/v4p4/Update.php

PHP · 706 bytes
<?php
if ( !class_exists('Puc_v4p4_Update', false) ):

	/**
	 * A simple container class for holding information about an available update.
	 *
	 * @author Janis Elsts
	 * @access public
	 */
	abstract class Puc_v4p4_Update extends Puc_v4p4_Metadata {
		public $slug;
		public $version;
		public $download_url;
		public $translations = array();

		/**
		 * @return string[]
		 */
		protected function getFieldNames() {
			return array('slug', 'version', 'download_url', 'translations');
		}

		public function toWpFormat() {
			$update = new stdClass();

			$update->slug = $this->slug;
			$update->new_version = $this->version;
			$update->package = $this->download_url;

			return $update;
		}
	}

endif;