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 files30
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- Makefile.kup
- UIFileManager.cpp
- UIFileManager.h
- UIFileManagerDialog.cpp
- UIFileManagerDialog.h
- UIFileManagerGuestTable.cpp
- UIFileManagerGuestTable.h
- UIFileManagerHostTable.cpp
- UIFileManagerHostTable.h
- UIFileManagerLogPanel.cpp
- UIFileManagerLogPanel.h
- UIFileManagerOperationsPanel.cpp
- UIFileManagerOperationsPanel.h
- UIFileManagerOptionsPanel.cpp
- UIFileManagerOptionsPanel.h
- UIFileManagerSessionPanel.cpp
- UIFileManagerSessionPanel.h
- UIFileManagerTable.cpp
- UIFileManagerTable.h
- UIGuestControlConsole.cpp
- UIGuestControlConsole.h
- UIGuestControlDefs.h
- UIGuestControlInterface.cpp
- UIGuestControlInterface.h
- UIGuestControlTreeItem.cpp
- UIGuestControlTreeItem.h
- UIGuestProcessControlDialog.cpp
- UIGuestProcessControlDialog.h
- UIGuestProcessControlWidget.cpp
- UIGuestProcessControlWidget.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.h
Text · 3,372 bytes/* $Id: UIFileManagerGuestTable.h $ */
/** @file
* VBox Qt GUI - UIFileManagerGuestTable class declaration.
*/
/*
* Copyright (C) 2016-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_guestctrl_UIFileManagerGuestTable_h
#define FEQT_INCLUDED_SRC_guestctrl_UIFileManagerGuestTable_h
#ifndef RT_WITHOUT_PRAGMA_ONCE
# pragma once
#endif
/* Qt includes: */
# include <QUuid>
/* COM includes: */
#include "COMEnums.h"
#include "CGuestSession.h"
/* GUI includes: */
#include "UIFileManagerTable.h"
/* Forward declarations: */
class UIActionPool;
class UICustomFileSystemItem;
/** This class scans the guest file system by using the VBox Guest Control API
* and populates the UIGuestControlFileModel*/
class UIFileManagerGuestTable : public UIFileManagerTable
{
Q_OBJECT;
signals:
void sigNewFileOperation(const CProgress &comProgress);
public:
UIFileManagerGuestTable(UIActionPool *pActionPool, QWidget *pParent = 0);
void initGuestFileTable(const CGuestSession &session);
void copyGuestToHost(const QString& hostDestinationPath);
void copyHostToGuest(const QStringList &hostSourcePathList,
const QString &strDestination = QString());
protected:
void retranslateUi() /* override */;
virtual void readDirectory(const QString& strPath, UICustomFileSystemItem *parent, bool isStartDir = false) /* override */;
virtual void deleteByItem(UICustomFileSystemItem *item) /* override */;
virtual void deleteByPath(const QStringList &pathList) /* override */;
virtual void goToHomeDirectory() /* override */;
virtual bool renameItem(UICustomFileSystemItem *item, QString newBaseName);
virtual bool createDirectory(const QString &path, const QString &directoryName);
virtual QString fsObjectPropertyString() /* override */;
virtual void showProperties() /* override */;
virtual void determineDriveLetters() /* override */;
virtual void determinePathSeparator() /* override */;
virtual void prepareToolbar() /* override */;
virtual void createFileViewContextMenu(const QWidget *pWidget, const QPoint &point) /* override */;
/** @name Copy/Cut guest-to-guest stuff.
* @{ */
/** Disable/enable paste action depending on the m_eFileOperationType. */
virtual void setPasteActionEnabled(bool fEnabled) /* override */;
virtual void pasteCutCopiedObjects() /* override */;
/** @} */
private:
KFsObjType fileType(const CFsObjInfo &fsInfo);
KFsObjType fileType(const CGuestFsObjInfo &fsInfo);
void prepareActionConnections();
bool checkGuestSession();
QString permissionString(const CFsObjInfo &fsInfo);
bool isFileObjectHidden(const CFsObjInfo &fsInfo);
mutable CGuestSession m_comGuestSession;
};
#endif /* !FEQT_INCLUDED_SRC_guestctrl_UIFileManagerGuestTable_h */