Jump to content



Photo

[InetGet] - Always @error. was working!


  • Please log in to reply
74 replies to this topic

#61 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 07:29 PM

Wow, I don't know how that works, but thats working...
In fact thats working for only Collector Zone, return me the login page for Premium Zone.

I don't know if you saw that there is two links:
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi <- Premium account [$]
https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi <- Free account [Free]

I checked both,
With my collector's [second link] login & pw its working [return me Zone page]
With my premium's one.. [First Link] its returning me the login page [without any error in it]

Both look exactly the same! Maybe one is more secured?

Thank so much, im gonna try to understand this code and make the Premium zone work.
Sorry for my Bad English.Posted Image





#62 seandisanti

seandisanti

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,927 posts

Posted 12 March 2007 - 07:33 PM

Wow, I don't know how that works, but thats working...
In fact thats working for only Collector Zone, return me the login page for Premium Zone.

I don't know if you saw that there is two links:
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi <- Premium account [$]
https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi <- Free account [Free]

I checked both,
With my collector's [second link] login & pw its working [return me Zone page]
With my premium's one.. [First Link] its returning me the login page [without any error in it]

Both look exactly the same! Maybe one is more secured?

Thank so much, im gonna try to understand this code and make the Premium zone work.

have you verified that you're able to do what you want manually? i mean it is possible that they've blocked you by MAC id or something.....
1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

#63 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 07:36 PM

https://username:password@ssl.rapidshare.co...premiumzone.cgi
AND
https://username:password@ssl.rapidshare.co...lectorszone.cgi

Aren't working. But the Curl code returns the logged in page... Dont know how.
Sorry for my Bad English.Posted Image

#64 seandisanti

seandisanti

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,927 posts

Posted 12 March 2007 - 07:42 PM

https://username:password@ssl.rapidshare.co...premiumzone.cgi
AND
https://username:password@ssl.rapidshare.co...lectorszone.cgi

Aren't working. But the Curl code returns the logged in page... Dont know how.

aren't working manually or programatically?
1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

#65 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 07:50 PM

Those links, aren't working Manually [Both] But Piccaso's last script make one of them work [Collector].
Sorry for my Bad English.Posted Image

#66 seandisanti

seandisanti

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,927 posts

Posted 12 March 2007 - 07:55 PM

Those links, aren't working Manually [Both] But Piccaso's last script make one of them work [Collector].

odd. well trying to automate something that isn't working manually seems like a bit of a waste of time. you should try to identify why it's not working manually first, then troubleshoot/debug your script once you're sure that any remaining issues are indicative of a problem with the script.
1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

#67 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 07:58 PM

Yep .. But its working...
I didn't have time to understand why my links aren't working. [Returns me in both case the login page without login error]


Weird..
Sorry for my Bad English.Posted Image

#68 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 12 March 2007 - 08:01 PM

that's because the form names are different.

Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d login=' & $sLogin & ' -d password=' & $sPassw _                 & ' <a href='https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi' class='bbc_url' title='External link' rel='norewrite nofollow external'>https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $iPeek,$sOut While 1     $iPeek = StdoutRead($iPidCurl,0,True)     If @error Then ExitLoop     If $iPeek > 0 Then $sOut &= StdoutRead($iPidCurl,$iPeek) WEnd ConsoleWrite($sOut)


its called 'login' on the premium page and 'username' on the collectors thing...

edit:
http authentication does not work because rapidscare's cgi doesent accept it that way.
you have to send it as post data

Edited by piccaso, 12 March 2007 - 08:05 PM.

Posted Image CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map

#69 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 08:04 PM

Ow!

So I've understood the whole script! Gennnnnius!

You're such a pro, I didn't understand that -d are the Form names. I though it was just a command.

THANKS

IT WORKS! Piccaso, I'm your Fan.

Edited by eHrgo, 12 March 2007 - 08:12 PM.

Sorry for my Bad English.Posted Image

#70 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 12 March 2007 - 08:22 PM

ok lets see for how long :whistle:
Posted Image CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map

#71 oren

oren

    Adventurer

  • Active Members
  • PipPip
  • 145 posts

Posted 22 July 2008 - 03:51 PM

ok lets see for how long :muttley:


Well for this long...
The curl function is still working..(if i try it in dos)
But it is not working when i put it in autoit.
runwait does work bt i cant get the stream out....
Please help...

#72 Jos

Jos

    oh joy ...

  • Developers
  • 21,047 posts

Posted 22 July 2008 - 04:02 PM

Well for this long...
The curl function is still working..(if i try it in dos)
But it is not working when i put it in autoit.
runwait does work bt i cant get the stream out....
Please help...

You will have to be more specific than this before we can help you.
Post your scriptlet and whats going wrong with it.

Jos

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#73 oren

oren

    Adventurer

  • Active Members
  • PipPip
  • 145 posts

Posted 22 July 2008 - 04:15 PM

try this one

Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _                 & ' <a href='https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi' class='bbc_url' title='External link' rel='nofollow external'>https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $iPeek,$sOut While 1     $iPeek = StdoutRead($iPidCurl,0,True)     If @error Then ExitLoop     If $iPeek > 0 Then $sOut &= StdoutRead($iPidCurl,$iPeek) WEnd ConsoleWrite($sOut)

Indeed you right sorry...
anyway this script above does not work anymore...
Imange to get it work if i change the flag to 3. but it only work for 1 or 2 times and then it stop please help.

Edit
well i see that also with flag 2+4 its working but only once every 5 attemptes

Edited by oren, 22 July 2008 - 04:16 PM.


#74 Jos

Jos

    oh joy ...

  • Developers
  • 21,047 posts

Posted 22 July 2008 - 04:25 PM

You need to read both the STDOUT and STDERR. try:

Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _                 & ' <a href='https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi' class='bbc_url' title='External link' rel='norewrite nofollow external'>https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $sOut While 1     $sOut &= StdoutRead($iPidCurl)     If @error Then ExitLoop WEnd While 1     $sOut &= StderrRead($iPidCurl)     If @error Then ExitLoop WEnd ConsoleWrite($sOut)

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#75 oren

oren

    Adventurer

  • Active Members
  • PipPip
  • 145 posts

Posted 22 July 2008 - 06:12 PM

Thanks man you the great....




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users