Status
Not open for further replies.

jokerhacker

Active Member
415
2010
45
0
hey,
is there anyone who can help me to find some php functions to post to various types of forums, i don't need it completely ready, i just dont wonna start from nothing.
thanks
 
7 comments
Build a curl request to login and to post into a board. for every board version you can create own post variables. just look into the sourcecode of a "new thread" page to find your posting variables.

Thats the easiest way I think ;)
 
gunda is banned :((

Dont know why

Anyway, install Live Http Headers addon for firefox

First make it login to the forum by posting data using curl and

Then again check the data posted while create new thread in any type of forum

Then post that data using curl again to make a forum poster in php
 
l0calh0st => thnx for the info br0
uferdamm => i think thats only way bud. :D
soft2050 => thnx very much for the info, im a lazy person and i do need this tip, i was going to check the hole source code 8|
 
i found a useful way to do like what soft2050 said, but in chrome, and i wanted to share it with you. It's a built in tool, navigate to
Code:
chrome://net-internals
and click on delete all to get all events purged and submit the form you want and go back to events tab. All connections and sessions infos are found there ;)
 
just finished vb login function using wj lolz ;)

PHP:
function vblogin($host ,$user, $pass, $cookiesfile) {
$posturl = "http://$host/login.php?do=login";
$postvars = "vb_login_username=$user&vb_login_password=$pass&cookieuser=1&s&do=login&vb_login_md5password=" . md5($pass) . "&vb_login_md5password_utf=" . utf8_encode(md5($pass));

 $ch = curl_init($posturl);
 curl_setopt($ch, CURLOPT_POST      ,1);
 curl_setopt($ch, CURLOPT_REFERER      ,"http://$host/login.php?do=login");
 curl_setopt($ch, CURLOPT_POSTFIELDS    ,$postvars);
 curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1); 
 curl_setopt($ch, CURLOPT_HEADER      ,1);
 curl_setopt($ch, CURLOPT_RETURNTRANSFER  ,1);
 curl_setopt($ch, CURLOPT_COOKIEJAR  ,dirname(__FILE__).'/'.$cookiesfile); 
 curl_exec($ch);
 curl_close($ch);
}
 
Last edited:
Status
Not open for further replies.
Back
Top