Jump to content
UBot Underground

Anyone used "Navigate with postdata"?


Recommended Posts

I am trying to work with "Navigate with postdata" command but can't really crack it.

 

I am wondering if anyone here, anyone at all have used it before and can probably post a working example of it, I would really appreciate it.

 

Some help needed guys, gals, mods and Admins, PLEASE!

 

Thanks,

 

Praney

Link to post
Share on other sites

Hmm, seems like no has played with it too.

 

Maybe I'll soon do a tutorial if not John. I was able to do a few think using postdata with help of John, Thanks to him.

Link to post
Share on other sites

Tj I have been able to some using it, but not Wordpress, which is important for me as I am trying to have a grip on my network of sites. But Wordpress uses session control using cookies, and I am still dragging on it. I CAN'T get it to work on Wordpress, I can create accounts on W0rdpress.c0m but login is driving me nuts.

 

I guess I'll create captcha solving using a third party app, see I am able to make it work. :(

Link to post
Share on other sites

are you trying to use nav with post data for login or for posting comments?

 

if for login i would use the normal way of fill fields. but if for instance you need to post data to a page that is from another page then nav with post data should work.

 

 

for instance

if I have a php page that did the following

 

<?php

if((isset($_POST['action'])) && ($_POST['action'] == "play"))
{
// Do something here if POST data is correct
echo "Action equals play";

}else{
// Else state is not correct
echo "Action not set, POST data not posted";
}
?>

 

Using that script nav with POST data 'action' with data set as 'play' Should echo that it was recieved correct. However how would you use the Nav with Post data to send that action is play

 

TJ

Link to post
Share on other sites

TJ, thanks for your help mate,

 

I am able to login into some other sites. But, I think it is the JS that is stopping me from doing it. I got a genius helping me here. Let see how it can be dealt.

Link to post
Share on other sites
  • 4 weeks later...

Hi,

 

I'm trying too to use navigate with postdata.

 

It's supposed to send a POST request with the data in a query format ie. a=1&b=2 ...right?

 

The server I'm trying to post to answers:

 

HTTP 405 : HTTP GET method not supported by this URL (Apache Tomcat/6.0.29)

 

How can be??

 

Thanks!

Link to post
Share on other sites

Hi,

 

I'm trying too to use navigate with postdata.

 

It's supposed to send a POST request with the data in a query format ie. a=1&b=2 ...right?

 

The server I'm trying to post to answers:

 

HTTP 405 : HTTP GET method not supported by this URL (Apache Tomcat/6.0.29)

 

How can be??

 

Thanks!

 

it wont format the URL in that manner. if you wnt to achive this that way use the navigate node with yoursite.com/?a=1&b=2

 

then you can get the information with $_REQUEST[a] etc..

 

the Post method hasn't really been fully explained anywhere in forums or tutorials yet.

Maybe Seth or Eddie can shed some light as to how it works

 

TJ

Link to post
Share on other sites

Hi,

 

I'm trying too to use navigate with postdata.

 

It's supposed to send a POST request with the data in a query format ie. a=1&b=2 ...right?

 

The server I'm trying to post to answers:

 

HTTP 405 : HTTP GET method not supported by this URL (Apache Tomcat/6.0.29)

 

How can be??

 

Thanks!

 

Do you have a link/webpage to wher you are trying to post?

Link to post
Share on other sites

For my testing I am using this:

 

Used the following PHP code to dump the post data and request data values.

<?php
echo "From test-postdata.php<br>";
echo "<br>Print POST Array:<br>";
foreach ($_POST as $key => $keypostvalue) {
 echo "key >".$key."< value >".$keypostvalue."< --<br>";
}
echo "Print REQUEST Array:<br>";
foreach ($_REQUEST as $key => $keypostvalue) {
 echo "key >".$key."< value >".$keypostvalue."< --<br>";
}
echo "End of post/request output<br>"
?>

 

Sample of post data method using php and curl.

<?php
$urltopost = "http://yourownhost/test-postdata.php";
$datatopost = array (
"firstname" => "John",
"lastname" => "Smith",
"email" => "my@email.com",
);

$ch = curl_init ($urltopost);
curl_setopt ($ch, CURLOPT_POST, true);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $datatopost);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$returndata = curl_exec ($ch);

echo "<br>php-postdata-curlgen.php<br>";
echo $returndata;
?>

 

My test "navigate with postdata" bot test-postdata.ubot

 

The output from the post data and request data value dump.

Post data using PHP and curl TEST output:

 

php-postdata-curl.php

From test-postdata.php

 

Print POST Array:

key >firstname< value >Mike< --

key >lastname< value >Lopez< --

key >email< value >my@email.com< --

Print REQUEST Array:

key >firstname< value >Mike< --

key >lastname< value >Lopez< --

key >email< value >my@email.com< --

End of post/request output

 

The above output is what I expected for PHP and curl TEST.

 

Ubot "navigate with postdata" TEST output:

 

From test-postdata.php

 

Print POST Array:

Print REQUEST Array:

End of post/request output

 

The above output is not what I expected for Ubot "navigate with postdata" TEST.

 

I did retest my Ubot "navigate with postdata" after it was compiled. The compiled Ubot "navigate with postdata" test output was the same as the uncompiled.

 

I don't see anything wrong with my Ubot "navigate with postdata" test bot.

 

Kevin

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...