/    Sign up×
Community /Pin to ProfileBookmark

HTML Form to VBScript help..

Could someone please help?
I have an hta application which calls a vbscript to perform wmi queries on remote servers. The servers also are on multiple untrusted domains, so I must pass security credentials within the vbscript for connectivity. This works fine when using inputbox’s but the issue is that the password is displayed as clear text. So I have resorted to trying to use a textbox within an html form within the HTA app.

Basically I have four fields in the form (Servername, DomainName,UserName, Password), all I want is for these four fields to be defined to a corresponding variable ie. servername = strComputer
“strComputer” is defined in the vbscript as the server to connect to.
I am not looking to pass the form values to a cgi or perl script… merely define all of the variables within the same hta app.

Anybody have any ideas on this?

Thanks

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @vbrookie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...