Giter Site home page Giter Site logo

eth-scapy-someip's People

Contributors

geynis avatar jamores avatar miketsukerman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eth-scapy-someip's Issues

Dessecting SD message from bytearray -> cannot see all entries in the entry_array

## SCAPY from scapy.all import * from scapy.contrib.automotive.someip import SOMEIP from scapy.contrib.automotive.someip_sd import *

`# SD message with multiple entries (from wireshark)
localPayload = [0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x06, 0x00, 0x00, 0x10, 0xb0, 0x91, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x30, 0x21, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0xd5, 0x01, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0xd5, 0x38, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x33, 0x91, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x33, 0x91, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x06, 0x00, 0x00, 0x10, 0xe2, 0xb5, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x20, 0x35, 0x61, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x02, 0x00, 0x10, 0x35, 0x48, 0x00, 0x02, 0x02, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x31, 0x20, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x12, 0x78, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x82, 0xb6, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x81, 0xb8, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x02, 0x00, 0x10, 0x75, 0x42, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x06, 0x00, 0x00, 0x10, 0x30, 0x1e, 0x00, 0x01, 0x01, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x24, 0x00, 0x09, 0x04, 0x00, 0xa0, 0x30, 0xc7, 0x10, 0x00, 0x11, 0xfe, 0x0d, 0x00, 0x09, 0x04, 0x00, 0xa0, 0x30, 0xc7, 0x10, 0x00, 0x11, 0x77, 0x1b, 0x00, 0x09, 0x04, 0x00, 0xa0, 0x30, 0xc7, 0x10, 0x00, 0x11, 0xf5, 0xbd]

my_sd = SD(bytearray(localPayload))
for sd_entry in my_sd.getfieldval("entry_array"):
print(sd_entry.getfieldval('srv_id'))
print(repr(sd_entry))
`

ModuleNotFoundError: No module named 'eth_scapy_sd'

Hi,
I installed eth_scapy_someip using setup.py, I try to import the commands in python to verify them and get below error. What am I doing wrong?

from eth_scapy_someip import eth_scapy_someip as someip
Traceback (most recent call last):
File "", line 1, in
File "/home/maen/Downloads/eth-scapy-someip-master/eth_scapy_someip/init.py", line 2, in
import eth_scapy_sd
ModuleNotFoundError: No module named 'eth_scapy_sd'

I looked in folder and all files are present.

How to dessect SomeIP-TP message?

when using someip-tp to sending a message, the packet is divide into seperate UDP part packet. And using scapy, the dpkg of this message is just several UDP protocal. How can I combine them and dessect my signal in the whole message?

Issue in parsing SOME/IP-SD packet sniffed packet

Hi
I am trying to sniff SOME/IP-SD packet send from ex_02_sd.py
But when we print the summary of the packet, SOME/IP header is parsed but SD is displayed as raw.
As per my understanding SD is bonded with SOME/IP and SOME/IP with UDP. so when packet is sniffed scapy should parse both SOME/IP and SD packet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.