Exploit databaseDownload repository ZIP
GH-5c1955e48dd59e7bc6e41f6788987982
0xdecae/turut
Sources for CVE-2016-5195
80 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files7
0xdecae/turutRevision a3c8d5bbc4c3
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
action/salt.c
Suggested starting fileC · 242 bytes#define _XOPEN_SOURCE
#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[]) {
const char *salt = "42";
const char *password = "";
char* hash;
hash = crypt(password, salt);
printf("Hash is %s\n", hash);
return 0;
}