Ubiquiti: Difference between revisions

From Braindisconnect
Jump to navigationJump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
[[Category:Networking]]
== Remote Capture to Your Windows Desktop ==
== Remote Capture to Your Windows Desktop ==
#Download and install Wireshark from [https://www.wireshark.org/download.html https://www.wireshark.org/download.html].
#Download and install Wireshark from [https://www.wireshark.org/download.html https://www.wireshark.org/download.html].
#Download putty and plink from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html].
#Download putty and plink from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html].

Latest revision as of 14:34, 12 April 2016


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.