Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
10Activity
×
0 of .
Results for:
No results containing your search query
P. 1
QTP Hackers - How to decrypt encrypted password

QTP Hackers - How to decrypt encrypted password

Ratings: (0)|Views: 2,583|Likes:
Published by api-19840982

More info:

Published by: api-19840982 on Nov 30, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOC, TXT or read online from Scribd
See More
See less

03/18/2014

pdf

text

original

QTP Hackers - How to decrypt encrypted (SetSecure'd)
password

I will explain you how to decode an encoded password in QTP.
Using QuickTest Professional and this approach, you can hack email accounts
published on Internet. Are you interested? :) So, continue reading this QTP
tutorial for details.

I've just recorded a simple script, which signs intoGm ail. It:

1. Fills 'Username' in
2. Fills 'Password' in
3. Clicks 'Sign in' button

And the recorded QTP script is:
Browser("Gmail").Page("Gmail").WebEdit("Email").Set
"someaccount"
Browser("Gmail").Page("Gmail").WebEdit("Passwd").SetSecure
"493844a99bee0e3ab952f2e867fd08e3"
Browser("Gmail").Page("Gmail").WebButton("Sign in").Click

As you can see, QTP script is simple enough.
I've set"s ome accoun t " to 'Username' editbox. But what about 'Password'
editbox? What value have I filled in?

QTP encrypted the password usingSet Se cure method:
WebEdit("Passwd").SetSecure
"493844a99bee0e3ab952f2e867fd08e3"
QTP Help:
TheSet Se cure method is recorded when a password or other secure text is
entered.
The text is encrypted while recording and decrypted during the test run.
How to know the initial text?
There is one trick. ApplySe t Se c ure method to non-secured edit box!
Instead of this QTP code:
Browser("Gmail").Page("Gmail").WebEdit("Email").Set
"someaccount"
Browser("Gmail").Page("Gmail").WebEdit("Passwd").SetSecure
"493844a99bee0e3ab952f2e867fd08e3"
I run this QTP script:
Browser("Gmail").Page("Gmail").WebEdit("Email").SetSecure
"493844a99bee0e3ab952f2e867fd08e3"
And the result of this QTP script is:
Yes,"mypwd " was encrypted to
"493844a99bee0e3ab952f2e867fd08e3". So , "mypwd" is thepass w ord
I filled!
So, this is an easy way to decrypt an encrypted password in QTP.
By the way, there are two ways how to decrypt a password in QuickTest
Professional:
1.UsingCrypt .E n crypt
str = "Some Text"
encrStr = Crypt.Encrypt(str)
'encrStr' will contain an encrypted text.

Activity (10)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
anshulkharub liked this
anshulkharub liked this
Vimakar Raj liked this
jakiechan liked this
raj.veggalam liked this
brokenwingsfairy liked this
Vishnu V Potti liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->