Giter VIP home page Giter VIP logo

Comments (3)

sandrogauci avatar sandrogauci commented on June 3, 2024

might be a dupe of #44

from sipvicious.

0xInfection avatar 0xInfection commented on June 3, 2024

I tried doing some tests on my end to see if this issue is reproducible, but couldn't. However I have 2 ideas that might solve this issue.

Looking at the error, it can be said that at least NoneType isn't being passed to the function. So it might be some other corrupt data is being passed along to that function (which is possible because we are using ignore when using decode('utf-8', 'ignore')). So my suggestions are:

  • Use the binary bytes received from the server for regex matching and everything. Do not decode to ASCII.
  • Use strict function parameter accepting datatypes, so that in this way we can better track the value being passed to the function.

Let me know what you think of this. If it sounds good, happy to make a PR.

from sipvicious.

sandrogauci avatar sandrogauci commented on June 3, 2024

the user who submitted this issue fixed it by doing the following:

fixed that error by simply adding "if authheader is not None:" to the svcrack.py script on string #189.
It was assuming that 401/407 response automatically means presence of authentication header, but life shows that it isn't :)

I didn't yet have time to replicate the issue and get it fixed but I'm trying to find out if this is something that we're not actually catching - so don't do anything yet @0xInfection :)

from sipvicious.

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.