#๐Ÿ”’ .status_code not reliable?

12 messages ยท Page 1 of 1 (latest)

daring smeltBOT
#

@celest bramble

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

celest bramble
#

Been making something to bruteforce filetypes on a website, and check if the page exists or not. Now some of the status codes im getting are incorrect, because the file exists on the site. How do i fix this issue?

https://paste.pythondiscord.com/C47Q

ivory basalt
#

This seems really iffy for rule 5

#

!rule 5

daring smeltBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

celest bramble
#

Required for a CTF I've been doing

ivory basalt
#

CTFs are generally competitions. So helping you with a competition would be uncompetitive

celest bramble
#

It has ended already

proud horizon
#

It's always a tough call, but our general policy is to stay on the safe side by considering only malicious potential, regardless of your stated use-case

#

I know it's not great to hear, I'm sorry. But I'll have to close this thread, and ask that you refrain from asking for help with this in future

daring smeltBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.