besimorhino / powercat

netshell features all in version 2 powershell
Apache License 2.0
2.15k stars 473 forks source link

Send input and return value #24

Open qlikq opened 2 years ago

qlikq commented 2 years ago

Hello, is this normal behavior for the powercat that it does not return the value immediately from the other node? image It returns the value if i press enter after i run the command. Any idea if it is possible to implement a way not to wait for the 'enter' ?

pebteam commented 1 year ago

In my case, this seem to be OK :

"testing123nn" | powercat -c termbin.com -p 9999

(Even if there's an error message in line 180)

I use -d too, to just send one message and close the connexion :

"testing123nn" | powercat -c termbin.com -p 9999 -d

Some time, I need to send this command twice. But I don't understand why ?

Hope this comment will be usefull for someone

Excuse my so poor english.