Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files11
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- Makefile.kup
- UIWizardCloneVD.cpp
- UIWizardCloneVD.h
- UIWizardCloneVDPageBasic1.cpp
- UIWizardCloneVDPageBasic1.h
- UIWizardCloneVDPageBasic2.cpp
- UIWizardCloneVDPageBasic2.h
- UIWizardCloneVDPageBasic3.cpp
- UIWizardCloneVDPageBasic3.h
- UIWizardCloneVDPageExpert.cpp
- UIWizardCloneVDPageExpert.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/UIWizardCloneVDPageBasic1.h
Text · 3,421 bytes/* $Id: UIWizardCloneVDPageBasic1.h $ */
/** @file
* VBox Qt GUI - UIWizardCloneVDPageBasic1 class declaration.
*/
/*
* Copyright (C) 2006-2020 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDPageBasic1_h
#define FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDPageBasic1_h
#ifndef RT_WITHOUT_PRAGMA_ONCE
# pragma once
#endif
/* GUI includes: */
#include "UIWizardPage.h"
/* COM includes: */
#include "COMEnums.h"
#include "CMediumFormat.h"
/* Forward declarations: */
class QVBoxLayout;
class QButtonGroup;
class QRadioButton;
class QIRichTextLabel;
/** 1st page of the Clone Virtual Disk Image wizard (base part): */
class UIWizardCloneVDPage1 : public UIWizardPageBase
{
protected:
/** Constructs page basis. */
UIWizardCloneVDPage1();
/** Adds format button.
* @param pParent Brings the parent to add button to.
* @param pFormatsLayout Brings the layout to insert button to.
* @param enmDeviceType Brings the device type all buttons should be restricted to.
* @param comMediumFormat Brings the medium format object to acquire format from.
* @param fPreferred Brings whether curretn format is preferred or not. */
void addFormatButton(QWidget *pParent,
QVBoxLayout *pFormatsLayout,
KDeviceType enmDeviceType,
CMediumFormat comMediumFormat,
bool fPreferred = false);
/** Returns 'mediumFormat' field value. */
CMediumFormat mediumFormat() const;
/** Defines 'mediumFormat' field value. */
void setMediumFormat(const CMediumFormat &comMediumFormat);
/** Holds the format button-group instance. */
QButtonGroup *m_pFormatButtonGroup;
/** Holds the format description list. */
QList<CMediumFormat> m_formats;
/** Holds the format name list. */
QStringList m_formatNames;
};
/** 2nd page of the Clone Virtual Disk Image wizard (basic extension): */
class UIWizardCloneVDPageBasic1 : public UIWizardPage, public UIWizardCloneVDPage1
{
Q_OBJECT;
Q_PROPERTY(CMediumFormat mediumFormat READ mediumFormat WRITE setMediumFormat);
public:
/** Constructs basic page.
* @param enmDeviceType Brings the device type to limit format to. */
UIWizardCloneVDPageBasic1(KDeviceType enmDeviceType);
private:
/** Handles translation event. */
virtual void retranslateUi() /* override */;
/** Prepares the page. */
virtual void initializePage() /* override */;
/** Returns whether the page is complete. */
virtual bool isComplete() const /* override */;
/** Returns the ID of the next page to traverse to. */
virtual int nextId() const /* override */;
/** Holds the description label instance. */
QIRichTextLabel *m_pLabel;
};
#endif /* !FEQT_INCLUDED_SRC_wizards_clonevd_UIWizardCloneVDPageBasic1_h */