Skip to content

Instantly share code, notes, and snippets.

@er4z0r
er4z0r / crte_session_04_timestamps.csv
Created February 1, 2024 16:37
Timestampts for CRTE Session04.mp4
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
start;end;name
00:00:00;00:10:06;pre_session_qa
00:10:06;00:17:23;cross_forest_attacks_kerberoast
00:17:23;00:27:27;cross_forest_attacks_constrained_delegation_w_protocol_transition
00:27:28;00:39:21;cross_forest_attacks_unconstrained_delegation
00:39:21;01:16:38;cross_forest_attacks_trust_key
01:16:38;01:51:24;cross_forest_attacks_mssql_servers
01:51:24;01:59:00;cross_forest_attacks_foreign_security_principals
01:59:00;02:08:41;cross_forest_attacks_acls
02:08:41;02:24:50;cross_forest_attacks_abusing_pam_trust
@er4z0r
er4z0r / crte_session_02_timestamps.csv
Created February 1, 2024 16:35
Timestamps for CRTE Session02.mp4
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
start;end;name;
00:00:00;00:17:00;pre_session_qa
00:17:00;00:27:40;domain_enumeration_user_hunting
00:27:40;00:32:23;domain_enumeration_defense
00:32:23;00:55:56;local_privilege_escalation
00:55:56;01:11:16;user_hunting_handson
01:11:16;01:23:20;powershell_remoting
01:23:20;01:32:58;kerberos_introduction
01:32:58;01:53:33;domain_privsec_kerberoasting
01:53:33;01:58:38;domain_privsec_targeted_kerberoasting
@er4z0r
er4z0r / crte_session_03_timestamps.csv
Last active January 31, 2024 08:57
Timestamps for CRTE Session03.mp4
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
start;end;name;
00:14:20;00:46:05;domain_privesc_unconstrained_delegation
00:46:07;01:12:56;domain_privesc_constrained_delegation
01:12:56;01:35:00;domain_privsec_resource_based_constrained_delegation
01:35:00;01:57:35;domain_persistence_golden_ticket
01:57:37;02:08:20;domain_persistence_silver_ticket
02:08:21;02:18:26;domain_persistence_skeleton_key
02:18:27;02:22:54;domain_persistence_dsrm
02:22:54;02:26:43;domain_persistence_custom_ssp
02:26:43;02:38:32;domain_persistence_adminsdholer
@er4z0r
er4z0r / cut_with_timestamps.sh
Created January 30, 2024 15:45
Cut video from csv timestamp file
#!/bin/bash
# we need a video and a csv file as args
INVID=$1
TSFILE=$2
# read csv file of format starttime;endtime;description
while IFS=";" read start_ts end_ts descr
do
# for each record
@er4z0r
er4z0r / crte_session_01_timestamps.csv
Created January 30, 2024 15:42
Timestamps for CRTE Session01.mp4
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
start;end;name;
00:13:39;00:25:35;introduction
00:26:00;00:36:32;active_directory
00:36:32;01:38:17;attacking_active_directory_with_ps
01:38:17;01:43:15;assume_breach_methodlogy
01:43:15;01:47:50;the_lab_environment
01:47:50;02:02:31;domain_enumeration_intro_and_bh
02:02:31;02:53:12;domain_enumeration_domain_computers_users_groups
02:53:12;03:12:36;domain_enumeration_gpos_ous
03:12:37;03:32:00;domain_enumeration_acls
@er4z0r
er4z0r / ghostwriter_backup_restore.yml
Created July 1, 2022 13:06
Ansible playbook to backup/restore Ghostwriter database and saved files (no backup of GW application dir yet)
---
- hosts: ghostwriter_servers
become: yes
gather_facts: yes
become_user: root
vars:
backuptime: "{{ ansible_date_time.iso8601_basic }}"
ghostwriter_home: /home/ghostwriter
backupdir: "{{ ghostwriter_home }}/backups/{{ backuptime}}"
do_restore: false
### Keybase proof
I hereby claim:
* I am er4z0r on github.
* I am er4z0r (https://keybase.io/er4z0r) on keybase.
* I have a public key whose fingerprint is DFC5 7391 7727 23A2 18AD 9AE4 146B D6E9 BB5F 7493
To claim this, I am signing this object:
@er4z0r
er4z0r / all-pdf-pages
Created February 4, 2015 16:24
Sum of PDF-Pages on OS X
find . -name '*.pdf' -exec mdls {} \; | grep kMDItemNumberOfPages | awk -F'=' '{sum+=$2}END{print sum}'