33 lines
483 B
C
33 lines
483 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
|
|
char c[80];
|
|
|
|
void m(void)
|
|
{
|
|
time_t current_time;
|
|
|
|
current_time = time((time_t *)0x0);
|
|
printf("%s - %d\n", c, current_time);
|
|
return;
|
|
}
|
|
|
|
int main(int ac, char **av)
|
|
{
|
|
int *s1 = malloc(8);
|
|
s1[0] = 1;
|
|
s1[1] = malloc(8);
|
|
|
|
int *s2 = malloc(8);
|
|
s2[0] = 2;
|
|
s2[1] = malloc(8);
|
|
|
|
strcpy(s1[1], av[1]);
|
|
strcpy(s2[1], av[2]);
|
|
fgets(c, 68, fopen("/home/user/level8/.pass", "r"));
|
|
puts("~~");
|
|
return 0;
|
|
}
|