mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #748] "powershell" in Remote shell, just got stuck #492
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CaledoniaProject on GitHub (Jan 14, 2019).
Original GitHub issue: https://github.com/quasar/Quasar/issues/748
Fresh compile from master branch, the remote shell isn't working well.
I typed
powershell -ep bypassand it become like this:And the shell is no longer working, was it expected?
P.S I'm Running both client and server on Windows 8.1.
@MaxXor commented on GitHub (Jan 14, 2019):
The shell implementation has some problems when other processes are opened inside it. :/
@MaxXor commented on GitHub (Jan 26, 2019):
Can you confirm it's working with
github.com/quasar/QuasarRAT@040f25f4ca? The console shouldn't get stuck anymore.@CaledoniaProject commented on GitHub (Jan 27, 2019):
Not really. Built a release with latest dev branch:
@MaxXor commented on GitHub (Jan 27, 2019):
Could you trying entering some powershell command? For me it looks like this:
@CaledoniaProject commented on GitHub (Jan 27, 2019):
I tried, it just shows a red char "W" and nothing else. No matter what I type, I got no feedback on the screen.
Tried on both English OS and non-english ones, same result. So it's not a code page issue.
@MaxXor commented on GitHub (Jan 27, 2019):
What Powershell version are you using?
@CaledoniaProject commented on GitHub (Jan 27, 2019):
Complete test results:
@MaxXor commented on GitHub (Jan 27, 2019):
Okay thanks a lot for testing! I can confirm it on my Windows 7 machine with PS 2.X. I think it's most likely a problem with the old PS versions. When I test it with ncat for example, which also spawns a new process and redirects input/ouput to the shell, it's working flawlessly.
I don't think it's worth it to add some complicated workaround for older Powershell versions.
@CaledoniaProject commented on GitHub (Jan 27, 2019):
Yeah, metasploit has similar issue on Windows 7.
@MaxXor commented on GitHub (Jan 27, 2019):
Maybe some issue with Windows versions < 10?