Skip to content

Commit 2078fa3

Browse files
committed
img path changed
1 parent 32ea463 commit 2078fa3

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.obsidian/workspace.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@
195195
},
196196
"active": "ee5500bc31858ea2",
197197
"lastOpenFiles": [
198+
"Pasted/ image/ 20230919202601.png.md",
199+
"Pasted/ image",
200+
"Pasted",
198201
"SSH/Pasted image 20230919202601.png",
199202
"SSH/Pasted image 20230919201726.png",
200203
"Pasted image 20230903233728.png",

Pasted/ image/ 20230919202601.png.md

Whitespace-only changes.

SSH/SSH pivoting techniques.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,35 @@
33
```bash
44
ssh-keygen -t ecdsa -b 521
55
```
6-
pass path with file name *id_ecdsa*
6+
7+
pass path with file name _id_ecdsa_
78

89
![[Pasted image 20230919201726.png]]
910

1011
##### public key to authorised_keys
12+
1113
with echo move public key to authorised keys
1214

1315
```bash
1416
echo "ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAF8RoPKOXwQx2cl9ChH2VbZif9nsWHPE8UAMAdK7eMyUzBHvHsr9QeRmtVnO+V1nZh3q6EPW04k6mF8jbZbNTGBGAGvyQ0qMiuT68oR64ouKCqy9rro7+uWl3738G6HSqge5rv35gwwGe2ZVNlx4SsuI+PsRFSvqi09j0IuHQEqXTEbPw== splitunknown@splitunknown" >> authorized_keys
1517
```
1618

17-
1819
##### ssh to server
20+
1921
```bash
2022
ssh -i key/id_ecdsa [email protected]
2123
```
2224

23-
2425
##### PIVOTING
2526

2627
```bash
2728
netstat -nlpt
2829
(Not all processes could be identified, non-owned process info
2930
will not be shown, you would have to be root to see it all.)
3031
Active Internet connections (only servers)
31-
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
32-
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN -
33-
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
32+
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
33+
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN -
34+
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
3435
```
3536

3637
```bash
@@ -55,3 +56,4 @@ Forwarding port.
5556
```
5657

5758
![[Pasted image 20230919202601.png]]
59+
![Pasted\ image\ 20230919202601.png](<./Pasted\ image\ 20230919202601.png>)

0 commit comments

Comments
 (0)