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

Postman not working? #2753

Closed
marcelo321 opened this issue Apr 26, 2024 · 7 comments
Closed

Postman not working? #2753

marcelo321 opened this issue Apr 26, 2024 · 7 comments
Labels

Comments

@marcelo321
Copy link

I am not sure if it isn't working or I am doing something wrong.

trufflehog postman --workspace "linode" --token mytoken

2024-04-26T05:44:22Z    error   trufflehog      engine failed to finish execution       {"error": "fatal: error getting workspace linode: could not get workspace: linode"}

It says error getting workspace for any term I use, including paypal or any

@marcelo321 marcelo321 added the bug label Apr 26, 2024
@marcelo321
Copy link
Author

I just created the key here:

image

@dustin-decker
Copy link
Contributor

I think you need to use the workspace ID instead. The flag could have been named more clearly.

@marcelo321
Copy link
Author

@dustin-decker giving a exact workspace id also fails to me, can you give me an example of a workspace and what id would it use so I can try it?? would be appreciated

@dustin-decker
Copy link
Contributor

Your command should look like this (and this worked for me):

trufflehog postman --token "$POSTMAN_TOKEN" --workspace=894b858f-ba70-44a6-937a-d864e9ffc51b

Here is how you'd obtain a workspace ID: https://support.postman.com/hc/en-us/articles/5063785095319-How-to-find-the-ID-of-an-element-in-Postman

@marcelo321
Copy link
Author

Ooh I see. Do you have any info on how the team was able to scrap ids when searching on the public workspaces..? I read the blog post which is great, but I am finding pretty difficult to understand the postman api. Not sure if you were part of that research or not

@dustin-decker
Copy link
Contributor

I do not know the details of that part.

@zricethezav
Copy link
Collaborator

Do you have any info on how the team was able to scrap ids when searching on the public workspaces

That's something we did internally and don't plan on releasing. Closing this issue as I believe the original issue has been answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants