Jump to content
UBot Underground

Http Post Plugin Parsing Host Name


Recommended Posts

I am trying to post a reply to a contact form using the http post plugin.

 

I used live http headers on Firefox to get this code the headers.

 

 

 

POST /index.php?a=13&b=6600493 HTTP/1.1
Host: websiteurl.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Content-Length: 408
Referer: https://websiteurl.com/index.php?a=13&b=6600493
Cookie: __utma=88518477.1289142651.1510187212.1510261163.1510266845.6; __utmz=88518477.1510187212.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); classified_session=aca13cfd60adb6d10d8d9d8ae7933818; __utmc=88518477; __utmb=88518477.10.10.1510266845
Connection: keep-alive
Upgrade-Insecure-Requests: 1
c%5Bsenders_name%5D=Mary&c%5Bsenders_email%5D=test%40gmail.com&c%5Bsenders_phone%5D=&c%5Bsenders_comments%5D=sounds+interesting.&recaptcha_challenge_field=03AHhf_5288d7w9e_tBp2h_qqIuyuDVfNNnenQK7SaJAHZ6sJ4f4Jd0k_NMywTiA-wpJyB7FJ8xRnPvwtQaYgcCOwDsrxOooe7icmZj6jKC6N8FZMLLa684xevEKS3IKnhd7S_vo2w27rSfEx6Eq1kxAjqbhd7_aJxllx-9f_V8SnlvKt4yBsT_oLKXyUaZ7FrQps2gyMPoh_l&recaptcha_response_field=&submit=Send+Message: undefined

 

I used this code in http post plugin

 

 

 

set(#post$plugin function("HTTP post.dll""$http post""https://websiteurl.com/index.php?a=13&b=2516777
""senders_name=Max&senders_email=test@gmail.com&senders_phone=na&senders_comments=Nicely+done&submit=Send+Message"$plugin function("HTTP post.dll""$http useragent string""Random"), "websiteurl.com""", 3), "Global")
load html(#post)

 

I keep getting the error message "Invalid URI: The hostname could not be parsed."

 

I see where the host name is in the headers but I do not know how to pass on this info.

(I do not care about the captcha at this point I am just trying to get this to post even if it is rejected)

 

Does anybody have any ideas?

 

Thank you!
 

Link to post
Share on other sites

Try this:

set(#post,$plugin function("HTTP post.dll", "$http post", "https://websiteurl.com/index.php", "a=13&b=2516777&senders_name=Max&senders_email=test@gmail.com&senders_phone=na&senders_comments=Nicely+done&submit=Send+Message", $plugin function("HTTP post.dll", "$http useragent string", "Random"), "websiteurl.com", "", 3),"Global")
load html(#post)
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...