SRL Archive - Help and Support

Login System


Bobarkinator

2007-11-03 18:55:53

I am trying to make a script that will automatically do the ads on Adbux.org, but when I try to do GetPage for http://adbux.org/browse.php, the page that comes up is the login page. Is their any way I can solve this with scar?

BTW if you want to sign up, use my referrer please: http://adbux.org/?r=bobarkinator

rogeruk

2007-11-03 19:24:54

Why not just bot the actual page?. Open firefox with address, autologin with OCR.

And do the ads.

Bobarkinator

2007-11-03 19:26:19

Ya I thought about that. But I wanted a less invasive way, by just having scar open, then when finding an ad it would open up the add.

BTW what's OCR?

Pyro

2007-11-03 19:27:06

I was going to do the same thing. I think the easiest would be just to have the page refreshign in a actual window. Ofcourse this means that you would have to have it open and your computer not be in use. You may be able to do something with posthttppage. But i very much doubt it. But never say never.

Bobarkinator

2007-11-03 19:29:50

Hmm, I'll try, still open to suggestions though.

One thing though, I noticed when using GetPage, it wasn't getting the full page source, I did a WriteLn on what I got, and only about half the page source was their.

mastaraymond

2007-11-03 19:30:28

You could make it, make a new HTTP Client, log in manually.. Then just let scar refresh.. I've done something similair to login at SRL, in my "Get last post getter". You just need to find the post vars ;).

Not really hard to make though, oh, use a file to dump the getpage ;). Writeln doesn't write the whole page.

EDIT:
Here this is the part where its all about i guess:
[php]
<form action="login.php" method="POST">
<div id="Container1">
<h2>Login</h2><br />
<p>
<a href="register.php?r=">Register Free Account</a><br>
<a href="forgot.php?r=">Forgot Username/Password?</a>
<br>
<br>

<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" align="left" valign="top" class="adform">Username</td>
<td width="78%" height="25" align="left" valign="top" class="adform"><input type="text" name="COOKIEusername" size="25" class="form" autocomplete="off"></td>
</tr>
<tr>
<td align="left" valign="top" class="adform">Password</td>
<td height="25" align="left" valign="top" class="adform"><input type="password" name="COOKIEpass" size="25" class="form" autocomplete="off"></td>
</tr>
<tr>
<td align="left" valign="top" class="adform">Security Code</td>
<td height="25" align="left" valign="top" class="adform">











<font color=9c1515>*</font> Please copy the security code: <a href="http://adbux.org/help.php?show=verification" onClick="NewWindow(this.href,'helpwin','300','300','yes','center');return false" onFocus="this.blur()"><img src="http://adbux.org/images/help.gif" border="0" align="absbottom"></a><br>
<input type="text" name="verify" size="7" maxlength="7" autocomplete="off" class="form"> <img src="http://adbux.org/ver.php" align="absbottom">


</td>
</tr>
<tr>
<td class="adform">&nbsp;</td>
<td height="15" class="adform">&nbsp;</td>
</tr>
<tr>
<td class="adform">&nbsp;</td>
<td height="25" align="left" valign="top" class="adform"><input type=submit value="Sign In" name="loginsubmit" class="form"></td>
</tr>
</table>
</td>
</tr>
</table></p>
<!– Content End –> </form>[/php]

R0b0t1

2007-11-03 19:39:54

*cough* I really don't think SCAR is the best catalyst for this operation.



Yes! I can use big words now!d

mastaraymond

2007-11-03 19:41:27

From: R0b0t1
*cough* I really don't think SCAR is the best catalyst for this operation.



Yes! I can use big words now!d

I can do everything, except for recognizing the image :'(.

Bobarkinator

2007-11-03 19:41:52

Ya, I started the project in Java last night also. I'm thinking I'll probably finish it in that. Maybe delphi except I don't have an IDE on my computer.

Edit: Masta, are you using FireBug to view the source? Because that's what I'm using and wondering if theirs anything better.

