Ubiquiti

From Braindisconnect
Revision as of 14:32, 12 April 2016 by Jbutler (talk | contribs) (Created page with "== Remote Capture to Your Windows Desktop == #Download and install Wireshark from [https://www.wireshark.org/download.html https://www.wireshark.org/download.html]. #Download...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Remote Capture to Your Windows Desktop

  1. Download and install Wireshark from https://www.wireshark.org/download.html.
  2. Download putty and plink from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
  3. Add both putty and plink to c:/Windows/System32 - this makes basically puts them into the path.
  4. Run putty and connect to the Ubiquiti device - this adds the encryption key to registry

Then run the following in cmd (modify for your environment) - Port 22 is excluded so you aren't capturing the packets being sent to you:

plink -batch -l youruser -pw yourpassword -P 22 192.168.1.1 sudo tcpdump -f -i eth0 -w - not port 22  | "c:\Program Files\Wireshark\Wireshark.exe" -k -i -

To get out, CTRL+c and close the cmd window.