18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
is it possible to encrypt sahi script and run
Dear Sahi Team/ Users,
is it possible to encrypt sahi script and run the encrypted script in sahi tool ?
please let me know, is it possible ?
its an urgent, pls let me know as soon as possible
thank you
is it possible to encrypt sahi script and run the encrypted script in sahi tool ?
please let me know, is it possible ?
its an urgent, pls let me know as soon as possible
thank you
Comments
example:
obfuscated function
function e7f4f5b9a($83f5359633f99ec84a9f6562335942ae,$eb5c1e707c23eebce3269014f8104829,$e7f4f5b9aac2feabd6cd24085cbbf3f5){
var $eb5c1e7O7c23eebce3269014f8104829="";
var $83t5359633f99ec84a9f6562335942ae=$83f5359633f99ec84a9f6562335942ae.split(".");
while ($e7f4f5b9aac2feabd6cd24085cbbf3f5++ <= $eb5c1e707c23eebce3269014f8104829) {
if($eb5c1e7O7c23eebce3269014f8104829!=""){
$eb5c1e7O7c23eebce3269014f8104829=$eb5c1e7O7c23eebce3269014f8104829+String.fromCharCode($83t5359633f99ec84a9f6562335942ae[$e7f4f5b9aac2feabd6cd24085cbbf3f5]);
}
if($eb5c1e7O7c23eebce3269014f8104829==""){
$eb5c1e7O7c23eebce3269014f8104829=String.fromCharCode($83t5359633f99ec84a9f6562335942ae[$e7f4f5b9aac2feabd6cd24085cbbf3f5]);
}}
return $eb5c1e7O7c23eebce3269014f8104829;
}
normal function
function DiripOri($ip,$vari,$i){
var $ret=0;
var $valor=$ip.split(".");
while ($i++ <= $vari) {
if($ret!=0){
$ret=$ret+String.fromCharCode($valor[$i]);
}
if($ret==0){
$ret=String.fromCharCode($valor[$i]);
}
}
return $ret;
}
Good Luck
thanks for your reply,
but my doubt is how is it possible to execute Javascript code with encryption
Below is the original and encryption code
Original Code
Encrypted Code