Here is a quote:
var ie=WScript.createobject("InternetExplorer.Application");
var args = WScript.arguments;
var followme=http://www.google.com/;
if(args.length>0)
{
followme+=args(0);
}
ie.Navigate(" https://www.google.com/accounts/Login?continue="+followme );
SynchronizeIE();
var doc=ie.document;
doc.forms[0].Email.value=" [email protected] ";
doc.forms[0].Passwd.value="Password is written here";
//This is because the PersistentCookie checkbox is sometimes present and sometimes not.
if(doc.forms[0].PersistentCookie!=null)
{
doc.forms[0].PersistentCookie.checked=false;
}
doc.forms[0].submit();
SynchronizeIE();
ie.Visible=true;
//Wait for the IE operation to end.
function SynchronizeIE()
{
while(ie.Busy)
{
WScript.Sleep(100);
}
}
Assume that the file is saved as googleSpecific.js and stored in the %windir%system32 path, and a google.bat file with the following content is created and also placed in the %windir%system32 path.
@cls
@wscript %windir%system32googleSpecific.js %1 %2 %3 %4 %5 %6 %7 %8 %9
Then, execute the statement: go mail on the command line, and you can log in directly to your gmail .
Similar commands are:
Go notebook à scratch pad
http://flappy.cnblogs.com/archive/2006/07/09/446673.HTML
Go bookmarks à network favorites
. If you enter go directly without receiving any content, You will be logged in to the google.com homepage in your name. In addition, googleSpecific.js is best encrypted with screnc.exe. The encrypted file format is .jse, but even this does not guarantee that the password in the file will not be seen by others (scrdec can be decrypted). Please give us your suggestions for better confidentiality methods.