using the "value" command and passing variables
Posted: Mon Jun 17, 2013 11:43 pm
Hi everyone,
I have just spent a few hours trying to solve this and for the life of me I cannot. In my main stack I have a function called "UMP_HEXDigest"
it converts 20 bit sha1digest values to a normal string.
It works fine on its own.
But to when I try to envoke the function from elsewhere using the VALUE command, it just don't play nice. Its not allowing me to use a variablename as a parameter for the function. When it works, it returns the LITERAL value of the variable name and not the content of the variable. I've played with the syntax and I can't seem to get it.
Seems to me that is a limitation of the VALUE command.
PS ... I am taking "it" from ask password, putting it into a variable and then trying to hash it using the function.
Is there a workaround for this?
I have just spent a few hours trying to solve this and for the life of me I cannot. In my main stack I have a function called "UMP_HEXDigest"
it converts 20 bit sha1digest values to a normal string.
It works fine on its own.
But to when I try to envoke the function from elsewhere using the VALUE command, it just don't play nice. Its not allowing me to use a variablename as a parameter for the function. When it works, it returns the LITERAL value of the variable name and not the content of the variable. I've played with the syntax and I can't seem to get it.
Seems to me that is a limitation of the VALUE command.
PS ... I am taking "it" from ask password, putting it into a variable and then trying to hash it using the function.
Is there a workaround for this?