Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Find and replace MD5 hash from file

by philipbailey (Chaplain)
on Jun 29, 2011 at 20:36 UTC ( #912032=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Find and replace MD5 hash from file
in thread Find and replace MD5 hash from file

This is the format of adroc's output from "makepasswd": "$1$" + base64-encoded string (a salt) + "$" + another base64-encoded string (the hashed password). No quotes there.

The source for makepasswd on my system is available here: http://packages.debian.org/lenny/makepasswd. After examining that code, I can't see anything that disagrees with what I said. And this is a standard format, so some other "makepasswd" should produce the same output.

(Updates made to the text of this node for clarity.)


Comment on Re^5: Find and replace MD5 hash from file
Re^6: Find and replace MD5 hash from file
by ikegami (Pope) on Jun 29, 2011 at 20:40 UTC

    And? Did you actually read what I posted? I told him he would have to quote single quote if there's a possibility they are used. Nothing you are saying contradicts that.

    In fact, you are trying to chastise me for mentioning extra work might be needed when you don't even know that the extra work isn't needed. ("I believe this is the format").

    If you want to point out that the extra work isn't needed in this circumstance, fine. But you haven't done that yet.

      I'm saying I have domain knowledge of the format, and that it never contains quotes. I also gave you a URL providing the makepasswd code as evidence. Have you read that?

        I'm saying I have domain knowledge of the format, and that it never contains quotes.

        Thanks for the info.

        also gave you a URL providing the makepasswd code as evidence. Have you read that?

        Why would I? It wouldn't support or contradict anything you or I said.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-07-29 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls