halit/isip

语言: Python

git: https://github.com/halit/isip

交互式sip工具包,用于数据包操作,嗅探,中间人攻击,模糊测试,模拟dos ...
Interactive sip toolkit for packet manipulations, sniffing, man in the middle attacks, fuzzing, simulating of dos att…
README.md (中文)

头脑

交互式SIP工具包,用于数据包操作,嗅探,中间人攻击,模糊测试,模拟dos攻击。

视频

HTTPS://ASCII呢吗.org/啊/11128

建立

git clone https://github.com/halitalptekin/isip.git
cd isip
pip install -r requirements.txt

用法

  • 数据包操作工具在数据包cmd循环中。首先,您将进入主cmd循环。
isip:main> packet
isip:packet>
  • 使用新命令创建新的sip数据包。如果您不写名称,则isip创建由message- {id}命名的数据包。
isip:packet> new
isip:packet> new r1
  • 使用list命令列出所有创建的sip数据包。
isip:packet> list
  • 使用show命令显示数据包的属性。您可以使用show命令键入ip,udp或sip。
isip:packet> show message-1
isip:packet> show message-1 ip
isip:packet> show message-1 udp
isip:packet> show message-1 sip
isip:packet> show message-1 ip src
isip:packet> show message-1 udp sport
isip:packet> show message-1 sip uri
isip:packet> show message-1 sip headers.to
  • 使用set命令设置数据包的属性。您可以使用show命令键入ip,udp或sip和属性标签。
isip> set message-1 ip src 12.12.12.12
isip> set message-1 udp sport 4545
isip> set message-1 sip method OPTIONS
isip> set message-1 sip headers.from "blabla"
  • 使用set命令设置数据包的随机属性。您可以使用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,random-headers-register-cseq命令。
isip:packet> set message-1 ip src random-ip
isip:packet> set message-1 udp sport random-port
isip:packet> set message-1 sip headers.from random-headers-from
isip:packet> set message-1 sip headers.to random-headers-to
isip:packet> set message-1 sip headers.contact random-headers-contact
isip:packet> set message-1 sip body random-data 50
  • 使用send命令发送数据包。
isip:packet> send message-1 1
isip:packet> send message-1 150
  • 使用parse命令将文本文件解析为数据包。
isip:packet> parse test/test1.txt r1
  • 使用load命令从pcap文件加载数据包。如果您不写名称,则isip创建由message- {id}命名的数据包。
isip:packet> load test.pcap r1
isip:packet> load test.pcap
  • 使用save命令保存数据包tp pcap文件。您只需单个命令即可保存数据包列表。
isip:packet> save r1 test.pcap
isip:packet> save r2 test.pcap # assume you have r2.0, r2.1, r2.2, r2.3 ...
  • 使用wireshark命令打开wireshark的数据包。
isip:packet> wireshark r1
isip:packet> wireshark r2 # assume you have r2.0, r2.1, r2.2, r2.3 ...
  • 使用hist命令列出历史记录。
isip:packet> hist
  • 用shell或!执行shell命令。
isip:packet> shell ls -la
isip:packet> ! cat /etc/passwd
  • 显示帮助页面?或帮助命令。
isip> ?
isip> help
isip:packet> ?
isip:packet> help
isip:packet> help new
isip:packet> help send
isip:packet> help set
isip:packet> help show

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

isip

Interactive sip toolkit for packet manipulations, sniffing, man in the middle attacks, fuzzing, simulating of dos attacks.

Video

https://asciinema.org/a/11128

Setup

git clone https://github.com/halitalptekin/isip.git
cd isip
pip install -r requirements.txt

Usage

  • Packet manipulation tools are in packet cmd loop. First start, you are in the main cmd loop.
isip:main> packet
isip:packet>
  • Create a new sip packet with new command. If you don't write name, isip create the packet named by message-{id}.
isip:packet> new
isip:packet> new r1
  • List the all created sip packets with list command.
isip:packet> list
  • Show properties of packets with show command. You can type ip, udp or sip with show command.
isip:packet> show message-1
isip:packet> show message-1 ip
isip:packet> show message-1 udp
isip:packet> show message-1 sip
isip:packet> show message-1 ip src
isip:packet> show message-1 udp sport
isip:packet> show message-1 sip uri
isip:packet> show message-1 sip headers.to
  • Set the properties of packets with set command. You can type ip, udp or sip and properties label with show command.
isip> set message-1 ip src 12.12.12.12
isip> set message-1 udp sport 4545
isip> set message-1 sip method OPTIONS
isip> set message-1 sip headers.from "blabla"
  • Set the random properties of packets with set command. You can use with 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, random-headers-register-cseq commands.
isip:packet> set message-1 ip src random-ip
isip:packet> set message-1 udp sport random-port
isip:packet> set message-1 sip headers.from random-headers-from
isip:packet> set message-1 sip headers.to random-headers-to
isip:packet> set message-1 sip headers.contact random-headers-contact
isip:packet> set message-1 sip body random-data 50
  • Send the packet with send command.
isip:packet> send message-1 1
isip:packet> send message-1 150
  • Parse the text file to packet with parse command.
isip:packet> parse test/test1.txt r1
  • Load the packets from pcap file with load command. If you don't write name, isip create the packet named by message-{id}.
isip:packet> load test.pcap r1
isip:packet> load test.pcap
  • Save the packets tp pcap file with save command. You can save the packet list just single command.
isip:packet> save r1 test.pcap
isip:packet> save r2 test.pcap # assume you have r2.0, r2.1, r2.2, r2.3 ...
  • Open the wireshark for packets with wireshark command.
isip:packet> wireshark r1
isip:packet> wireshark r2 # assume you have r2.0, r2.1, r2.2, r2.3 ...
  • List the history with hist command.
isip:packet> hist
  • Execute the shell command with shell or !.
isip:packet> shell ls -la
isip:packet> ! cat /etc/passwd
  • Show the help page with ? or help command.
isip> ?
isip> help
isip:packet> ?
isip:packet> help
isip:packet> help new
isip:packet> help send
isip:packet> help set
isip:packet> help show