Skip to content

Commit

Permalink
Fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
nodauf committed Apr 15, 2023
1 parent 0fa6870 commit 94551ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal/terminal.go
Expand Up @@ -97,7 +97,7 @@ func (terminal *Terminal) PrepareShell() error {

} else if terminal.OS == "windows" {

if !terminal.Options.DisableConPTY {
if runtime.GOOS == "linux" && !terminal.Options.DisableConPTY {
terminal.interactiveReverseShellWindows()
terminal.Log.Debug("Starting http server on " + terminal.Con.LocalAddr().String())
err := terminal.serveHTTPRevShellPowershell()
Expand Down

0 comments on commit 94551ca

Please sign in to comment.