Donate to us via Paypal!
You cannot teach a man anything; you can only help him find it within himself. - Galileo
Saturday, May 08, 2021
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 161
Guests Online: 161
Members Online: 0

Registered Members: 136086
Newest Member: brian11024
Latest Articles

View Thread

HellBound Hackers | Challenges | Timed Challenges

Author

Anyone familiar with Python 3 that can help with Timed 1

shiroslullaby
Member



Posts: 11
Location:
Joined: 25.01.15
Rank:
Hacker Level 2
Posted on 30-01-15 20:39
I decided to try this with Python 3.4 since it was installed on this machine
Im able to connect to the site, search and find the line to decode,
decode it
(I also checked with some online tools so Im pretty sure what is returned is correct)
post it back to the site and get the "Wrong string, try again!" message

Im pretty sure this is an encoding thing. Python 3 handles a couple things differently than the way it did in 2 possibly.
Im reading everything I can now but maybe someone is really good at Python 3 and can help me. I dont want to post too much info here.


I'm not insane
No, my life's a gameshow
I shot for the stars and missed
So now I aim low
Author

RE: Anyone familiar with Python 3 that can help with Timed 1

rex_mundi
☆ Lucifer ☆



Posts: 2020
Location: Scotland
Joined: 20.02.08
Rank:
God
Posted on 31-01-15 00:43
Python 2.7 ftw!

Sure, don't use the code tags though, stick it in [php ] tags and send it my way.

Edited by rex_mundi on 31-01-15 00:44
U N ⓡⓔⓧ_ⓜⓤⓝⓓⓘ
Author

RE: Anyone familiar with Python 3 that can help with Timed 1

shiroslullaby
Member



Posts: 11
Location:
Joined: 25.01.15
Rank:
Hacker Level 2
Posted on 31-01-15 02:47
I got some pointers over at stackoverflow.com and ended up completing the challenge.
Python 3 doesnt use urllib.urlencode
You have to use urllib.parse.urlencode and the way you supply it with arguments was confusing me.

Thanks for offer of help Rex! I will probably PM you about Timed 2 because i think the way the challenge differs will cause me problems...
If anyone in the future does this in Python 3 and has problems feel free to PM me. Smile


I'm not insane
No, my life's a gameshow
I shot for the stars and missed
So now I aim low

Edited by shiroslullaby on 31-01-15 04:23