Discord username 'false none flag'? discord usernames are always lowercase, one line change fixes issue
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
Research direction
The bug is in user_scanner/user_scan/social/discord.py, where the request payload is built as data = {"username": user} around line 18. Reproduce by scanning a Discord username with a capital letter and confirm the 'false none flag' result. Then test the proposed user.lower() change against a lowercase and a mixed-case input. Done when a capitalized input gives the same result as its lowercase form, and the reporter's claim that Discord usernames are always lowercase is verified.
Written by the indexing model from the issue text.
Description
user-scanner/user_scanner/user_scan/social/discord.py
on like 18 this error is thrown.
change
data = {"username": user}
into this:
data = {"username": user.lower()}
if the username youre hunting for has an input into the tool as a capital first letter
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 530
- Avg merge
- 23h 52m
- Merged PRs (30d)
- 43
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from kaifcodec/user-scanner
-
[Audit] Medium — Configuration is stored inside the installed package and rewritten non-atomicallyOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
kaifcodec/user-scanner#731 ·
Maintainers usually reply within 1 day
-
[Audit] Medium — Terminal output accepts raw control characters from local and remote dataPossibly taken @pchukwuemeka424 claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
kaifcodec/user-scanner#730 ·
Maintainers usually reply within 1 day
-
[Audit] Medium — MCP cross-scan depth and sweep are unboundedPossibly taken @pchukwuemeka424 claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
kaifcodec/user-scanner#726 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 53/100
kaifcodec/user-scanner#725 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
kaifcodec/user-scanner#724 ·
Maintainers usually reply within 1 day
All issues in kaifcodec/user-scanner
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
pytest-dev/pytest-html#1085 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
pollen-robotics/reachy_mini#1527 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 66/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
A seed and its negative give the same run, so realizations of a negative seed repeat each otherOpen
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day