Skip to content

Conversation

Davis-3450
Copy link
Contributor

Copy link
Member

@ppfeister ppfeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

403 returned on all tests, may require a change of request type or endpoint

@Davis-3450
Copy link
Contributor Author

yes, either something changed or it wasn't robust enough, will fix!

403 returned on all tests, may require a change of request type or endpoint

- "username_claimed" is now set to "freddier" (the most popular user, just in case)
- error code and request method are now explicit.
- added trailing slash for consistency
@Davis-3450
Copy link
Contributor Author

I have enhanced the logic and tests are passing now:
python -m sherlock_project.sherlock freddier --site Platzi --local -v should display:

[*] Checking username freddier on:

[+] [1070ms] Platzi: https://platzi.com/p/freddier/

[*] Search completed with 1 results

and python -m sherlock_project.sherlock asdas123dasdasd123asdd1231asdsa --site Platzi --local -v should display:

[*] Checking username asdas123dasdasd123asdd1231asdsa on:


[*] Search completed with 0 results

@Davis-3450
Copy link
Contributor Author

@ppfeister

@ppfeister
Copy link
Member

Checks out! Appreciate the contribution!

error_code isn't really needed when it's a 404, but I think the GET is what fixed it. status_code checks default to HEAD rather than GET, which a few targets don't really like

Merged!

@ppfeister ppfeister merged commit 284662e into sherlock-project:master Sep 14, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants