You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by oychw <xu...@gmail.com> on 2009/03/05 10:24:35 UTC

could me send message encrypted with 3DES in jmeter?

All:
   could me send message encrypted with 3DES in jmeter?
   
as following,the post data after "authenticator=" is encrypted with 3DES. I
wonder how I could change text to 3DES code in jemeter.

userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E


thanks!
-- 
View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by oychw <xu...@gmail.com>.
The encryption is just use linux command "gpg".

sebb-2-2 wrote:
> 
> On 09/03/2009, oychw <xu...@gmail.com> wrote:
>>
>> 
>> Authenticator=3DES(Random+“$”+EncryToken+”$”+UserID+”$”+STBID+”$”+IP+”$”+MAC+”$”+
>>  Reserved+ ”$”+ “CTC”),
> 
> But what actually does the encryption?
> 
> It does not look like a browser can do this.
> 
>>
>>  If we could use 3DES in Jmeter to encrypt , Sever can receive the
>> request ,
>>  otherwise , server should reject the request. the "EncryToken" is from
>>  server.
> 
> So the encryption depends on a prior request from the server?
> You'll need to extract and save this.
> 
>>  could we use BeanShell  to achieve it ?
> 
> If you can do it in Java, you can do it in BeanShell.
> 
>>  thanks!
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > What does the encryption normally?
>>  >
>>  > On 09/03/2009, oychw <xu...@gmail.com> wrote:
>>  >>
>>  >>  Yes,It‘s an HTTP POST request. but I need to attach a parameter
>>  >> encrypted by
>>  >>  3DES. userId is encrypted , authenticator is encrypted .
>>  >>
>>  >>
>>  >>
>>  >>  sebb-2-2 wrote:
>>  >>  >
>>  >>  > On 05/03/2009, oychw <xu...@gmail.com> wrote:
>>  >>  >>
>>  >>  >>  All:
>>  >>  >>    could me send message encrypted with 3DES in jmeter?
>>  >>  >>
>>  >>  >>  as following,the post data after "authenticator=" is encrypted
>> with
>>  >>  >> 3DES. I
>>  >>  >>  wonder how I could change text to 3DES code in jemeter.
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>
>> userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>>  >>  >>
>>  >>  >
>>  >>  > Is this an HTTP POST request?
>>  >>  >
>>  >>  > What are you trying to emulate?
>>  >>  >
>>  >>  >>  thanks!
>>  >>  >>
>>  >>  >> --
>>  >>  >>  View this message in context:
>>  >>  >>
>>  >>
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >> ---------------------------------------------------------------------
>>  >>  >>  To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  >>  For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>  >>  >>
>>  >>  >>
>>  >>  >
>>  >>  >
>> ---------------------------------------------------------------------
>>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  > For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>  >>  >
>>  >>  >
>>  >>  >
>>  >>
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406243.html
>>  >>
>>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>  --
>>
>> View this message in context:
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406554.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406654.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by sebb <se...@gmail.com>.
On 09/03/2009, oychw <xu...@gmail.com> wrote:
>
>  Authenticator=3DES(Random+“$”+EncryToken+”$”+UserID+”$”+STBID+”$”+IP+”$”+MAC+”$”+
>  Reserved+ ”$”+ “CTC”),

But what actually does the encryption?

It does not look like a browser can do this.

>
>  If we could use 3DES in Jmeter to encrypt , Sever can receive the request ,
>  otherwise , server should reject the request. the "EncryToken" is from
>  server.

So the encryption depends on a prior request from the server?
You'll need to extract and save this.

>  could we use BeanShell  to achieve it ?

If you can do it in Java, you can do it in BeanShell.

>  thanks!
>
>
>
>  sebb-2-2 wrote:
>  >
>  > What does the encryption normally?
>  >
>  > On 09/03/2009, oychw <xu...@gmail.com> wrote:
>  >>
>  >>  Yes,It‘s an HTTP POST request. but I need to attach a parameter
>  >> encrypted by
>  >>  3DES. userId is encrypted , authenticator is encrypted .
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > On 05/03/2009, oychw <xu...@gmail.com> wrote:
>  >>  >>
>  >>  >>  All:
>  >>  >>    could me send message encrypted with 3DES in jmeter?
>  >>  >>
>  >>  >>  as following,the post data after "authenticator=" is encrypted with
>  >>  >> 3DES. I
>  >>  >>  wonder how I could change text to 3DES code in jemeter.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>  >>  >>
>  >>  >
>  >>  > Is this an HTTP POST request?
>  >>  >
>  >>  > What are you trying to emulate?
>  >>  >
>  >>  >>  thanks!
>  >>  >>
>  >>  >> --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------
>  >>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >>
>  >>  >>
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406243.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406554.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by oychw <xu...@gmail.com>.
Authenticator=3DES(Random+“$”+EncryToken+”$”+UserID+”$”+STBID+”$”+IP+”$”+MAC+”$”+
Reserved+ ”$”+ “CTC”),


If we could use 3DES in Jmeter to encrypt , Sever can receive the request ,
otherwise , server should reject the request. the "EncryToken" is from
server.

could we use BeanShell  to achieve it ?
thanks!


sebb-2-2 wrote:
> 
> What does the encryption normally?
> 
> On 09/03/2009, oychw <xu...@gmail.com> wrote:
>>
>>  Yes,It‘s an HTTP POST request. but I need to attach a parameter
>> encrypted by
>>  3DES. userId is encrypted , authenticator is encrypted .
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > On 05/03/2009, oychw <xu...@gmail.com> wrote:
>>  >>
>>  >>  All:
>>  >>    could me send message encrypted with 3DES in jmeter?
>>  >>
>>  >>  as following,the post data after "authenticator=" is encrypted with
>>  >> 3DES. I
>>  >>  wonder how I could change text to 3DES code in jemeter.
>>  >>
>>  >>
>>  >>
>> userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>>  >>
>>  >
>>  > Is this an HTTP POST request?
>>  >
>>  > What are you trying to emulate?
>>  >
>>  >>  thanks!
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406243.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406554.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by sebb <se...@gmail.com>.
What does the encryption normally?

On 09/03/2009, oychw <xu...@gmail.com> wrote:
>
>  Yes,It‘s an HTTP POST request. but I need to attach a parameter encrypted by
>  3DES. userId is encrypted , authenticator is encrypted .
>
>
>
>  sebb-2-2 wrote:
>  >
>  > On 05/03/2009, oychw <xu...@gmail.com> wrote:
>  >>
>  >>  All:
>  >>    could me send message encrypted with 3DES in jmeter?
>  >>
>  >>  as following,the post data after "authenticator=" is encrypted with
>  >> 3DES. I
>  >>  wonder how I could change text to 3DES code in jemeter.
>  >>
>  >>
>  >> userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>  >>
>  >
>  > Is this an HTTP POST request?
>  >
>  > What are you trying to emulate?
>  >
>  >>  thanks!
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406243.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by oychw <xu...@gmail.com>.
Yes,It‘s an HTTP POST request. but I need to attach a parameter encrypted by
3DES. userId is encrypted , authenticator is encrypted .


sebb-2-2 wrote:
> 
> On 05/03/2009, oychw <xu...@gmail.com> wrote:
>>
>>  All:
>>    could me send message encrypted with 3DES in jmeter?
>>
>>  as following,the post data after "authenticator=" is encrypted with
>> 3DES. I
>>  wonder how I could change text to 3DES code in jemeter.
>>
>> 
>> userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>>
> 
> Is this an HTTP POST request?
> 
> What are you trying to emulate?
> 
>>  thanks!
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22406243.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: could me send message encrypted with 3DES in jmeter?

Posted by sebb <se...@gmail.com>.
On 05/03/2009, oychw <xu...@gmail.com> wrote:
>
>  All:
>    could me send message encrypted with 3DES in jmeter?
>
>  as following,the post data after "authenticator=" is encrypted with 3DES. I
>  wonder how I could change text to 3DES code in jemeter.
>
>  userId=654321&authenticator=F6C7EAAD9507804DAAF4B332A6DF9FD39DFB1AE66D5C76B75D3C081185330245DE8D07AA66C494821E7412329308A6BBA4CEFF9467772625AE8C42FAEF2BC77BD106A2A699884ED20702D1CD4B7096EA78218A859713E7050E077C0D7E20C2E9BE564CF58B151875E4E
>

Is this an HTTP POST request?

What are you trying to emulate?

>  thanks!
>
> --
>  View this message in context: http://www.nabble.com/could-me-send-message-encrypted-with-3DES-in-jmeter--tp22347958p22347958.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org