Skip to content

Instantly share code, notes, and snippets.

#define _XOPEN_SOURCE
#include<unistd.h>
#include<stdio.h>
#include<string.h>
int main(int num,char *passw[])
{
char passwd[10];
strcpy(passwd,passw[1]);
char salt[13]="$6$srH15BRC$";
char *a=crypt(passwd,salt);