Skip to content

Commit

Permalink
descriptor table fix attempt 7
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Mar 20, 2024
1 parent c1b0bfa commit 2ed0a23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ int main(int argc, char* argv[]) {
//checker(VM::SIDT, "SIDT");
//checker(VM::SGDT, "SGDT");
//checker(VM::SLDT, "SLDT");
checker(VM::OFFSEC_SIDT, "Offensive Security SIDT");
checker(VM::OFFSEC_SGDT, "Offensive Security SGDT");
checker(VM::OFFSEC_SGDT, "Offensive Security SLDT");
//checker(VM::OFFSEC_SIDT, "Offensive Security SIDT");
//checker(VM::OFFSEC_SGDT, "Offensive Security SGDT");
//checker(VM::OFFSEC_SGDT, "Offensive Security SLDT");
checker(VM::HYPERV_BOARD, "Hyper-V motherboard");
std::printf("\n");

Expand Down
6 changes: 3 additions & 3 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5537,9 +5537,9 @@ const std::map<VM::u8, VM::core::technique> VM::core::table = {
//{ VM::SIDT, { 30, VM::sidt }},
//{ VM::SGDT, { 30, VM::sgdt }},
//{ VM::SLDT, { 15, VM::sldt }},
{ VM::OFFSEC_SIDT, { 60, VM::offsec_sidt }},
{ VM::OFFSEC_SGDT, { 60, VM::offsec_sgdt }},
{ VM::OFFSEC_SLDT, { 20, VM::offsec_sldt }},
//{ VM::OFFSEC_SIDT, { 60, VM::offsec_sidt }},
//{ VM::OFFSEC_SGDT, { 60, VM::offsec_sgdt }},
//{ VM::OFFSEC_SLDT, { 20, VM::offsec_sldt }},
{ VM::HYPERV_BOARD, { 45, VM::hyperv_board }}

// __TABLE_LABEL, add your technique above
Expand Down

0 comments on commit 2ed0a23

Please sign in to comment.