> For the complete documentation index, see [llms.txt](https://www.netexec.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.netexec.wiki/smb-protocol/generate-tgt.md).

# Generate TGT

> netexec smb ip -u user -p password --generate-tgt /path
>
> export KRB5CCNAME=/path
>
> netexec smb ip -u user -k --use-kcache

<figure><img src="/files/Posz4fPULC41rlAikzJH" alt=""><figcaption></figcaption></figure>
