cheat_sheets_nc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cheat_sheets_nc [2022/11/20 20:25] – [NetCat (nc)] gman | cheat_sheets_nc [2023/01/12 00:52] (current) – [NetCat (nc)] gman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== NetCat (nc) ====== | ====== NetCat (nc) ====== | ||
+ | |||
+ | NetCat is a popular **remote access tool.** | ||
+ | * It has a small footprint so it's portable. | ||
+ | * It can set up a reverse shell easily... | ||
Local listener for reverse shell: | Local listener for reverse shell: | ||
Line 26: | Line 30: | ||
< | < | ||
+ | Send output from a listener to a text file: | ||
+ | |||
+ | < | ||
+ | nc -nvlp [port number] > filename.txt | ||
+ | </ | ||
+ | |||
+ | Send output from a text file to a remote machine: | ||
+ | |||
+ | < | ||
+ | nc [IP Address] [port] < filename.txt | ||
+ | </ | ||
---- | ---- | ||
Line 43: | Line 58: | ||
**Source**: [[https:// | **Source**: [[https:// | ||
- | ==== Ncat ==== | + | ---- |
+ | |||
+ | ====== Ncat ====== | ||
[[https:// | [[https:// | ||
+ | * I has a variety of different capabilities... | ||
+ | * SSL | ||
+ | * Proxies | ||
+ | * SendMail | ||
+ | * Chain together Ncat sessions for pivoting. | ||
If you need a statically compiled version of ncat.exe that you can just drop on a Windows system and use without having to run any installer or copy over extra library files: [[https:// | If you need a statically compiled version of ncat.exe that you can just drop on a Windows system and use without having to run any installer or copy over extra library files: [[https:// | ||
Line 53: | Line 75: | ||
If you need a portable version of a newer Ncat release, see the [[ https:// | If you need a portable version of a newer Ncat release, see the [[ https:// | ||
- | ---- | ||
cheat_sheets_nc.1668975955.txt.gz · Last modified: by gman