Guest pr0n1x Posted March 9, 2011 Report Share Posted March 9, 2011 I can not get the password to the variable help. Quote Link to post Share on other sites
Praney Behl 314 Posted March 9, 2011 Report Share Posted March 9, 2011 This should work, try this: Sample_pr0n1x_scrape_password.ubot Praney Quote Link to post Share on other sites
Guest pr0n1x Posted March 9, 2011 Report Share Posted March 9, 2011 This should work, try this: Sample_pr0n1x_scrape_password.ubot Praneyhere is the result of your script Quote Link to post Share on other sites
Praney Behl 314 Posted March 9, 2011 Report Share Posted March 9, 2011 There must be some other code/text on the page then. Its a little hard to do without have the page itself. Hey would it be possible for you to right click the page and view source. If you could provide the page source i might be able to help. If you don't want it public the you can send me a PM. Praney Quote Link to post Share on other sites
Praney Behl 314 Posted March 9, 2011 Report Share Posted March 9, 2011 Ok try this now, it may fix the issue, if not then can't really say much without as said above.. Sample_pr0n1x_scrape_password.ubot Praney Quote Link to post Share on other sites
Guest pr0n1x Posted March 10, 2011 Report Share Posted March 10, 2011 Ok try this now, it may fix the issue, if not then can't really say much without as said above.. Sample_pr0n1x_scrape_password.ubot Praney2-nd option does not work either, so I put html code of the page ======================================================================================================= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head><meta name="robots" content="noindex,nofollow"><meta http-equiv="x-dns-prefetch-control" content="off"> <title>SquirrelMail 1.4.21</title><!--[if IE 6]><style type="text/css">/* avoid stupid IE6 bug with frames and scrollbars */body { width: expression(document.documentElement.clientWidth - 30);}</style><![endif]--> </head> <body text="#000000" bgcolor="#ffffff" link="#0000cc" vlink="#0000cc" alink="#0000cc" > <a name="pagetop"></a> <table bgcolor="#ffffff" border="0" width="100%" cellspacing="0" cellpadding="2"> <tr bgcolor="#ababab"> <td align="left"> Current Folder: <b>INBOX </b> </td><td align="right"><b><a href="/3rdparty/squirrelmail/src/signout.php" target="_top">Sign Out</a></b></td> </tr> <tr bgcolor="#ffffff"> <td align="left"> <a href="/3rdparty/squirrelmail/src/compose.php?mailbox=INBOX&startMessage=1">Compose</a> <a href="/3rdparty/squirrelmail/src/addressbook.php">Addresses</a> <a href="/3rdparty/squirrelmail/src/folders.php">Folders</a> <a href="/3rdparty/squirrelmail/src/options.php">Options</a> <a href="/3rdparty/squirrelmail/src/search.php?mailbox=INBOX">Search</a> <a href="/3rdparty/squirrelmail/src/help.php">Help</a> </td> <td align="right"> <a href="http://www.squirrelmail.org/" target="_blank">SquirrelMail</a></td> </tr></table><br> <table width="100%" cellpadding="3" cellspacing="0" align="center" border="0" bgcolor="#ababab"><tr><td align="left" width="33%"><small><a href="/3rdparty/squirrelmail/src/right_main.php?sort=6&startMessage=1&mailbox=INBOX">Message List</a> | <a href="/3rdparty/squirrelmail/src/right_main.php?unread_passed_id=29&sort=6&startMessage=1&mailbox=INBOX">Unread</a> | <a href="/3rdparty/squirrelmail/src/delete_message.php?mailbox=INBOX&message=29&smtoken=Awa14yVU2iI6&sort=6&startMessage=1">Delete</a></small></td><td align="center" width="33%"><small>Previous | <a href="/3rdparty/squirrelmail/src/read_body.php?passed_id=28&mailbox=INBOX&sort=6&startMessage=1&show_more=0">Next</a></small></td> <td align="right" width="33%" nowrap><small><a href="/3rdparty/squirrelmail/src/compose.php?passed_id=29&mailbox=INBOX&startMessage=1&passed_ent_id=0&smaction=forward">Forward</a> | <a href="/3rdparty/squirrelmail/src/compose.php?passed_id=29&mailbox=INBOX&startMessage=1&passed_ent_id=0&smaction=forward_as_attachment">Forward as Attachment</a> | <a href="/3rdparty/squirrelmail/src/compose.php?passed_id=29&mailbox=INBOX&startMessage=1&passed_ent_id=0&smaction=reply">Reply</a> | <a href="/3rdparty/squirrelmail/src/compose.php?passed_id=29&mailbox=INBOX&startMessage=1&passed_ent_id=0&smaction=reply_all">Reply All</a></small></td></tr></table><table bgcolor="#ababab" width="100%" cellpadding="1" cellspacing="0" border="0" align="center"><tr><td height="5" colspan="2" bgcolor="#ffffff"></td></tr><tr><td align="center"><table width="100%" cellpadding="0" cellspacing="2" border="0" align="center" bgcolor="#dcdcdc"><tr><td align="right" valign="top" width="20%"><b>Subject: </b></td> <td align="left" valign="top" width="80%">Account details for antoshuk7 at Beyond Satire</td> </tr><tr><td align="right" valign="top" width="20%"><b>From: </b></td> <td align="left" valign="top" width="80%">beyondsatire@beyondsatire.us</td> </tr><tr><td align="right" valign="top" width="20%"><b>Date: </b></td> <td align="left" valign="top" width="80%">Wed, March 9, 2011 12:19 am</td> </tr><tr><td align="right" valign="top" width="20%"><b>To: </b></td> <td align="left" valign="top" width="80%">complete@beautifulpictureframes.org</td> </tr><tr><td align="right" valign="top" width="20%"><b>Priority: </b></td> <td align="left" valign="top" width="80%">Normal</td> </tr><tr><td align="right" valign="middle" width="20%"><b>Options: </b></td><td align="left" valign="middle" width="80%"><small><a href="/3rdparty/squirrelmail/src/view_header.php?mailbox=INBOX&passed_id=29&passed_ent_id=0">View Full Header</a> | <a target="_blank" href="../src/printer_friendly_bottom.php?passed_ent_id=0&mailbox=INBOX&passed_id=29&view_unsafe_images=">View Printable Version</a> | <a href="download.php?absolute_dl=true&passed_id=29&ent_id=1&mailbox=INBOX&sort=6&startMessage=1&show_more=0&passed_ent_id=0">Download this as a file</a></small></td> </tr></table></td></tr><tr><td height="5" colspan="2" bgcolor="#ffffff"></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" align="center" border="0"> <tr><td> <table width="100%" cellpadding="1" cellspacing="0" align="center" border="0" bgcolor="#ababab"> <tr><td> <table width="100%" cellpadding="3" cellspacing="0" align="center" border="0"> <tr bgcolor="#ffffff"><td><table align="left" cellpadding="1" cellspacing="5" border="0"> <tr><td align="left"><br /><pre>antoshuk7, Thank you for registering at Beyond Satire. You may now log in to <a href="http://beyondsatire.us/user" target="_blank">http://beyondsatire.us/user</a> using the following username and password: username: antoshuk7password: FEJXwcmi2S You may also log in by clicking on this link or copying and pasting it in your browser: <a href="http://beyondsatire.us/user/reset/7351/1299651598/f5a1e4558b9a5137d7b5dbdcf67f32b1" target="_blank">http://beyondsatire.us/user/reset/7351/1299651598/f5a1e4558b9a5137d7b5dbdcf67f32b1</a> This is a one-time login, so it can be used only once. After logging in, you will be redirected to <a href="http://beyondsatire.us/user/7351/edit" target="_blank">http://beyondsatire.us/user/7351/edit</a> so you can change your password. -- Beyond Satire team</pre></td></tr> </table> </td></tr> </table></td></tr> </table> </td></tr><tr><td height="5" colspan="2" bgcolor="#ffffff"></td></tr></table></body></html> Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 10, 2011 Report Share Posted March 10, 2011 You need to use regular expression on this one. Squirrel webmail is using frame so you can scrape it directly from the page. If you want to have the source for this you need to send the login details to praney or to me so we can help.. Quote Link to post Share on other sites
Guest pr0n1x Posted March 10, 2011 Report Share Posted March 10, 2011 Praney★Behl, Kreatus sent PM Quote Link to post Share on other sites
Praney Behl 314 Posted March 10, 2011 Report Share Posted March 10, 2011 The regex you need is : \bpassword:\s[a-zA-Z0-9]{10,50}\b Quote Link to post Share on other sites
Guest pr0n1x Posted March 10, 2011 Report Share Posted March 10, 2011 The regex you need is : \bpassword:\s[a-zA-Z0-9]{10,50}\bwhich team to use a regular expression? Quote Link to post Share on other sites
Praney Behl 314 Posted March 10, 2011 Report Share Posted March 10, 2011 team ?? Quote Link to post Share on other sites
Guest pr0n1x Posted March 11, 2011 Report Share Posted March 11, 2011 team ??I understand that I need to use the command "find regular expression", I use UBot Studio standard edition, this version there is this command? Quote Link to post Share on other sites
Praney Behl 314 Posted March 11, 2011 Report Share Posted March 11, 2011 Then you need to look into a little bit of javascript, try doing a search for : new RegExp(); funtion in javascript. You will need to run this code as : Ubot Pseudo Code Set #variablename { $eval { javascript code here. ex. var re = new RegExp(Regular Expression, "g"); re; } } Praney Quote Link to post Share on other sites
JohnB 255 Posted March 11, 2011 Report Share Posted March 11, 2011 You won't need js if you use the regex option in choose by attribute. John Quote Link to post Share on other sites
JohnB 255 Posted March 11, 2011 Report Share Posted March 11, 2011 Here is a small script with two tabs. The first tab uses only Standard license commands, but both tabs get the same results. John regex1.ubot Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.