Make token generator script
This commit is contained in:
parent
63bfae1014
commit
8268fed28c
3 changed files with 110 additions and 17 deletions
|
|
@ -5,8 +5,6 @@ header: ADvanced LINux administration
|
|||
footer: EPITA SRS 2019
|
||||
author: Écrit par Pierre-Olivier *nemunaire* Mercier <**nemunaire+adlin@nemunai.re**>
|
||||
date: 2018-02-21
|
||||
hyphenate: true
|
||||
pandoc-version: true
|
||||
...
|
||||
|
||||
# NOM
|
||||
|
|
@ -35,61 +33,61 @@ Outrepasser la phase de connexion et devenir **root** sur le système.
|
|||
|
||||
## STAGE 1
|
||||
|
||||
**adlin token1 | curl -d @- https://172.23.0.1/challenge1**
|
||||
**adlin token1 | curl -d @- http://172.23.0.1/challenge**
|
||||
|
||||
Voir aussi: **modprobe**(8), **fbi**(1), **ip**(8), **ip-link**(8), **ip-address**(8)
|
||||
|
||||
|
||||
## STAGE 2
|
||||
|
||||
**adlin token2 | curl -d @- https://172.23.200.1/challenge2**
|
||||
**adlin token2 | curl -d @- http://172.23.200.1/challenge**
|
||||
|
||||
Voir aussi: **ip-route**(8), **crontab**(1)
|
||||
|
||||
|
||||
## STAGE 3 (bonus)
|
||||
## STAGE 3
|
||||
|
||||
**cat token3 | curl -d @- https://172.23.200.1/challenge3**
|
||||
|
||||
Voir aussi: **mount**(8)
|
||||
|
||||
|
||||
## STAGE 4
|
||||
|
||||
**token4 | curl -d @- https://172.23.200.1/challenge4**
|
||||
**adlin token3 | curl -d @- https://172.23.200.1/challenge**
|
||||
|
||||
Voir aussi: **ntpd**(1)
|
||||
|
||||
|
||||
## STAGE 4
|
||||
## STAGE 4 (bonus)
|
||||
|
||||
**dig** *token4* **| curl -d @- https://172.23.200.1/challenge4**
|
||||
**cat token4 | curl -d @- https://172.23.200.1/challenge**
|
||||
|
||||
Voir aussi: **resolv.conf**(5), **dig**(1)
|
||||
Voir aussi: **mount**(8)
|
||||
|
||||
|
||||
## STAGE 5
|
||||
|
||||
**adlin toke5 | curl -d @- https://adlin.nemunai.re/challenge5**
|
||||
**dig** *token5* **| curl -d @- https://172.23.200.1/challenge**
|
||||
|
||||
Voir aussi: **resolv.conf**(5), **dig**(1)
|
||||
|
||||
|
||||
## STAGE 6
|
||||
|
||||
**adlin token6 | curl -d @- https://adlin.nemunai.re/challenge**
|
||||
|
||||
Voir aussi: **ip-link**(8), **udhcpc**(1), **traceroute**(8), **tcpdump**(1), **sysctl**(8)
|
||||
|
||||
|
||||
## STAGE 6
|
||||
## STAGE 7
|
||||
|
||||
**mail** [*OPTIONS*] **adlin@nemunai.re**
|
||||
|
||||
Voir aussi: **dig**(1), **mail**(1)
|
||||
|
||||
|
||||
## STAGE 7
|
||||
## STAGE 8
|
||||
|
||||
**cat ~/.ssh/***id_ssh* **| curl -d @- https://adlin.nemunai.re/sshkey**
|
||||
|
||||
Voir aussi: **ssh-keygen**(1)
|
||||
|
||||
|
||||
## STAGE 8
|
||||
## STAGE 9
|
||||
|
||||
**ssh -p** *23000* **root@adlin.nemunai.re**
|
||||
|
||||
|
|
|
|||
Reference in a new issue