Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tavern/tomes/system_info/main.eldritch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
def main():
print("Operating System Information:")
pprint(sys.get_os())
print()
print("hostname: ", sys.hostname())
print()
print("User Information:")
pprint(sys.get_user())
print()
print("System time:")
print(time.format_to_readable(time.now(), "%Y-%m-%d %H:%M:%S"))
print()
print("Network information:")
pprint(sys.get_ip())

main()
5 changes: 5 additions & 0 deletions tavern/tomes/system_info/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: System Info
description: Enumerate basic system info
author: hulto
tactic: RECON
support_model: FIRST_PARTY
Loading