Skip to content

Commit 83fce74

Browse files
committed
Add more notes on infrastructure, pentest.
1 parent 35be1ab commit 83fce74

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

infrastructure.txt

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
*Infrastructure*
2+
CPU
3+
**Scalar processors** execute one instruction per cycle (Rpi 1).
4+
**In-order superscalar processor** can ran multiple instructions that have no dependencies at the same time.
5+
**Out-of-order processor** can re-order instructions that have no dependencies to keep the pipes busy (Pentium 2, modern cortex).
6+
**branch prediction** is a complex CPU component that predicts which conditional branch will be taken to improve performance. It is a very complex mechanism that is trained at runtime. An attacker can miss-train it to take bad decisions.
7+
**Speculative execution** will execute instructions that are not needed to keep pipes busy.
8+
**Caching** uses temporal locality and spatial locality to store data that will likely be used soon.
29
Disks layouts
310
RAID 0
411
Data evenly splitted accross disks.

pentest.txt

+7-1
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,10 @@ Planning
147147
Date and time of the tests
148148
All outputs of the tools and exploits
149149
A list of identified vulnerabilities
150-
Recommendations to mitigate identified vulnerabilities, organized into priorities
150+
Recommendations to mitigate identified vulnerabilities, organized into priorities
151+
152+
153+
Terminology
154+
**Smishing** Phising over SMS. Usually to access financial information
155+
**Vishing** Phising over phone. Usually to access financial information
156+
**Side-channel attack** is an attack based on the physical implementation of the system (timing, sounds, etc...).

python.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ Comprehensions
1212
*EXP for x in seq if COND *
1313
You need to a assign it to a data structure:
1414
*x = [COMP] # list
15-
x = set(COMP)
16-
x = str(COMP)
17-
x = iter(COMP)*
15+
set(COMP) lis(COMP) str(COMP) iter(COMP)*
1816

1917

2018
Python functional

0 commit comments

Comments
 (0)