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
1 change: 1 addition & 0 deletions tavern/tomes/arp_scan/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ def arp_scan():
res = pivot.arp_scan(all_ips)
print(res)

time.sleep(1)
arp_scan()
1 change: 1 addition & 0 deletions tavern/tomes/cat/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ def cat(path):

return

sleep(5)
cat(input_params['path'])
1 change: 1 addition & 0 deletions tavern/tomes/file_list/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ def file_list(path):
else:
eprint(f"No files found at '{path}'")

time.sleep(1)
file_list(input_params['path'])
2 changes: 1 addition & 1 deletion tavern/tomes/file_mkdir/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ def main():
return
file.mkdir(new_dir, parent)


time.sleep(1)
main()
2 changes: 2 additions & 0 deletions tavern/tomes/file_tree/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def main(path):
elif file.is_file(path):
eprint(f"Error: Invalid Path ({path})")

time.sleep(1)

input_params['path']="/"
main(input_params['path'])
print("")
1 change: 1 addition & 0 deletions tavern/tomes/file_write/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ def main():
# Print a Success!
print(f"[INFO] The file '{new_file_path}' was successfully written!")

time.sleep(1)

main()
2 changes: 2 additions & 0 deletions tavern/tomes/get_env/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ def get_env():

return

time.sleep(1)

get_env()
2 changes: 2 additions & 0 deletions tavern/tomes/get_net_info/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ def ifconfig():
rows.append([interface['name'], ip, interface['mac']])
print_table(rows)

time.sleep(1)

ifconfig()
2 changes: 2 additions & 0 deletions tavern/tomes/get_registry/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ def get_registry(hive, path):
pk = pad_key(k,max_len)
print(f"{pk} : {v}")

time.sleep(1)

get_registry(input_params['hive'], input_params['path'])
print()
1 change: 1 addition & 0 deletions tavern/tomes/kill_process/main.eldritch
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
process.kill(int(input_params['pid']))
time.sleep(1)
print("")
2 changes: 2 additions & 0 deletions tavern/tomes/netstat/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ def netstat():
rows.append(fields)
print_table(rows)

time.sleep(1)

netstat()
1 change: 1 addition & 0 deletions tavern/tomes/process_info/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ def process_info(pid):
else:
print("{}={}".format(key, value))

time.sleep(1)
process_info(int(input_params['pid']))
print("")
1 change: 1 addition & 0 deletions tavern/tomes/process_list/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ def process_list(cmd_substring):

print_table(rows)

time.sleep(1)
process_list(input_params['cmd_substring'])
print("")
2 changes: 2 additions & 0 deletions tavern/tomes/process_tree/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,7 @@ def process_tree(cmd_substring):
for pid in process_tree:
depth_first_search(visited, process_tree, pid, 0, process_list_dictionary)

time.sleep(1)

process_tree(input_params['cmd_substring'])
print("")
2 changes: 2 additions & 0 deletions tavern/tomes/remove_file/main.eldritch
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
file.remove(input_params['path'])
print("")

time.sleep(1)
1 change: 1 addition & 0 deletions tavern/tomes/shell_cmd/main.eldritch
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ def shell_cmd(cmd):
print("stderr:", res['stderr'])
print("status:", res['status'])

time.sleep(1)
shell_cmd(input_params['cmd'])
print("")