Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of HMAC.DIGEST() as in python #36

Open
denizcevik opened this issue May 30, 2023 · 0 comments
Open

Usage of HMAC.DIGEST() as in python #36

denizcevik opened this issue May 30, 2023 · 0 comments
Labels
good first issue Good for newcomers Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@denizcevik
Copy link

How can I replicate the capabilities provided by the Python hmac.digest() function using Nuclei hmac helper function. As far as i see nuclei does not support hmac.digest.

Python Example

token=base64.b64encode(hmac.new(secret,data,"sha256").digest());

Nuclei

token={{base64(hmac("sha256",data,secret))}}

Is there a way to replicate python hmac.digest in nuclei.

@denizcevik denizcevik added the Type: Enhancement Most issues will probably ask for additions or changes. label May 30, 2023
@ehsandeep ehsandeep transferred this issue from projectdiscovery/nuclei-templates May 30, 2023
@ehsandeep ehsandeep added the good first issue Good for newcomers label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

No branches or pull requests

2 participants