Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1019748 // VM Detector [Dyn Module, detects VirtualBox etc.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 7696K of libraries. Click here for Pure Java version (5817L/39K).

!7

module VMDetector > DynBigNumber {
  start {
    setDescription("VIRTUAL MACHINE?");
    pcall {
      Pair<Bool, S> p = oshi_detectVM();
      setValue(p.a ? "YES: " + p.b : "NO");
    }
  }
}

Author comment

Began life as a copy of #1018978

download  show line numbers  debug dex  old transpilations   

Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019748
Snippet name: VM Detector [Dyn Module, detects VirtualBox etc.]
Eternal ID of this version: #1019748/3
Text MD5: b45d9fae6982b8d0d4ef0379b2013f78
Transpilation MD5: 15bbce4f18c61e4b4a9c389f85c9d664
Author: stefan
Category: javax / os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-24 17:02:16
Source code size: 207 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 394
Version history: 2 change(s)
Referenced in: [show references]