Skip to content

kill_bios.py

LopeKinz edited this page Jul 6, 2023 · 1 revision

kill_bios.py

This module provides a function to kill the BIOS on a Windows system.

Usage

To use this module, you need to import the kill_bios function from kill_bios.py and call it.

from kill_bios import kill_bios

kill_bios()

Function

kill_bios()

This function kills the BIOS on a Windows system. It checks if the current user has administrative privileges and then uses the SetSystemTime function from the kernel32 library to set the system time to None, effectively killing the BIOS.

Example

kill_bios()

If the current user is an admin, the BIOS will be killed. Otherwise, an "Error" message will be printed.

Note: Killing the BIOS can have serious consequences and may render the system inoperable. This function should only be used for educational purposes and with extreme caution.

Dependencies

This module depends on the ctypes library, which is used to call Windows API functions.

To install the ctypes library, you can use the following command:

pip install ctypes

Requirements

This module is designed to work on Windows systems.

Clone this wiki locally