trustedsec / CS-Situational-Awareness-BOF

Situational Awareness commands implemented using Beacon Object Files
GNU General Public License v2.0
1.26k stars 218 forks source link

Ability for storing output in text file for sa-sc-enum #123

Closed yobroda closed 1 month ago

yobroda commented 1 month ago

Hi, I was trying to learn sliver when I was redirected here from sliver armory. When executing sa-sc-enum, help menu shows there are two arguments, flags and target server

I was wondering, if you guys can help me with some steps on how can i capture such a huge output in a text file instead of stdout on terminal

freefirex commented 1 month ago

We don't specifically manage the sliver integration of our various beacon object files. Likely you want a feature request against sliver to specifically allow redirection of any given command to a file.

Your other option would be using a command like tee to capture your entire interaction with sliver to a file, then use a text editor to search that after the fact. tee itself will display the color codes by default so you would end up needing to work around that.

yobroda commented 1 month ago

Thanks, it was indeed a nice workaround to use tee!!