bats3c / shad0w

A post exploitation framework designed to operate covertly on heavily monitored environments
https://blog.dylan.codes/shad0w/
MIT License
2.03k stars 323 forks source link

Date and Time of Execution using Receive Task Logging #58

Closed felixguerrero12 closed 3 years ago

felixguerrero12 commented 3 years ago

Submitting this to track when time of execution occurred. It is good for operators attribution when things occurred.

Adding this to lib/path_handler.py

Timestamping:

now = datetime.now() date_time = now.strftime("%m/%d/%Y, %H:%M:%S")

self.shad0w.debug.log(f"Beacon ({beacon_id}) received task at {date_time}", log=True)

bats3c commented 3 years ago

This is a good idea. I've rewritten all the logging code on the teamserver branch which will soon be merged into master. If you could update this code to work with that, I'll merge it. Thanks for your work tho man

bats3c commented 3 years ago

Will be implemented by the teamserver