Skip to content

Commit

Permalink
Prepare for release 0.5.8 RC1 (Velocidex#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette authored Apr 1, 2021
1 parent 232267d commit fda79a0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

const (
VERSION = "0.5.7"
VERSION = "0.5.8-rc1"
ENROLLMENT_WELL_KNOWN_FLOW = "E:Enrol"
MONITORING_WELL_KNOWN_FLOW = FLOW_PREFIX + "Monitoring"

Expand Down
3 changes: 2 additions & 1 deletion gui/velociraptor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion gui/velociraptor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"react-step-wizard": "^5.3.5",
"react-treebeard": "^3.2.4",
"recharts": "^1.8.5",
"styled-components": "^5.2.0"
"styled-components": "^5.2.0",
"y18n": "^4.0.1"
},
"homepage": ".",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion gui/velociraptor/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13504,7 +13504,7 @@
"resolved" "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz"
"version" "4.0.2"

"y18n@^4.0.0":
"y18n@^4.0.0", "y18n@^4.0.1":
"integrity" "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ=="
"resolved" "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz"
"version" "4.0.1"
Expand Down
10 changes: 10 additions & 0 deletions vql/windows/processes.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ package windows

import (
"context"
"debug/pe"
"runtime"
"syscall"
"time"
Expand Down Expand Up @@ -54,6 +55,7 @@ type Win32_Process struct {
IoCounters *IO_COUNTERS
Memory *PROCESS_MEMORY_COUNTERS
PebBaseAddress uint64
IsWow64 bool
}

type MemoryInfoStat struct {
Expand Down Expand Up @@ -127,6 +129,14 @@ func (self *Win32_Process) getCmdLine(handle syscall.Handle) {
func (self *Win32_Process) getProcessInfo(handle syscall.Handle) {
handle_info := PROCESS_BASIC_INFORMATION{}
var length uint32
var processMachine, nativeMachine uint16
err := windows.IsWow64Process2(
windows.Handle(handle), &processMachine, &nativeMachine)
if err == nil {
if processMachine == pe.IMAGE_FILE_MACHINE_I386 {
self.IsWow64 = true
}
}

status := NtQueryInformationProcess(handle, ProcessBasicInformation,
(*byte)(unsafe.Pointer(&handle_info)),
Expand Down

0 comments on commit fda79a0

Please sign in to comment.