it is my error, the data is a sha string and it is not possible to get
the string back, unless you use rainbowtables or something of the sort.
Kent Johnson wrote:
On Mon, Feb 16, 2009 at 8:12 AM, Norman Khine wrote:
Hello,
Can someone point me in the right direction. I would like to return th
On Mon, Feb 16, 2009 at 8:12 AM, Norman Khine wrote:
> Hello,
> Can someone point me in the right direction. I would like to return the
> string for the following:
>
> Type "help", "copyright", "credits" or "license" for more information.
import base64, urllib
data = 'hL/FGNS40fjoTnp2zIq
On Tue, Feb 17, 2009 at 1:24 PM, Norman Khine wrote:
> Thank you, but is it possible to get the original string from this?
What do you mean by the original string Norman?
Look at these definitions:
Quoted String:
In the different parts of the URL, there are set of characters, for
e.g. space cha
On Tue, Feb 17, 2009 at 08:54, Norman Khine wrote:
> Thank you, but is it possible to get the original string from this?
You mean something like this?
>>> urllib.quote('hL/FGNS40fjoTnp2zIqq73reK60=\n')
'hL/FGNS40fjoTnp2zIqq73reK60%3D%0A'
Greets
Sander
___
Thank you, but is it possible to get the original string from this?
Sander Sweers wrote:
On Mon, Feb 16, 2009 at 14:12, Norman Khine wrote:
Type "help", "copyright", "credits" or "license" for more information.
import base64, urllib
data = 'hL/FGNS40fjoTnp2zIqq73reK60%3D%0A'
data = urllib.unq
On Mon, Feb 16, 2009 at 14:12, Norman Khine wrote:
> Type "help", "copyright", "credits" or "license" for more information.
import base64, urllib
data = 'hL/FGNS40fjoTnp2zIqq73reK60%3D%0A'
data = urllib.unquote(data)
print base64.decodestring(data)
> ???Ը???Nzv̊??z?+?
>
>
Hello,
Can someone point me in the right direction. I would like to return the
string for the following:
Type "help", "copyright", "credits" or "license" for more information.
>>> import base64, urllib
>>> data = 'hL/FGNS40fjoTnp2zIqq73reK60%3D%0A'
>>> data = urllib.unquote(data)
>>> print base