1
Client Application     ====>               Server Application
                   Natural TCP Packets
Local Machine          ====>               Remote Machine 




Client Application     ====> INTERCEPTOR PACKETS   ===>        Server Application
                          Edited TCP Packets
Local Machine          ====> INTERCEPTOR PACKETS   ===>            Remote Machine 

I Heard about Layered Service Provider but i do not know any point to start

i mean editing any type of packets (http/https/rtmp/smtp/....)

or is there any tool to do this ? or any C# using pcap library ? or using TcpListener class ?

this is my project of memory studies any help would be very appreciated !

1 Answer 1

6

there is many tools for this but unfortunately all in unix operation system

1- Hex2Inject http://hexinject.sourceforge.net/

2 - ProxyShark http://code.google.com/p/proxyshark/

3- Scapy www.secdev.org/projects/scapy/

4 - mallory https://github.com/intrepidusgroup/mallory

5- netsed http://silicone.homelinux.org/projects/netsed/

all these tool are capable to modify (edit) any packet of any protocol on the fly then re send it on the wire and this is MAN IN THE MIDDLE

Note : for http/https/ws fiddler should be the best debugging tool for http/https/ws(web socket) traffic http://fiddler2.com

4
  • hi @K3rnel31 is there anyway to install this softwares to windows? I'm sorry for my noob question
    – shunz19
    Dec 7, 2016 at 10:19
  • @ShaunZyrille for http/ssl there is fiddler , but for other protocols there is not
    – Hichem
    Dec 14, 2016 at 21:45
  • Ok @K3rnel31 thanks for your reply! Do you know something about RTMP protocol? Can these tools modify an image file before sending it through RTMP connection?
    – shunz19
    Dec 17, 2016 at 8:11
  • @ShaunZyrille they can , but it is hard to it via bytes , you will not be ablee to debug thee mesage of RTMP aannd edit it , you will see only bytes includingg headers and body , so you will need to edit only the body part and only with bytes or Hex
    – Hichem
    Apr 10, 2017 at 12:46

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.