mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Documentation changes.
This commit is contained in:
parent
06c36d283a
commit
88e47b463a
@ -31,11 +31,6 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
Provides commands available only on Unix.
|
Provides commands available only on Unix.
|
||||||
|
|
||||||
Commands include:
|
|
||||||
errno
|
|
||||||
progstats
|
|
||||||
crypt
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from baseplugin import *
|
from baseplugin import *
|
||||||
@ -135,7 +130,9 @@ class Unix(callbacks.Privmsg):
|
|||||||
"""<password> [<salt>]
|
"""<password> [<salt>]
|
||||||
|
|
||||||
Returns the resulting of doing a crypt() on <password> If <salt> is
|
Returns the resulting of doing a crypt() on <password> If <salt> is
|
||||||
not given, uses a random salt.
|
not given, uses a random salt. If running on a glibc2 system,
|
||||||
|
prepending '$1$' to your salt will cause crypt to return an MD5sum
|
||||||
|
based crypt rather than the standard DES based crypt.
|
||||||
"""
|
"""
|
||||||
def makeSalt():
|
def makeSalt():
|
||||||
s = '\x00'
|
s = '\x00'
|
||||||
|
Loading…
Reference in New Issue
Block a user