Jump to content



Photo

[InetGet] - Always @error. was working!


  • Please log in to reply
74 replies to this topic

#41 seandisanti

seandisanti

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,927 posts

Posted 12 March 2007 - 04:14 PM

Hum sorry, working but still have a problem, its asking me everytime the page refresh If i want to display the secured item ...
I can't use the IE fucs because of that:

Posted Image

How can I solve it? another function? Hide this message? Thanks

have you tried using an adlib function to watch for that window?
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







#42 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 12 March 2007 - 04:19 PM

Hum sorry, working but still have a problem, its asking me everytime the page refresh If i want to display the secured item ...
I can't use the IE fucs because of that:

Posted Image

How can I solve it? another function? Hide this message? Thanks

Set the browser permissions correctly? I have no idea about vista personally... I'm just staying away from it until I don't have a choice. All my scripts have
If @OSVersion = 'WIN_6.0' Or @OSVersion = 'WIN_6.1' Then     MsgBox(16, 'Error', 'Are you kidding?')     Exit EndIf
At the top :whistle: !

Maybe this ugly work around could work for you too:
http://www.autoitscript.com/forum/index.ph...st&p=316046

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.


#43 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 04:28 PM

lol great, you should explain: Are you mad?

Thanks, but IeCreate Takes too much time and too much Ram .... I suceed to disable the message but I want to make it public.

Can't I get the Source from another way? [Fast one]
Sorry for my Bad English.Posted Image

#44 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 12 March 2007 - 04:29 PM

lol great, you should explain: Are you mad?

Thanks, but IeCreate Takes too much time and too much Ram .... I suceed to disable the message but I want to make it public.

Can't I get the Source from another way? [Fast one]

Use a 3rd party program... you've just shut out the 2 ways we do it ... _InetGetSource() and _IE... time to go hunting.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.


#45 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 04:42 PM

.....

I tried with two other Secured webpage with an Inetget, working great [Ebay, Paypal] Whats wrong with that.
Im giving up.
Sorry for my Bad English.Posted Image

#46 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 12 March 2007 - 04:51 PM

.....

I tried with two other Secured webpage with an Inetget, working great [Ebay, Paypal] Whats wrong with that.
Im giving up.

I'm telling you... the solution to all your problems is :
If @OSVersion = 'WIN_6.0' Or @OSVersion = 'WIN_6.1' Then     MsgBox(16, 'Error', 'Are you kidding?')     Exit EndIf
:P :whistle:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.


#47 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 04:53 PM

My solution is:

If @OSVersion = 'WIN_VISTA' Then     MsgBox(16, 'Error', 'Whats wrong with you?')     Exit EndIf

Sorry for my Bad English.Posted Image

#48 Joon

Joon

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 329 posts

Posted 12 March 2007 - 05:27 PM

How about adding those site to Trust Site?

#49 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 05:34 PM

Thanks ... Wepage added to trusted site, but my InetGet is still failing.

Desperate.
Sorry for my Bad English.Posted Image

#50 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 12 March 2007 - 05:42 PM

does
curl -k <a href='https://user:pw@ssl.rapidshare.com/cgi-bin/collectorszone.cgi' class='bbc_url' title='External link' rel='nofollow external'>https://user:pw@ssl.rapidshare.com/cgi-bin/collectorszone.cgi</a>
work for you?
(dont forget to change user and pw to your username/password...)

if yes you may wrap it with run and stdoutread...
edit:
if authentication doesn't work try:
curl -k -d username=<user> -d password=<pw> <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>

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

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

#51 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 05:54 PM

Thanks,

Downloaded the Windows Xp [there is no vista] version of Curl. I put the .exe in Syst32 dir... Tried to launch a :
curl



And got that:
Posted Image

Didn't find anything in their FAQ... :whistle:

Edited by eHrgo, 12 March 2007 - 06:02 PM.

Sorry for my Bad English.Posted Image

#52 Joon

Joon

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 329 posts

Posted 12 March 2007 - 05:59 PM

Thanks ... Wepage added to trusted site, but my InetGet is still failing.

Desperate.


If you add it to the Trust Site then trying following.

From IE.

Tools >> Internet Options >> Security Tab >> High light Trusted Sites >> Custom Level button >> Under Miscellaneous Section, Change Display mixed content to Enable.

