prey / prey-bash-client

DEPRECATED - Project no longer supported, please consider using https://github.com/prey/prey-node-client instead
GNU General Public License v3.0
868 stars 135 forks source link

User name with spaces is not reported correctly #404

Closed FinalDoom closed 5 years ago

FinalDoom commented 11 years ago

Running on Windows 7, my username has a space in it, eg. "Foo Bar". After running a report, checking it on the control panel shows that my logged in user is "Foo", without the " Bar" part.

echo %USERNAME% in cmd shows the username correctly, so (without slogging through the code), I assume there's a quoting issue somewhere.