Follow us on Twitter!
The important thing is not to stop questioning. - Albert Einstein
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 75
Guests Online: 74
Members Online: 1

Registered Members: 82803
Newest Member: Tired_of_being_ignorant
Latest Articles
View Thread

HellBound Hackers | Challenges | Timed Challenges

Author

Malformed Request when sending postdata(VB.net)

Acin
Member



Posts: 42
Location:
Joined: 03.12.06
Rank:
Newbie
Posted on 04-05-08 15:01
I am trying to complete Timed2 using vb.net. I have completed the part where it adds up the numbers, but now I am having problems with postdata. When I use the following code it results in a malformed request:

Dim postdata As String = "ans=test"

Dim a As System.Text.Encoding = System.Text.Encoding.UTF8

Dim byte1 As Byte() = a.GetBytes(postdata)

Dim AdditionalHeaders As String = "Content-Type: application/x-www-form-urlencoded" + Environment.NewLine

WebBrowser1.Navigate("http://www.hellboundhackers.org/challenges/timed/timed2/index.php?check", "", byte1, AdditionalHeaders)

What can I do to make it work?

Edited by Acin on 04-05-08 15:03
Author

RE: Malformed Request when sending postdata(VB.net)

SySTeM
Member

Your avatar

Posts: 1524
Location: England, UK
Joined: 27.07.05
Rank:
HBH Guru
Posted on 04-05-08 17:12
Send a referer header Wink


img138.imageshack.us/img138/6527/sig2ak1.jpg
www.hellboundhackers.org/sig/r/2783.png

http://www.elites0ft.com/
Author

RE: Malformed Request when sending postdata(VB.net)

Acin
Member



Posts: 42
Location:
Joined: 03.12.06
Rank:
Newbie
Posted on 04-05-08 17:47
Thank youSmile
A little stupid of me not figuring it out myself, I just realised that it said that I should check for referer spoofers at the bottom of the page. :angry:

Edited by Acin on 04-05-08 17:53