INT truncted to 32bits, STRRIGHTLEFT, and New APPEXECUSER function

1 view
Skip to first unread message

John Bridges

unread,
Jan 23, 2012, 2:28:11 PM1/23/12
to after...@googlegroups.com
New build of AfterGRASP is up for download:
 
 
agsetup_20120122.exe
 
----------------------------------------------------------------------------
Sun, 22 January 2012

INT command was truncating values to 32bits instead of maintaining the full
63 bits. Fixed.

STRRIGHTLEFT and STRRIGHTLEFTHTML were both broken. They were working
like STRRIGHT and STRRIGHTHTML, fixed.

AGEXE now recognizes the RUNTIME= line if it goes not contain the
text "glplay" or "glpro".

----------------------------------------------------------------------------
Sat, 21 January 2012

New command to allow APPEXEC to run programs as a different user.

APPEXECUSER USERNAME PASSWORD DOMAIN DIRECTORYPATH OPTIONS


OPTIONS are the the logon type which can be one of the following:

BATCH
    This logon type is intended for batch servers, where processes may be
    executing on behalf of a user without their direct intervention. This
    type is also for higher performance servers that process many plaintext
    authentication attempts at a time, such as mail or Web servers.
    Credentials are not cached for this logon type.
 
INTERACTIVE
    This logon type is intended for users who will be interactively using
    the computer, such as a user being logged on by a terminal server,
    remote shell, or similar process. This logon type has the additional
    expense of caching logon information for disconnected operations;
    therefore, it is inappropriate for some client/server applications,
    such as a mail server.
 
NETWORK
    This logon type is intended for high performance servers to authenticate
    plaintext passwords.
    Credentials are not cached for this logon type.
 
NETWORKCLEARTEXT
    This logon type preserves the name and password in the authentication package,
    which allows the server to make connections to other network servers while
    impersonating the client. A server can accept plaintext credentials from a client,
    call LogonUser, verify that the user can access the system across the network,
    and still communicate with other servers.
 
NEWCREDENTIALS
    This logon type allows the caller to clone its current token and specify new
    credentials for outbound connections. The new logon session has the same local
    identifier but uses different credentials for other network connections.
    This logon type is supported only by the WINNT50 logon provider.
 
SERVICE
    Indicates a service-type logon. The account provided must have the service privilege enabled.
 
UNLOCK
    This logon type is for GINA DLLs that log on users who will be interactively using the
    computer. This logon type can generate a unique audit record that shows when the workstation
    was unlocked.
 

And Logon provider, which can be one fo the following:

DEFAULT
    Use the standard logon provider for the system. The default security provider is negotiate,
    unless you pass blank/NULL for the domain name and the user name is not in UPN format. In this case,
    the default provider is NTLM.

WINNT35
 Old logon provider.

WINNT40
 Use the NTLM logon provider.

WINNT50
 Use the negotiate logon provider.
 
 

The default values for logon type and logon provider are INTERACTIVE and DEFAULT.

A small example:

 drawclear white
 
 messagebox winerrormessage(appexecuser(test,testpass,aluminum)) appexecuser
 messagebox winerrormessage(appexec(notepad.exe)) appexec
 exitnow
 

----------------------------------------------------------------------------
Fri, 13 January 2012

Micrometers are now supported for measurements.
A micrometer is 1/1000th of a millimeter.
The suffix for micrometere is "um".

So 0.005cm is the same as 0.05mm or 50um

The full set of measurement functions are now:

    asinches
    asmicrometers
    asmillimeters
    aspercentage
    aspicas
    aspoints
    tocentimeters
    toinches
    tomeasure
    tomicrometers
    tomillimeters
    topercentage
    topicas
    topixels
    topixelsx
    topixelsy
    topoints
    tosize
    tosizex
    tosizey


----------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages