PC Review


Reply
Thread Tools Rate Thread

BUG: Script blocking strips script parameters during script authorization

 
 
Jonathan K. Shay
Guest
Posts: n/a
 
      29th Apr 2005
The first time a VBS script is run, MSAS correctly blocks
the script and prompts the user for action (allow,
etc.). However, if the script is allowed to execute, no
parameters that were passed with the script ON THE
INITIAL EXECUTION are passed through the "authorization
filter". That is to say, once a user accepts script
authorization, any parameters passed with the script have
been dropped.

It appears this only happens the first time a script is
caught by MSAS. Subsequent script executions correctly
run with parameters passed to the script.
 
Reply With Quote
 
 
 
 
Bill Sanderson
Guest
Posts: n/a
 
      1st May 2005
Additionally, the script executes in the folder context of \system32, rather
than the script file's location.

--
FAQ for Microsoft Antispyware:
http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm

"Jonathan K. Shay" <(E-Mail Removed)> wrote in message
news:056c01c54cc9$552bd2c0$(E-Mail Removed)...
> The first time a VBS script is run, MSAS correctly blocks
> the script and prompts the user for action (allow,
> etc.). However, if the script is allowed to execute, no
> parameters that were passed with the script ON THE
> INITIAL EXECUTION are passed through the "authorization
> filter". That is to say, once a user accepts script
> authorization, any parameters passed with the script have
> been dropped.
>
> It appears this only happens the first time a script is
> caught by MSAS. Subsequent script executions correctly
> run with parameters passed to the script.



 
Reply With Quote
 
Jonathan K. Shay
Guest
Posts: n/a
 
      2nd May 2005
Indeed it does - I thought my errors were exclusively the
result of parameters being dropped, but now that I look
closely my script's working folder has been changed to
the \System32 folder...

BTW, is this the correct location to post bugs, or is
there a forum exclusively for that??

>-----Original Message-----
>Additionally, the script executes in the folder context

of \system32, rather
>than the script file's location.
>
>--
>FAQ for Microsoft Antispyware:
>http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
>
>"Jonathan K. Shay" <(E-Mail Removed)>

wrote in message
>news:056c01c54cc9$552bd2c0$(E-Mail Removed)...
>> The first time a VBS script is run, MSAS correctly

blocks
>> the script and prompts the user for action (allow,
>> etc.). However, if the script is allowed to execute,

no
>> parameters that were passed with the script ON THE
>> INITIAL EXECUTION are passed through the "authorization
>> filter". That is to say, once a user accepts script
>> authorization, any parameters passed with the script

have
>> been dropped.
>>
>> It appears this only happens the first time a script is
>> caught by MSAS. Subsequent script executions correctly
>> run with parameters passed to the script.

>
>
>.
>

 
Reply With Quote
 
Bill Sanderson
Guest
Posts: n/a
 
      2nd May 2005
These groups are the correct location. There's a school of thought that
nobody should post in or answer in, the announcements group, but it hasn't
gained many adherents yet.

You may find a given group more appropriate for a given post--false
positives are requested in .signatures, for example.

There was for a time a useful article written by "the scripting guys" about
the foibles of the beta and scripting. It disappeared without a trace one
day, unfortunately.

I expect these bugs, which are definitely high on the developers lists, to
be fixed in beta2, and I also expect beta2 to be released..... but when??

--
FAQ for Microsoft Antispyware:
http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm

"Jonathan K. Shay" <(E-Mail Removed)> wrote in message
news:164301c54f39$72403d70$(E-Mail Removed)...
> Indeed it does - I thought my errors were exclusively the
> result of parameters being dropped, but now that I look
> closely my script's working folder has been changed to
> the \System32 folder...
>
> BTW, is this the correct location to post bugs, or is
> there a forum exclusively for that??
>
>>-----Original Message-----
>>Additionally, the script executes in the folder context

> of \system32, rather
>>than the script file's location.
>>
>>--
>>FAQ for Microsoft Antispyware:
>>http://www.geocities.com/marfer_mvp/FAQ_MSantispy.htm
>>
>>"Jonathan K. Shay" <(E-Mail Removed)>

> wrote in message
>>news:056c01c54cc9$552bd2c0$(E-Mail Removed)...
>>> The first time a VBS script is run, MSAS correctly

> blocks
>>> the script and prompts the user for action (allow,
>>> etc.). However, if the script is allowed to execute,

> no
>>> parameters that were passed with the script ON THE
>>> INITIAL EXECUTION are passed through the "authorization
>>> filter". That is to say, once a user accepts script
>>> authorization, any parameters passed with the script

> have
>>> been dropped.
>>>
>>> It appears this only happens the first time a script is
>>> caught by MSAS. Subsequent script executions correctly
>>> run with parameters passed to the script.

>>
>>
>>.
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<script>window.opener.location.href='MyPage.aspx';</script> Chetana Microsoft Dot NET 0 14th Feb 2008 11:23 AM
How would you write a script to add and apply a group policy in Active Directory? Script could be VBscript arpitaashokadessai@gmail.com Microsoft Windows 2000 Active Directory 1 14th Feb 2007 09:07 PM
Outlk 2k3 Script: Saving Excel File programticaly from OUTLOOK SCRIPT news.microsoft.com Microsoft Outlook VBA Programming 3 22nd Nov 2006 03:33 PM
BUG: Script blocking does not recognize change in script contents Jonathan K. Shay Spyware Announcements 0 29th Apr 2005 03:37 PM
Logon script running a Kixtart script doesn't map drives when logging on from XP AcKBaR[KAC] Microsoft Windows 2000 Networking 0 25th Feb 2004 05:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:16 AM.