Skip to content

Instantly share code, notes, and snippets.

View kelamrani's full-sized avatar

khalid el amrani kelamrani

View GitHub Profile
@kelamrani
kelamrani / System Design.md
Created April 2, 2023 17:37 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@kelamrani
kelamrani / wmic_cmds.txt
Created April 18, 2020 04:15 — forked from xorrior/wmic_cmds.txt
Useful Wmic queries for host and domain enumeration
Host Enumeration:
--- OS Specifics ---
wmic os LIST Full (* To obtain the OS Name, use the "caption" property)
wmic computersystem LIST full
--- Anti-Virus ---
wmic /namespace:\\root\securitycenter2 path antivirusproduct
@kelamrani
kelamrani / sed cheatsheet
Created March 20, 2020 03:42 — forked from ssstonebraker/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
@kelamrani
kelamrani / hpb3_links.txt
Created March 8, 2020 15:35 — forked from audibleblink/hpb3_links.txt
All links from Hacker Playbook 3, with bit.ly links unfurled
@kelamrani
kelamrani / htb.md
Created December 24, 2019 06:25 — forked from AvasDream/htb.md
Cheatsheet for HackTheBox

Purpose

Cheatsheet for HackTheBox with common things to do while solving these CTF challenges.

Because a smart man once said:

Never google twice.

Linux General