Git Product home page Git Product logo

Comments (5)

vad4msiu avatar vad4msiu commented on July 28, 2024

+1
Use telnet is not correct. Need to read a specified number of bytes.

from beaneater.

vidarh avatar vidarh commented on July 28, 2024

I forked this tonight in order to not only fix that issue, but also make it 8-bit clean as Net::Telnet will interpret things that look like Telnet command options etc. and so will barf on a lot of binary data. The easiest way for me was ripping out Net::Telnet and replacing it with raw TCPSockets. I also have corrected a few test cases that didn't take the correct length into account.

My commits are here: https://github.com/vidarh/beaneater/commits/tcpsocket

I've not opened a pull request for it yet because I had to comment out some of the test cases that strangely hang for me (it doesn't seem to like mocking TCPSocket), but I'd love any comments and would be happy to help adapt it if you're interested in considering merging it.

from beaneater.

nesquena avatar nesquena commented on July 28, 2024

Yeah I would agree we have to rip out Net::Telnet and replace with TCPSockets. Your commits look great, that's what I expected we would want to do. Definitely interested in merging it if you can get the pull request prepared. Thanks!

from beaneater.

vidarh avatar vidarh commented on July 28, 2024

Great. I'll prepare a pull request.

from beaneater.

nicotaing avatar nicotaing commented on July 28, 2024

I'm closing this issue, it's fixed here #19

from beaneater.

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.