Problem with posting answer

Alphabetize

edas229
6 years ago | edited 6 years ago

0

Hi guys I wrote this little script in python. It logins, gets all the words, puts them into alphabetical order but then it does not send the answer. I would be very happy for every suggestion!

I think it fails with posting the answer on the last line

4replies
3voices
221views
? [bolofecal]
6 years ago

0

I don’t test your code but you can use sorted() function and remove this spoiler.

edas229
6 years ago

0

@bolofecal I’ve used sorted() function. On 21st line. Thanks for reply :D

? [bolofecal]
6 years ago

0

Now remove your code to not spoil.

L00PeR
6 years ago

0

You can make a payload and send the answers like this:
url = "https://hackthis.co.uk" payload = {'user': 'User', 'password': 'Password123'} s = requests.session() s.post(url, payload)
This would be the code for a simple login.
Do the same for submitting the answer :)
If you have any problems you can browse a little bit or ask me via PM.
Your welcome!!

Reply has been removed
Discussion thread has been locked. You can no longer add new posts.
1 of 5

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss