Git Product home page Git Product logo

Comments (4)

Phoenix1112 avatar Phoenix1112 commented on June 22, 2024

same problem...please help...

  File "CVE-2019-18935.py", line 207, in <module>
    args.url
  File "CVE-2019-18935.py", line 121, in upload
    if filename_remote != result['metaData']['TempFileName']:
TypeError: 'NoneType' object is not subscriptable```

from cve-2019-18935.

ArpitKubadia avatar ArpitKubadia commented on June 22, 2024

@Phoenix1112 Hey I am not the original author of this repository, but I realised that commenting out the if block that starts at line 121 of CVE-2019-18935.py would solve the issue.

from cve-2019-18935.

Phoenix1112 avatar Phoenix1112 commented on June 22, 2024

thanks

from cve-2019-18935.

noperator avatar noperator commented on June 22, 2024

Seems like you're running into a situation where result['metaData'] == None, which causes the TypeError: 'NoneType' object is not subscriptable when you try to "subscript" (i.e., access the elements of) metaData when getting its TempFileName field.

I added a check to try to prevent this from happening.

from cve-2019-18935.

Related Issues (12)

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.