Skip to content

Instantly share code, notes, and snippets.

@geek182
Last active August 27, 2018 19:07
Show Gist options
  • Save geek182/e48e3d6dd20ef3b05bebfba024d2f7c7 to your computer and use it in GitHub Desktop.
Save geek182/e48e3d6dd20ef3b05bebfba024d2f7c7 to your computer and use it in GitHub Desktop.

Revisions

  1. geek182 revised this gist Aug 27, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion tcpdump-survival-kit
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,5 @@
    #any interface with IP and port 8080 not resolv name
    tcpdump -i any host {{ IP }} and port 8080 -nn
    tcpdump -i any host {{ IP }} and port 8080 -nn

    #How to capture VLAN tags that are used by tcpdump
    tcpdump -i bond0 -nn -e vlan
  2. geek182 created this gist Aug 27, 2018.
    2 changes: 2 additions & 0 deletions tcpdump-survival-kit
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    #any interface with IP and port 8080 not resolv name
    tcpdump -i any host {{ IP }} and port 8080 -nn