#53 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 12 March 2007 - 06:00 PM

damn...
try using this from a separate directory

it contains the version of openssl that was used to build curl
Posted Image CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map

#54 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 06:12 PM

Joon: Already tried it, thanks, still @error, whatever, I can't tell everyone to enable those options...

Piccaso: Thanks a lot, this one is working [I can't put it in System32 because both Dll are existing..] Working from another path [I will use @Scriptdir]

LOVE YOU.
Working, im gonna try to wrap it in autoit.
Sorry for my Bad English.Posted Image

#55 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 06:20 PM

Sooooooooo close.

I can't get Stdoutread work.. It doesn't return me my code... Searching.

$Curl=RunWait ( @ScriptDir&'\curl -k <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>) $txt=StdoutRead ( $Curl) MsgBox(0,'', $txt)


Edit: I can see the HTML code on the prompt DOS window.
Not working with the Username and Password settings, but its not a problem.

Edited by eHrgo, 12 March 2007 - 06:29 PM.

Sorry for my Bad English.Posted Image

#56 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 06:33 PM

Got it, working pro.

Thank you sooooooooooo much.

$Curl=Run ( @ScriptDir&'\curl -k <a href='https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi' class='bbc_url' title='External link' rel='nofollow external'>https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi'</a>, @ScriptDir, @SW_MAXIMIZE, 2) $txt=StdoutRead ( $Curl) If @error Then Exit     MsgBox(0,'', $txt)

Edited by eHrgo, 12 March 2007 - 06:40 PM.

Sorry for my Bad English.Posted Image

#57 SadBunny

SadBunny

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 743 posts

Posted 12 March 2007 - 06:41 PM

Sooooooooo close.

I can't get Stdoutread work.. It doesn't return me my code... Searching.

$Curl=RunWait ( @ScriptDir&'\curl -k https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi') $txt=StdoutRead ( $Curl) MsgBox(0,'', $txt)


Edit: I can see the HTML code on the prompt DOS window.
Not working with the Username and Password settings, but its not a problem.


Ok, this I haven't seen mentioned in this thread before:

Note that in Vista just being an administrator is NOT enough for running activities that have security implications. Especially when you are using User Account Control (UAC). You need two things:
1 - #requireAdmin directive in start of script (this makes Vista popup a confirmation box - without this, all kinds of functions fail!!!)
2 - If you need to elevate an activity to LSA privileges (for instance for interacting with services that run under the LSA): in Vista only the ShellExecute API and ShellExecuteEx API kept their elevation rights.

So what happens if you include that directive, and try using ShellExecute() to generate some output?

Btw, I recently had other discussions about this kind of thing, see:
http://www.autoitscript.com/forum/index.php?showtopic=42213
http://www.autoitscript.com/forum/index.ph...mp;#entry315147
Roses are FF0000Violets are 0000FFAll my base are belong to you

#58 eHrgo

eHrgo

    Adventurer

  • Active Members
  • PipPip
  • 112 posts

Posted 12 March 2007 - 06:43 PM

Sooooooooooooooooooooooo . Stupid, im stupid, for sure I need it to work with username and password ... This one doesn't use IE cookies... I tried to go to:

https://username:password@ssl.rapidshare.com/cgi-bin/premiumzone.cgi


Not working, im gonna kill my self.

Edit Woups Bunny, thanks a lot for you explanation, but I found a way to generate the output.. [See bellow] :S sorry.

Edited by eHrgo, 12 March 2007 - 06:44 PM.

Sorry for my Bad English.Posted Image

#59 seandisanti

seandisanti

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 2,927 posts

Posted 12 March 2007 - 06:44 PM

Sooooooooooooooooooooooo . Stupid, im stupid, for sure I need it to work with username and password ... This one doesn't use IE cookies... I tried to go to:

https://username:password@ssl.rapidshare.com/cgi-bin/premiumzone.cgi


Not working, im gonna kill my self.

one down :whistle:

Edited by cameronsdad, 12 March 2007 - 06:44 PM.

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

#60 piccaso

piccaso

    Rock me, Amadeus!

  • MVPs
  • 893 posts

Posted 12 March 2007 - 06:57 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)

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users