mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-26 22:52:06 +00:00
63 lines
3.8 KiB
Markdown
63 lines
3.8 KiB
Markdown
<details>
|
|
|
|
<summary><strong>Jifunze kuhusu kudukua AWS kutoka sifuri hadi shujaa na</strong> <a href="https://training.hacktricks.xyz/courses/arte"><strong>htARTE (Mtaalam wa Timu Nyekundu ya AWS ya HackTricks)</strong></a><strong>!</strong></summary>
|
|
|
|
Njia nyingine za kusaidia HackTricks:
|
|
|
|
* Ikiwa unataka kuona **kampuni yako ikionekana kwenye HackTricks** au **kupakua HackTricks kwa PDF** Angalia [**MPANGO WA KUJIUNGA**](https://github.com/sponsors/carlospolop)!
|
|
* Pata [**swag rasmi ya PEASS & HackTricks**](https://peass.creator-spring.com)
|
|
* Gundua [**The PEASS Family**](https://opensea.io/collection/the-peass-family), mkusanyiko wetu wa kipekee wa [**NFTs**](https://opensea.io/collection/the-peass-family)
|
|
* **Jiunge na** 💬 [**Kikundi cha Discord**](https://discord.gg/hRep4RUj7f) au [**kikundi cha telegram**](https://t.me/peass) au **tufuate** kwenye **Twitter** 🐦 [**@carlospolopm**](https://twitter.com/hacktricks_live)**.**
|
|
* **Shiriki mbinu zako za kudukua kwa kuwasilisha PRs kwenye** [**HackTricks**](https://github.com/carlospolop/hacktricks) na [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) repos za github.
|
|
|
|
</details>
|
|
|
|
|
|
# Taarifa Msingi
|
|
|
|
**Trivial File Transfer Protocol (TFTP)** ni itifaki rahisi inayotumiwa kwenye **bandari ya UDP 69** ambayo inaruhusu uhamishaji wa faili bila kuhitaji uwakilishi. Iliyobainishwa katika **RFC 1350**, urahisi wake una maana kuwa haina huduma muhimu za usalama, hivyo inatumika kidogo kwenye mtandao wa umma. Hata hivyo, **TFTP** inatumika sana ndani ya mitandao mikubwa ya ndani kwa kusambaza faili za **mipangilio** na **picha za ROM** kwa vifaa kama **simu za VoIP**, kutokana na ufanisi wake katika mazingira haya maalum.
|
|
|
|
**TODO**: Toa taarifa kuhusu ni nini Bittorrent-tracker (Shodan inatambua bandari hii kwa jina hilo). Ikiwa una taarifa zaidi kuhusu hili, tujulishe kwa mfano kwenye [**kikundi cha telegram cha HackTricks**](https://t.me/peass) (au kwenye suala la github katika [PEASS](https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite)).
|
|
|
|
**Bandari ya Default:** 69/UDP
|
|
```
|
|
PORT STATE SERVICE REASON
|
|
69/udp open tftp script-set
|
|
```
|
|
# Uchambuzi
|
|
|
|
TFTP haipatii orodha ya saraka, kwa hivyo hati ya `tftp-enum` kutoka `nmap` itajaribu kuvunja nguvu njia za chaguo-msingi.
|
|
```bash
|
|
nmap -n -Pn -sU -p69 -sV --script tftp-enum <IP>
|
|
```
|
|
## Pakua/Chapisha
|
|
|
|
Unaweza kutumia Metasploit au Python kuangalia ikiwa unaweza kupakua/kuchapisha faili:
|
|
```bash
|
|
msf5> auxiliary/admin/tftp/tftp_transfer_util
|
|
```
|
|
|
|
```bash
|
|
import tftpy
|
|
client = tftpy.TftpClient(<ip>, <port>)
|
|
client.download("filename in server", "/tmp/filename", timeout=5)
|
|
client.upload("filename to upload", "/local/path/file", timeout=5)
|
|
```
|
|
## Shodan
|
|
|
|
* `port:69`
|
|
|
|
|
|
<details>
|
|
|
|
<summary><strong>Jifunze kuhusu kudukua AWS kutoka mwanzo hadi kuwa bingwa na</strong> <a href="https://training.hacktricks.xyz/courses/arte"><strong>htARTE (HackTricks AWS Red Team Expert)</strong></a><strong>!</strong></summary>
|
|
|
|
Njia nyingine za kusaidia HackTricks:
|
|
|
|
* Ikiwa unataka kuona **kampuni yako ikionekana kwenye HackTricks** au **kupakua HackTricks kwa muundo wa PDF** Angalia [**MPANGO WA KUJIUNGA**](https://github.com/sponsors/carlospolop)!
|
|
* Pata [**swag rasmi ya PEASS & HackTricks**](https://peass.creator-spring.com)
|
|
* Gundua [**The PEASS Family**](https://opensea.io/collection/the-peass-family), mkusanyiko wetu wa [**NFTs**](https://opensea.io/collection/the-peass-family) za kipekee
|
|
* **Jiunge na** 💬 [**Kikundi cha Discord**](https://discord.gg/hRep4RUj7f) au [**kikundi cha telegram**](https://t.me/peass) au **tufuate** kwenye **Twitter** 🐦 [**@carlospolopm**](https://twitter.com/hacktricks_live)**.**
|
|
* **Shiriki mbinu zako za kudukua kwa kuwasilisha PRs kwenye** [**HackTricks**](https://github.com/carlospolop/hacktricks) na [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) repos za github.
|
|
|
|
</details>
|