You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some abilities are not working as intended: For example there is an "Port Scan" ability which is configured for linux with "sh" executor and looks like this
for port in {1..1000}; do (2>/dev/null echo >/dev/tcp/10.10.10.10/$port) && echo port $port is open ; done
but when I try to execute this on a Linux agend it only returns error "failed". I tried to execute this command manually in my Linux-Agent-Machine ( in an "sh" shell !) and its not working. It works in bash-shell though. So if i change the command of this ability to
bash -c "for port in {1..1000}; do (2>/dev/null echo >/dev/tcp/10.10.10.10/$port) && echo port $port is open ; done"
it is executed correctly, the agent does the port scan but the return/result is still "failed" because it is not correctly reading/returning the output from this scan.
Another example was an "ping" ability for Linux which looked like
ping -n 5 10.10.10.10
which got stuck in a ping loop forever because "-n" is wrong parameter. It should be
ping -c 5 10.10.10.10
Or am I doing something wrong here?
The text was updated successfully, but these errors were encountered:
Apologies that you've run into some outdated commands. You're definitely not doing anything wrong. If your corrections are working, which they appear to be, feel free to submit a PR for the abilities and our dev team can review and merge the working command. We would appreciate your contributions for any additional outdated commands you may find also!
Hey. I am using tag 5.0.0
Some abilities are not working as intended: For example there is an "Port Scan" ability which is configured for linux with "sh" executor and looks like this
for port in {1..1000}; do (2>/dev/null echo >/dev/tcp/10.10.10.10/$port) && echo port $port is open ; done
but when I try to execute this on a Linux agend it only returns error "failed". I tried to execute this command manually in my Linux-Agent-Machine ( in an "sh" shell !) and its not working. It works in bash-shell though. So if i change the command of this ability to
bash -c "for port in {1..1000}; do (2>/dev/null echo >/dev/tcp/10.10.10.10/$port) && echo port $port is open ; done"
it is executed correctly, the agent does the port scan but the return/result is still "failed" because it is not correctly reading/returning the output from this scan.
Another example was an "ping" ability for Linux which looked like
ping -n 5 10.10.10.10
which got stuck in a ping loop forever because "-n" is wrong parameter. It should be
ping -c 5 10.10.10.10
Or am I doing something wrong here?
The text was updated successfully, but these errors were encountered: