diff --git a/core/main/client/os.js b/core/main/client/os.js index 0b6a7f72a..1232f835f 100644 --- a/core/main/client/os.js +++ b/core/main/client/os.js @@ -86,6 +86,10 @@ beef.os = { return (this.ua.match('(Windows NT 6.3)')) ? true : false; }, + isWin10: function() { + return (this.ua.match('Windows NT 10.0')) ? true : false; + }, + isOpenBSD: function() { return (this.ua.indexOf('OpenBSD') != -1) ? true : false; }, @@ -211,6 +215,7 @@ beef.os = { getVersion: function(){ //Windows if(this.isWindows()) { + if (this.isWin10()) return '10'; if (this.isWin81()) return '8.1'; if (this.isWin8()) return '8'; if (this.isWin7()) return '7';