GithubHelp home page GithubHelp logo

padok-team / cognito-scanner Goto Github PK

View Code? Open in Web Editor NEW
94.0 2.0 3.0 347 KB

A simple script which implements different Cognito attacks such as Account Oracle or Priviledge Escalation

License: Apache License 2.0

Python 100.00%
audit cognito cybersecurity scanner security-tools

cognito-scanner's People

Contributors

cfpadok avatar jsaintjoanis avatar thibaultlengagne 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

Watchers

 avatar  avatar

cognito-scanner's Issues

Tag the source

It would be very helpful if you could tag releases as well. This would enable distributions who want to fetch the package from GitHub instead of PyPI.

Thanks and happy new year

Unauthorized Error: botocore.errorfactory.NotAuthorizedException: An error occurred (NotAuthorizedException) when calling the SignUp operation: A client attempted to write unauthorized attribute

attempting to run: cognito-scanner account-creation --region=us-east-1 --user_attributes=[email protected] --client_id= --username='cognito_user' --password='R4nd0mP4$$word'

Traceback (most recent call last):

File "/Users/brendan/dev/cognito-scanner/.venv/bin/cognito-scanner", line 8, in
sys.exit(cli())
^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/scanner/scanner.py", line 102, in account_creation
confirmed, sub = srp.signup_user()
^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/scanner/AWSSRP.py", line 173, in signup_user
response = boto_client.sign_up(
^^^^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/botocore/client.py", line 565, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/Users/brendan/dev/cognito-scanner/.venv/lib/python3.12/site-packages/botocore/client.py", line 1021, in _make_api_call
raise error_class(parsed_response, operation_name)

botocore.errorfactory.NotAuthorizedException: An error occurred (NotAuthorizedException) when calling the SignUp operation: A client attempted to write unauthorized attribute

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.