Jump to content
UBot Underground

Run navigate hidden?


Recommended Posts

What would be the best way to run navigate to where the user wouldn't see where it's navigating to.

 

I'm trying to navigate to an api/post.php script I have setup to where only certain users are allowed to run the bot. It'll then search the page & if Subscription = No, the bot will completely stop.

 

But I'm having trouble trying to find the best way to do this. Anyway to make this all happen in the background?

Link to post
Share on other sites

Here's an example I put together that should be enough for you to work with ;)

 

In my example, I load the google translate page, then secretly submit a translation in an iframe and make a popup with the resulting translated text.

 

secret_iframe_submit_example.ubot

 

Explanation:

 

- navigate to the page we want our user to see (it MUST be on the same domain as the script we're sending data to)

 

- append an iframe to the body of the page with zero'ed width and height (invisible, but still functional!) and the src= set to our script we're sending data to secretly. (http://yoursite.com/auth/check.php?user={1}&pass={2} or something?)

 

- wait a second to let the iframe load

 

- use javascript in an $eval statement to select the newly created iframe, select it's document body, and select an element, and retrieve the results

  • Like 4
Link to post
Share on other sites

- navigate to the page we want our user to see (it MUST be on the same domain as the script we're sending data to)

 

- append an iframe to the body of the page with zero'ed width and height (invisible, but still functional!) and the src= set to our script we're sending data to secretly. (http://yoursite.com/auth/check.php?user={1}&pass={2} or something?)

 

- wait a second to let the iframe load

 

- use javascript in an $eval statement to select the newly created iframe, select it's document body, and select an element, and retrieve the results

 

That is pure genius! What a fantastic share.

 

Andy

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

He uses the eval funtion to run the java script that sets the varable which is the translated text which is then run in the alert window at the end

 

hope that makes sense

 

Pftg4

 

("Sooooooper Genius"!) i second that

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