Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Isip to intercept, analyze and modify network packets

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how to use Isip to intercept, analyze and modify network data packets, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Tool installation git clone https://github.com/halitalptekin/isip.gitcd isippip install-r requirements.txt tool use

The packet simulation tool can be found in the packet command loop. After entering the command, you will enter the main command loop:

Isip:main > packetisip:packet >

You can use the new command to create a new sip packet. If you don't name the packet, isip will name it in the form of message- {id} by default.

Isip:packet > newisip:packet > new R1

Use the list command to enumerate all newly created sip packets:

Isip:packet > list

Use the show command to view packet properties, and you can also use the ip, udp, or sip options with the show command:

Isip:packet > show message-1isip:packet > show message-1 ipisip:packet > show message-1 udpisip:packet > show message-1 sipisip:packet > show message-1 ip srcisip:packet > show message-1 udp sportisip:packet > show message-1 sip uriisip:packet > show message-1 sip headers.to

Use the set command to set packet properties, and you can also set them with the ip, udp, or sip commands:

Isip > set message-1 ip src 12.12.12.12isip > set message-1 udp sport 4545isip > set message-1 sip method OPTIONSisip > set message-1 sip headers.from "blabla"

Use the set command to set the random properties of the packet, and you can also use it with the random-headers-from, random-headers-to, random-headers-call-id,random-headers-max-forwards, random-headers-user-agent, random-headers-contact,random-headers-invite-cseq and random-headers-register-cseq commands.

Isip:packet > set message-1 ip src random-ipisip:packet > set message-1 udp sport random-portisip:packet > set message-1 sip headers.from random-headers-fromisip:packet > set message-1 sip headers.to random-headers-toisip:packet > set message-1 sip headers.contact random-headers-contactisip:packet > set message-1 sip body random-data 50

Use the send command to send packets:

Isip:packet > send message-1 1isip:packet > send message-1 150

Use the parse command to parse the text information in the packet:

Isip:packet > parse test/test1.txt R1

Use the load command to load the package from the pcap file. If you do not name the package, the tool will automatically name it in the form of message- {id}:

Isip:packet > load test.pcap r1isip:packet > load test.pcap

Next, use the save command to save the packet as a pcap file:

Isip:packet > save R1 test.pcapisip:packet > save R2 test.pcap # assume you have r2.0, r2.1, r2.2, r2.3.

Using the wireshark command, open the packet with wireshark:

Isip:packet > wireshark r1isip:packet > wireshark R2 # assume you have r2.0, r2.1, r2.2, r2.3.

Use the hist command to view the operation record:

Isip:packet > hist

Use shell or! Command executes the Shell code:

Isip:packet > shell ls-laisip:packet >! Cat / etc/passwd

Use? Or the help command to view the help page:

Isip >? isip > helpisip:packet >? isip:packet > helpisip:packet > help newisip:packet > help sendisip:packet > help setisip:packet > help show is all the contents of the article "how to use Isip to intercept, analyze and modify network packets". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report