{% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * 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.
{% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} yum에 λŒ€ν•œ μΆ”κ°€ μ˜ˆμ œλŠ” [gtfobins](https://gtfobins.github.io/gtfobins/yum/)μ—μ„œ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€. # RPM νŒ¨ν‚€μ§€λ₯Ό ν†΅ν•œ μž„μ˜ λͺ…λ Ή μ‹€ν–‰ ## ν™˜κ²½ 확인 이 벑터λ₯Ό ν™œμš©ν•˜κΈ° μœ„ν•΄ μ‚¬μš©μžλŠ” 더 높은 κΆŒν•œμ„ 가진 μ‚¬μš©μž, 즉 root둜 yum λͺ…령을 μ‹€ν–‰ν•  수 μžˆμ–΄μ•Ό ν•©λ‹ˆλ‹€. ### 이 λ²‘ν„°μ˜ μž‘λ™ 예 이 μ΅μŠ€ν”Œλ‘œμž‡μ˜ μž‘λ™ μ˜ˆλŠ” [tryhackme](https://tryhackme.com) 방인 [daily bugle](https://tryhackme.com/room/dailybugle)μ—μ„œ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€. ## RPM νŒ¨ν‚€μ§• λ‹€μŒ μ„Ήμ…˜μ—μ„œλŠ” [fpm](https://github.com/jordansissel/fpm)을 μ‚¬μš©ν•˜μ—¬ λ¦¬λ²„μŠ€ 셸을 RPM으둜 νŒ¨ν‚€μ§•ν•˜λŠ” 방법을 λ‹€λ£° κ²ƒμž…λ‹ˆλ‹€. μ•„λž˜ μ˜ˆμ œλŠ” κ³΅κ²©μžκ°€ μ •μ˜ν•  수 μžˆλŠ” μž„μ˜μ˜ 슀크립트λ₯Ό ν¬ν•¨ν•œ μ„€μΉ˜ μ „ νŠΈλ¦¬κ±°κ°€ μžˆλŠ” νŒ¨ν‚€μ§€λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€. 이 νŒ¨ν‚€μ§€κ°€ μ„€μΉ˜λ˜λ©΄ μž„μ˜μ˜ λͺ…령이 μ‹€ν–‰λ©λ‹ˆλ‹€. 데λͺ¨λ₯Ό μœ„ν•΄ κ°„λ‹¨ν•œ λ¦¬λ²„μŠ€ λ„·μΊ£ μ…Έ 예제λ₯Ό μ‚¬μš©ν–ˆμ§€λ§Œ ν•„μš”μ— 따라 λ³€κ²½ν•  수 μžˆμŠ΅λ‹ˆλ‹€. ```text {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * 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.
{% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %}hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos. {% endhint %} {% endhint %} {% endhint %} {% endhint %} {% endhint %}