Jump to content

Looking for modification of Packet Squirrel to capture tcpdump and send to remote endpoint


Recommended Posts

Hi, I have been experimenting and trying to customize the payload to send the tcpdump payload to a remote server for data analytics.

I have successfully installed curl and modified the switch1 payload to execute the curl command and send a payload. It works when I am manually running the script ./payload, but not have much luck when it is running by itself.

My objectives is as below,

  1. Filter traffic from port 9100 only
  2. Extract TCPDump
  3. Truncate the IP header
  4. Convert to Hexdump
  5. Convert to ESCPOS command
  6. Send to the remote endpoint

I look forward to your expert advice, and thanks in advanced!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...