Re: Script Encoder

From: Sam Low (samlow91xx_at_hotmail.com)
Date: 02/05/05


Date: Sat, 5 Feb 2005 12:37:32 +0800

Thanks, but apparently it doesn't recognize the scrambled file as an encoded
script file. The error is now

---
Microsoft VBScript compilation error '800a0400'
Expected statement
/comm.asp, line 3
#@~^YAUAAA==@#@&B6hK&r1,2oKS&Z(K@#@&@#@&kE4,j+	...... ------
I must mention that I INCLUDEd the encoded file within a non-encoded script
with the <!-- #include file="comm.asp" --> statement.  If I copied the
included file contents to the main page and encode it then it works fine.  I
wonder if this is a product limitation.
"Michael Harris (MVP)" <mikhar at mvps dot org> wrote in message
news:#TJQ2kxCFHA.3728@TK2MSFTNGP14.phx.gbl...
> > Script encoder inserts <%@ LANGUAGE = VBScript.Encode %> to the front
> > of the scrambled file and it seems this is causing the error.
> >
> > Any tips?  Thanks
>
> Re-check the documentataion for the /xl switch...
>
>
> -- 
> Michael Harris
> Microsoft MVP Scripting
>
>


Relevant Pages

  • Re: Query disabled users and delete their memberof associations
    ... I have been testing the following script and it is failing on line ... "microsoft vbscript compilation error: Unterminated string constant" ... Dim objDSE, objConnection, objCommand, objRecordset, i ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: I am trying to get the login id from a full name
    ... When I run the script I get this error ... Microsoft VBScript compilation error: Expected end of statement ... 2000 logon name") you can use the NameTranslate object to convert this to ...
    (microsoft.public.scripting.vbscript)
  • minidom xml & non ascii / unicode & files
    ... at first i had no problem using python minidom and everything concerning my regex/xml processing works fine, until i tested my tool on some french page with "non ascii" chars and my script started to throw errors all over the place.. ... I've looked into the matter and discovered the unicode / string encoding processes implied when dealing with non ascii texts and i must say i almost lost my mind.. ... And can i decode it to unicode and encode it back to a byte string so i can use it in my code, with the charsets i want, like ... in the same idea could anyone try to post the few lines that would actually parse an xml file, with non ascii chars, with minidom. ...
    (comp.lang.python)
  • Re: Encrypt Statrup Script Password Using Group Policy
    ... I have managed to find PrimalScript 2007 Enterprise which seems to be secure so far, you can create your VBS, encode to VBE and then compile this to an exe, the old version 4.1, created the .exe but when invoked, created a random .vbs/.vbe in temp, which you could easily read using the below decode script, I believe the .exe also works via gpo for startup scripts, from discussions with other IT professionals. ... If the script is .vbe they can run it as if they copied it locally and it ...
    (microsoft.public.windows.group_policy)
  • RE: Changing local admin PW using vb logon script - can it be encrypted?
    ... When you encode a vbscript, make sure the output file is given a .vbe ... Subject: RE: Changing local admin PW using vb logon script - can it be ... but isn't very strong encryption. ... security risks of having 1 password on all of our computers and are ...
    (Focus-Microsoft)