mastaraymond

2007-11-03 19:49:49

From: Bobarkinator
Ya, I started the project in Java last night also. I'm thinking I'll probably finish it in that. Maybe delphi except I don't have an IDE on my computer.

Edit: Masta, are you using FireBug to view the source? Because that's what I'm using and wondering if theirs anything better.

Im just using firefox view source;). The image is kinda hard to pass through.. I think the login vars, are kinda easy to 'guess'.

Bobarkinator

2007-11-03 19:52:37

Aren't they COOKIEusername and COOKIEpass

mastaraymond

2007-11-03 19:59:04

From: Bobarkinator
Aren't they COOKIEusername and COOKIEpass


Yeah i guess. COOKIEUsername, COOKIEpass and loginsubmit.

Something like this?

S := InitializeHTTPClient(True,True);
AddPostVariable(s,'COOKIEusername','test');
AddPostVariable(s,'COOKIEpass','password');
AddPostVariable(s,'loginsubmit','1441);
Temp := PostHTTPPageEx(s,'http://adbux.org/login.php');
Temp := PostHTTPPageEx(s,'http://adbux.org/login.php?');
Donno if .php? or .php ^^.

Bobarkinator

2007-11-03 20:01:55

Hmm, I missed the login submit. What would you put for loginsubmit?

mastaraymond

2007-11-03 20:07:26

From: Bobarkinator
Hmm, I missed the login submit. What would you put for loginsubmit?
The security code.

Bobarkinator

2007-11-03 20:09:53

From: mastaraymond
The code verifiy code ;).


Was I supposed to understand that line?

Plus, how are you supposed to beat the capcha or whatever it's called.

Bobarkinator

2007-11-03 20:13:25

Oh, ok, I feel better now

King of Knives

2007-11-03 20:13:49

All I can answer in this thread is that OCR is Optical Character Recognition… Like GetTextAtEx… I can't help with anything else since I'm a jerk on php and just website-programming-stuff in general…

-Knives

Bobarkinator

2007-11-03 20:15:27

maybe I will just wind up doing it physically =/

mastaraymond

2007-11-03 20:16:05

From: Bobarkinator
Oh, ok, I feel better now

You could do it by either, verifying the bitmap yourself.. Or download all the possible chars and make a OCR… Probably will result in making a standalone program x).

rogeruk

2007-11-03 20:23:15

That OCR is pretty much easy to do lol.
Ive worked with alot harder captcha's than that.

Just create all the possible bitmaps, run a check and wolla, enter code.

Why not make an auto clicker than works AFTER you logged in?.

Bobarkinator

2007-11-03 20:27:05

The whole point was to do it without doing a single click. And it had to log in through HTTP Posts and such to do that. but anyways I know how I can do it now. Just have the user log in first then autoclick it.

rogeruk

2007-11-03 20:33:55

Well id do it personally in VB, can just leave it minimized and it would do all the work itself. Just like my other bots.

But i doubt u gonna gain that much money lol

I downloaded (a) autoclicker. Works ok, not too good tho

Ill have a closer look 2mor

Pyro

2007-11-03 21:21:42

TO be fair. THe only real way of making money on these sites are through referalls. SO if iw as you (and i have been thinking about doing it myself) i would make a email bomber to spam the referall links every which where.

Harry

2007-11-03 22:03:39


Something like this?

S := InitializeHTTPClient(True,True);
AddPostVariable(s,'COOKIEusername','test');
AddPostVariable(s,'COOKIEpass','password');
AddPostVariable(s,'loginsubmit','1441);
Temp := PostHTTPPageEx(s,'http://adbux.org/login.php');
Temp := PostHTTPPageEx(s,'http://adbux.org/login.php?');
Donno if .php? or .php ^^.


OHHH! The master messed up on his strings! :eek: Fix AddPostVariable(s,'loginsubmit','1441); to AddPostVariable(s,'loginsubmit','1441'); plawx :D