Code Monkey home page Code Monkey logo

Comments (8)

simioni87 avatar simioni87 commented on August 17, 2024 1

Okay, this is a good point. I could implement a feature called "remove header". Many apps that I have tested require a valid cookie value even in the unauthenticated context. For this reason I think it would be the best to implement just an additional feature for removing a specified header and keep the rest as it is.
Thanks

from auth_analyzer.

simioni87 avatar simioni87 commented on August 17, 2024 1

Hi aress31
The remove header option is implemented in the latest version (1.1.3).
Have fun :)

from auth_analyzer.

simioni87 avatar simioni87 commented on August 17, 2024

Hi Alex
You are already able to test unauthenticated requests. Just create an anoynmous session and overwrite the header of your choice with a non-authenticated value. E.g.
Cookie: anygarbage;
Authorization: moregarbage;

Depending on the application you have to choose an existing value. E.g. an unauthenticated cookie value.

A code based implementation would basically do the same stuff.

Best regards

from auth_analyzer.

aress31 avatar aress31 commented on August 17, 2024

A better option - IMHO - would be to totally remove the Authorization header from the request as it is application specific how they handle incorrect headers.

from auth_analyzer.

claconsay avatar claconsay commented on August 17, 2024

Hi simioni87

The remove header feature is cool, I also use it in some cases. The only problem I'm facing right now is that when I select the Remove Header(r), all of the headers I put on the text field will be gone and won't be able to replace the value of other headers. I hope you can also introduce a feature where there is a field for headers to be replaced, and another field for headers to be removed.

Say, for example, I have the following headers on the original request:

X-Token: originaltoken
X-UserId: originaluserid

What I want is to remove the header X-Token, and to replace the value of X-UserId so that the new request will be now:

X-UserId: modifieduserid

I'm not sure though if there's a way to do that on the app as of the moment.

Thanks,

from auth_analyzer.

simioni87 avatar simioni87 commented on August 17, 2024

Hey claconsay,

Good idea, thanks for your input! I'll implement this with the next release.

Thanks and best regards
Simon

from auth_analyzer.

simioni87 avatar simioni87 commented on August 17, 2024

Hi there

Removing header(s) is now possible with a seperated text field:
grafik

Header(s) to remove and Header(s) to replace can be definied at same time.

Have fun and best regards

from auth_analyzer.

claconsay avatar claconsay commented on August 17, 2024

Sweet! Thank you so much simioni87!

from auth_analyzer.

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.