Skip to content

Commit 0b23fc2

Browse files
committed
Revert "Use actual vars so that jsobfu can randomize."
This reverts commit b9284c5.
1 parent d41b346 commit 0b23fc2

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

data/js/detect/os.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11

22
// Case matters, see lib/msf/core/constants.rb
33
// All of these should match up with constants in ::Msf::HttpClients
4-
var clients_opera = "Opera";
5-
var clients_ie = "MSIE";
6-
var clients_ff = "Firefox";
7-
var clients_chrome= "Chrome";
8-
var clients_safari= "Safari";
4+
clients_opera = "Opera";
5+
clients_ie = "MSIE";
6+
clients_ff = "Firefox";
7+
clients_chrome= "Chrome";
8+
clients_safari= "Safari";
99

1010
// All of these should match up with constants in ::Msf::OperatingSystems
11-
var oses_linux = "Linux";
12-
var oses_windows = "Microsoft Windows";
13-
var oses_mac_osx = "Mac OS X";
14-
var oses_freebsd = "FreeBSD";
15-
var oses_netbsd = "NetBSD";
16-
var oses_openbsd = "OpenBSD";
11+
oses_linux = "Linux";
12+
oses_windows = "Microsoft Windows";
13+
oses_mac_osx = "Mac OS X";
14+
oses_freebsd = "FreeBSD";
15+
oses_netbsd = "NetBSD";
16+
oses_openbsd = "OpenBSD";
1717

1818
// All of these should match up with the ARCH_* constants
19-
var arch_armle = "armle";
20-
var arch_x86 = "x86";
21-
var arch_x86_64 = "x86_64";
22-
var arch_ppc = "ppc";
19+
arch_armle = "armle";
20+
arch_x86 = "x86";
21+
arch_x86_64 = "x86_64";
22+
arch_ppc = "ppc";
2323

2424
window.os_detect = {};
2525

0 commit comments

Comments
 (0)