Пример #1
0
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; Version 2.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#[email protected]
#

##################################################################################
#
# List of all extension modules: add your module name here
#
##################################################################################

import platform
from chipsec.helper.oshelper import avail_helpers
if "linux" == platform.system().lower():
    __all__ = ["linuxhelper"]
    avail_helpers.append("linuxhelper")
else:
    __all__ = []
Пример #2
0
#CHIPSEC: Platform Security Assessment Framework
#Copyright (c) 2019, Intel Corporation
#
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; Version 2.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#[email protected]
#

from chipsec.helper.oshelper import avail_helpers
__all__ = ["filehelper"]
avail_helpers.append("filehelper")
Пример #3
0
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; Version 2.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
# Contact information:
# [email protected]
#

##################################################################################
#
# List of all extension modules: add your module name here
#
##################################################################################

import sys
from chipsec.helper.oshelper import avail_helpers

if 'itpii' in sys.modules:
    __all__ = ['dalhelper']
    avail_helpers.append("dalhelper")
else:
    __all__ = []
Пример #4
0
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; Version 2.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#[email protected]
#

##################################################################################
#
# List of all extension modules: add your module name here
#
##################################################################################

import platform, os
from chipsec.helper.oshelper import avail_helpers
if "windows" == platform.system().lower():
    __all__ = ["win32helper"]
    avail_helpers.append("win32helper")
else:
    __all__ = []
Пример #5
0
# CHIPSEC: Platform Security Assessment Framework
# Copyright (c) 2016, Google
# Copyright (c) 2018-2019, Intel Corporation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; Version 2.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#

import platform
from chipsec.helper.oshelper import avail_helpers
if 'darwin' == platform.system().lower():
    __all__ = ["osxhelper"]
    avail_helpers.append("osxhelper")
else:
    __all__ = []
Пример #6
0
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#[email protected]
#




##################################################################################
#
# List of all extension modules: add your module name here
#
##################################################################################

import sys
from chipsec.helper.oshelper import avail_helpers
if sys.platform.startswith('uefi') or sys.platform.startswith('EFI'):
    __all__ = [ "efihelper" ]
    avail_helpers.append("efihelper")
else:
    __all__ = [ ]
Пример #7
0
#!/usr/bin/python
#CHIPSEC: Platform Security Assessment Framework
#Copyright (c) 2010-2019, Intel Corporation
#
#This program is free software; you can redistribute it and/or
#modify it under the terms of the GNU General Public License
#as published by the Free Software Foundation; Version 2.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
#Contact information:
#[email protected]
#

import platform, os
from chipsec.helper.oshelper import avail_helpers
if "windows" == platform.system().lower():
    __all__ = [ "rwehelper" ]
    avail_helpers.append("rwehelper")
else:
    __all__ = [ ]