Giter Site home page Giter Site logo

utf-8 error about scapy HOT 4 CLOSED

secdev avatar secdev commented on May 17, 2024
utf-8 error

from scapy.

Comments (4)

p-l- avatar p-l- commented on May 17, 2024

Hi,

Thanks for reporting this one! Can you post the faulty line from /etc/services?

from scapy.

pintman avatar pintman commented on May 17, 2024

I don't know where to look at. If position 3269 is meant to be 0xCC5 in hex, I can give the following dump from hexdump although I don't see a 0xe9 there.

00000ca0 20 50 72 6f 63 65 73 73 20 20 5b 42 65 72 6e 69 | Process [Berni|
00000cb0 65 5f 56 6f 6c 7a 5d 0a 23 20 20 20 20 20 20 20 |e_Volz].# |
00000cc0 20 20 20 20 20 20 20 20 20 20 20 34 2f 74 63 70 | 4/tcp|
00000cd0 20 20 20 20 20 20 20 20 55 6e 61 73 73 69 67 6e | Unassign|
00000ce0 65 64 20 0a 23 20 20 20 20 20 20 20 20 20 20 20 |ed .# |

Searching for e9 yields to the following output

~$ hexdump -C /etc/services |grep 'e9 '
000a2cc0 5f 53 6f 6c 6c e9 5d 0a 23 20 20 20 20 20 20 20 |_Soll.].# |
000bce20 5d 0a 69 63 6c 2d 74 77 6f 62 61 73 65 39 20 20 |].icl-twobase9 |
000bce60 6c 2d 74 77 6f 62 61 73 65 39 20 20 20 20 20 20 |l-twobase9 |
000bce80 69 63 6c 2d 74 77 6f 62 61 73 65 39 20 20 5b 4a |icl-twobase9 [J|
000e4160 20 20 46 41 55 43 4f 4e 4e 45 54 20 49 6e 67 e9 | FAUCONNET Ing.|
00121ba0 6e 5f 44 5f 53 6f 6c 6c e9 20 20 20 20 20 20 20 |n_D_Soll. |
00121bc0 6c 6c e9 20 20 20 20 20 20 20 20 20 20 20 20 56 |ll. V|
00121e30 6e 64 65 72 65 72 20 20 20 20 20 20 20 53 e9 62 |nderer S.b|
00125230 20 20 20 20 20 20 20 20 20 20 20 20 53 74 e9 70 | St.p|

Maybe some of this output might help.

from scapy.

p-l- avatar p-l- commented on May 17, 2024

You seem to be using Python 3, Scapy only works with Python 2.5 to 2.7. If you're using Scapy3k, please report the bug there.

from scapy.

pintman avatar pintman commented on May 17, 2024

OK. I opened an issue here: phaethon/kamene#90

Hopefully this is the right place.

from scapy.

Related Issues (20)

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.