Giter Site home page Giter Site logo

rub-nds / corstest Goto Github PK

View Code? Open in Web Editor NEW
388.0 388.0 101.0 1.98 MB

A simple CORS misconfiguration scanner

Home Page: http://web-in-security.blogspot.de/2017/07/cors-misconfigurations-on-large-scale.html

License: GNU General Public License v2.0

Python 77.11% HTML 22.89%

corstest's People

Contributors

jensvoid avatar s0md3v 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

corstest's Issues

NameError: global name 'args' is not defined

Am getting below error, can you please help to resolve?
OS:Win 7

Traceback (most recent call last):
File "C:\Users\kandasam\CORStest\corstest.py", line 112, in
main()
File "C:\Users\kandasam\CORStest\corstest.py", line 31, in main
try: pool.map_async(check, urls).get(2**32)
File "C:\Users\kandasam.windows-build-tools\python27\lib\multiprocessing\pool.py", line 567, in get
raise self._value
NameError: global name 'args' is not defined

cors test error

python3 support

Hi, I'm wondering if you will be upgrading the tool soon.
As you might be aware, all linux distributions removing python2 starting from this year.
So we (Pentoo) have no choice but to remove all packages which support python2 only.

IOError, ValueError in corstest line 26

when user run it as
python corstest.py -q domain.com

then it is showing an error -
File "corstest.py", line 26
except (IOError, ValueError) as e: print e; return
^

Access-Control-Allow-Origin Header not correctly detected

despite the importance of the tool and it's purpose ( I really appreciate it ) but the results was not promising in some situation, for example on trying the tool
1
the result was as above and the cause was presented 0a7600c1033c1375c0b5ac1800ae0002.web-security-academy.net/my-account - Not vulnerable: Access-Control-Allow-Origin header not present
while I (the solution OC) just added the Origin: hello.com header to detect it
2

I suggest with โค U may add the header automatically if not presented in the original request that could increase the chance to detect the Vulnerability .

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.