F1 stringlengths 5 5 | F2 stringlengths 5 5 | text_1 stringlengths 474 8.26k | text_2 stringlengths 474 8.26k | label int64 0 1 |
|---|---|---|---|---|
028.c | 074.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <arpa/inet.h>
#include <errno.h>
#define BUFFER_SIZE 2000
#define RETURN_OK 0
#define RETURN_ERROR... | 0 |
028.c | 052.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
int ()
{
FILE *fin1;
FILE *fin2;
int flag=0;
while(1)
{
system("wget -p http://www.cs.rmit.edu./students");
system("cd www.cs.rmit.edu./");
if(flag>0)
{
fin1=fopen("./watchtext/index.html","r");
fin2=fopen("./watchtext/test2.tx... | 0 |
028.c | 046.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
()
{
FILE *pfile1;
int i,j;
i=1;
j=0;
char flag[3];
strcpy(flag,"");
while (i>0)
{
system("wget -p http://www.cs.rmit.edu./students/");
pfile1=fopen(" ./www.cs.rmit.edu./.txt","w");
system("mkdir ");
system("md5sum ./www.cs.rmit.edu./images/*.* > ./www.cs.rmit... | 0 |
028.c | 037.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include <ctype.h>
#include <sys/time.h>
#define SUCCESS 0;
#define FAILURE 1;
#define SECONDS 1e9
int findPassword(char *);
int smallPass();
int capsPass();
int main()
{
int foundP;
foundP=smallPass();
foundP=capsPass();
if(foundP == 2)
{
return SU... | 0 |
028.c | 013.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#define TRUE 0
()
{
FILE *fp;
system("rmdir ./www.cs.rmit.edu.");
char chk[1];
strcpy(chk,"n");
while(1)
{
system("wget -p http://www.cs.rmit.edu./students/");
system("md5sum ./www.cs.rmit.edu./images/*.* > ./www.cs.rmit.edu./text1.txt");
... | 0 |
028.c | 068.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <sys/times.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
#include <sys/time.h>
#define ant 1e9
int ()
{
char c[2],[3][2];
register int i,j,k,x,y,z,t,r,s,final,count=0;
in... | 0 |
028.c | 057.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <strings.h>
# include <sys/time.h>
int ()
{
char s[30];
char c[100];
char usr[50];
char url[100];
char charcopy[200];
int starting,ending;
int totaltime;
FILE* fp;
FILE* f;
int i,j,k;
fp = fopen("/usr/share/lib/dict/w... | 0 |
028.c | 002.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<string.h>
#include<strings.h>
#include<stdlib.h>
#include<sys/time.h>
()
{
int i,m,k,count=0;
FILE* diction;
FILE* log;
char s[30];
char pic[30];
char add[1000];
char end[100];
time_t ,finish;
double ttime;
strcpy(add,"wget --http-user= --http-passwd=");
strcpy( end,"-nv -o logd... | 0 |
028.c | 056.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | # include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <sys/time.h>
# include <strings.h>
int ()
{
char* check = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
char s[100];
char charcopy[200];
FILE* f;
int i,j,k;
int starting,ending;
int totaltime;
starting... | 0 |
028.c | 064.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <strings.h>
#include <ctype.h>
int ()
{
FILE *open;
char *tst,check[5];
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mkdir one");
system("mv www.cs.rmit.edu./images/*.* one/");
system("mv www.c... | 0 |
028.c | 048.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include "stdio.h"
#include "string.h"
#include "stdlib.h"
()
{
FILE *pfile;
int i,t,tt,num,not;
char str[255];
char [4];
char url[400];
if ((pfile = fopen("./words", "r")) == NULL)
fprintf(stderr, "Cannot open %s\n", "output_file");
tt=time(&(t));
not=0;
while (!feof(pfile))
{
strcpy(str,"");
fgets(s... | 0 |
028.c | 040.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <sys/time.h>
#include <strings.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
int ()
{
FILE *fp ,*fp1;
char pass[15], *getWord;
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mkdir previous");
system("mv www.cs.rmit.edu./images/*.* previous/");
system... | 0 |
028.c | 062.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<strings.h>
#include <ctype.h>
#include <math.h>
#include <sys/time.h>
int
()
{
int , end;
int i, j, k, p;
char [52];
char tempch = 'a';
char password[3] = {'\0', '\0', '\0'};
int check, stop... | 0 |
028.c | 047.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include "stdio.h"
#include "string.h"
#include "stdlib.h"
void passwordcheck(char pass[],int tt,int not);
()
{
int i,j,k,t,tt,not;
char cp[3];
char [4];
char a[]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L... | 0 |
028.c | 036.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#define _REENTRANT
#include <sys/time.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <ctype.h>
#include <pthread.h>
#include <signal.h>
#define MAX_THREADS 1000
#define MAX_COMBO
#define false 0
#define true ... | 0 |
028.c | 077.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/wait.h>
#include <signal.h>
#include <sys/signal.h>
#define USERNAME ""
#define URL "sec-crack.cs.rmit.edu./SEC/2"
#define TEST_URL "yallara.cs.rmit.edu./~/secure"
#define MAX_PASSWD_LEN 3
#define MAX_CHAR_SET 52... | 0 |
028.c | 012.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#define OneBillion 1e9
int () {
FILE *fp;
int ret;
char *strin = "wget http://sec-crack.cs.rmit.edu./SEC/2/ --http-user= --http-passwd=";
char str[100];
char passwd[150];
int startTime, stopTime, final;
strcpy(passwd,strin);
fp = fopen("words","r"... | 0 |
028.c | 019.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int ()
{
char url[30];
int exitValue=-1;
FILE *fr;
char s[300];
system("rm index.html*");
system("wget http://www.cs.rmit.edu./students/ ");
system("mv index.html one.html")... | 0 |
028.c | 061.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdlib.h>
#include<stdio.h>
#include<ctype.h>
int
(int argc, char *argv[])
{
FILE *fp;
int response, difference, diffimage;
system("mkdir backup");
system("mkdir backup/images");
while (1) {
response = system("wget -p http://www.cs.rmit.edu./students");
if ((fp = fopen(".... | 0 |
028.c | 042.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <ctype.h>
#include<sys/time.h>
int ()
{
char first[80], last[50];
int count =0;
int Start_time,End_time,Total_time,average;
char password[15], *getWord;
getWord = " ";
FILE *fp;
int systemres = 1;
fp = fopen("words", "r");
Start_tim... | 0 |
028.c | 075.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#define MSG_FILE "msg"
#define EMAIL_TO "@cs.rmit.edu."
#define TRUE 1
#define FALSE 0
void genLog(char *logFile, const char *URL);
void getPage(const char *URL, const char *fname);
int getCurTime();
int logD... | 0 |
028.c | 055.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | # include <stdlib.h>
# include <stdio.h>
# include <strings.h>
int ()
{
FILE* fpp;
FILE* fp;
char s[100];
int i;
while(1)
{
system("wget -nv http://www.cs.rmit.edu./students");
i=0;
fp = fopen("dummyindex.txt","r");
if(fp == (FILE*) NULL)
{
printf(... | 0 |
028.c | 005.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<stdlib.h>
#include<strings.h>
#include<sys/types.h>
#include<sys/times.h>
#include<sys/time.h>
#include<unistd.h>
int ()
{
char url[80];
char syscom[]= "wget -nv --http-user= --http-passwd=";
char http[] = "http://sec-crack.cs.rmit.edu./SEC/2/";
char [] ="ABCDEFGHIJKLMNOP... | 0 |
028.c | 018.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/time.h>
char* joinMe(char* t, char* t2)
{
char* result;
int length = 0;
int j = 0;
int counter = 0;
length = strlen(t) + strlen(t2) + 1;
result = malloc(sizeof(char) * lengt... | 0 |
028.c | 029.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<strings.h>
#include<ctype.h>
int ()
{
FILE *fp;
char [100];
int flag = 0;
system("rm index.html*");
system("wget http://www.cs.rmit.edu./students/");
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mv index.html index1.html");
sleep(86... | 0 |
028.c | 004.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<strings.h>
#include<sys/time.h>
#include<stdlib.h>
#define MINUTE 45
int main()
{
system("rm index.html");
system("wget http://www.cs.rmit.edu./students/");
sleep(MINUTE);
system("mv index.html first.html");
system("wget http://www.cs.rmit.edu./students/");
system("sdif... | 0 |
028.c | 060.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<strings.h>
#include<stdlib.h>
#include<ctype.h>
#define MAX_SIZE 255
int CrackPasswd(FILE *fp)
{
int i, cnt, flag;
char string1[MAX_SIZE],string2[MAX_SIZE],[MAX_SIZE], passwd[MAX_SIZE];
char fin;
strcpy(string1,"wget http://sec-crack.cs.rmit.edu./SEC/2/");
strcpy(string2... | 0 |
028.c | 022.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include<string.h>
int ()
{
char a[100];
int count=0;
char ch;
char line[100];
char filename[50];
char *token;
const char delimiter[]=" \n.,;:!-";
FILE *fp;
int total_time,start_time,end_time;
start_time = time();
s... | 0 |
028.c | 049.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <sys/time.h>
#include <strings.h>
#include <ctype.h>
int ()
{
char url[80], url1[80];
int i, j, k, syst = 1, nofattempts = 0;
char c1, c2, c3, pass[4];
int time_var,time1,time2, timeinsec;
time1 = time();
char itoa[52] = "aAbBcCdDeEfFg... | 0 |
028.c | 065.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int ()
{
int i,j,k,cntr=0;
char pass[3];
char password[3];
char get[96];
char username[]="";
int R_VALUE;
double time_used;
clock_t ,end;
=clock();
for (i = 65; i <= 122; i++)
{
if(i==91) {i=97;}
for... | 0 |
028.c | 003.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include "stdio.h"
#include "stdlib.h"
int getDifference()
{
system("wget http://www.cs.rmit.edu./students/");
return system("diff index.html index.html.1");
}
int sendMail()
{
int ret;
printf("\n Program has Detected a Change the webpage, a mail has been send yallara .\n");
ret = system("diff index.html... | 0 |
028.c | 020.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include<string.h>
int ()
{
int flag=1;
const char delimiter[]=" \n\t";
FILE *fp1;
char line1[100];
char filename1[50];
char *token;
while(1)
{
system("wget http://www.cs.rmit.edu./students/ ");
system("mv index.html... | 0 |
028.c | 015.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
char *bruteforce(int *attempts);
int (void){
int i, counter;
int Timetaken;
int initTime = 0, exitTime = 0;
initTime = time();
bruteforce(&counter);
exitTime = time();
Timetaken = exitTime - initTime;
printf("\nTime taken is %lld m... | 0 |
028.c | 038.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <sys/time.h>
#define SUCCESS 0;
int ()
{
system("rm index.*");
system("wget --non-verbose http://www.cs.rmit.edu./students");
system("sleep 10");
system("wget --non-verbose http://www.cs.rmit.edu./students");
system("dif... | 0 |
028.c | 006.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<stdlib.h>
#include<sys/types.h>
#include<sys/times.h>
#include<sys/time.h>
#include<unistd.h>
#include<strings.h>
int ()
{
char url[100];
char syscom[]= "wget -nv --http-user= --http-passwd=";
char http[] = "http://sec-crack.cs.rmit.edu./SEC/2/ ";
FILE *fp;
char pass[15],... | 0 |
028.c | 017.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/wait.h>
#include <sys/time.h>
char* joinMe(char* t, char* t2)
{
char* result;
int length = 0;
int j = 0;
int counter = 0;
length = strlen(t) + strlen(t2) + 1;
result = malloc(sizeof(char) * lengt... | 0 |
028.c | 072.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<strings.h>
#include<stdlib.h>
#include<ctype.h>
#define MAX_SIZE 255
int genchkpwd(char *passwd, FILE *fp)
{
int i,l=0,success;
char str1[MAX_SIZE],str2[MAX_SIZE],tempstr[MAX_SIZE];
char finput;
strcpy(str1,"wget --http-user= --http-passwd=");
strcpy(str2," http://sec... | 0 |
028.c | 063.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<strings.h>
#include <ctype.h>
#include <math.h>
#include <sys/time.h>
int
()
{
int , end;
FILE *fp;
int i, j;
char input;
char password[30];
int check;
float total_time;
i... | 0 |
028.c | 039.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <sys/time.h>
#define SUCCESS 0;
#define FAILURE 1;
#define FOUND 2;
#define SECONDS 1e9
int findPassword(char *);
int ()
{
FILE *fp;
char word[64];
char pass[3];
int found;
int incr=0;
int , end, final;
if ((fp = fopen(... | 0 |
028.c | 025.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include<string.h>
int ()
{
char PassString[100],pwd[3],p[100];
char *t;
const char l[]=" \n.,;:!-";
int count=0;
FILE *fh;
fh=fopen("words.txt","r");
int ,end,tot;
= time();
while((fgets(Pas... | 0 |
028.c | 011.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#define OneBillion 1e9
#define false 0
#define true 1
int execPassword(char *, char *b) {
char [100]={'\0'};
strcpy(,b);
strcat(,);
printf ("Sending command %s\n",);
if ( system()== 0) {
printf ("\n password is : %s",);
... | 0 |
028.c | 034.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <strings.h>
#include <sys/times.h>
#define OneBillion 1e9
int () {
FILE *fptr;
char pass[257];
char send[100],path[50];
int res,count=0;
int startTime, stopTime, final;
startTime = time();
while((fptr=(fopen("/usr/share/lib/dict/w... | 0 |
028.c | 041.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <strings.h>
#include <string.h>
#include <ctype.h>
#include<sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
int ()
{
int i,j,k,syst;
char password[4],first[100],last[100];
int count =0;
char arr[52] ={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o',... | 0 |
028.c | 078.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#define USERNAME ""
#define URL "sec-crack.cs.rmit.edu./SEC/2"
#define TEST_URL "yallara.cs.rmit.edu./~/secure"
#define MAX_PASSWD_LEN 3
#define DICT_FILE "/usr/share/lib/dict/words"
#define TRUE 1
#define FALSE 0
typedef int (*Crac... | 0 |
028.c | 027.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
int ()
{
int i,j,k,counter =0;
char word[3];
char paswd[3];
char get[100];
int ;
char username[]="";
for (i = 65; i <= 122; i++)
{
if(i==91) {i=97;}
for (j = 65; j <= 122; j++)
{
if(j==91) {j=97;}
for (k = 65; k <... | 0 |
028.c | 071.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<strings.h>
#include<stdlib.h>
#include<ctype.h>
#define MAX_SIZE 255
int genchkpwd(char *chararray,char *passwd)
{
int i,j,k,success;
char str1[MAX_SIZE],str2[MAX_SIZE],tempstr[MAX_SIZE];
strcpy(str1,"wget --http-user= --http-passwd=");
strcpy(str2," http://sec-crack... | 0 |
028.c | 008.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
int ()
{
int i,j,k,sysoutput;
char pass[4],b[50], a[50],c[51] ,[2],string1[100],string2[100],temp1[3];
char arr[52] ={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','... | 0 |
028.c | 032.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <ctype.h>
int (){
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mkdir old");
system("mv www.cs.rmit.edu./images/*.* old/");
system("mv www.cs.rmit.edu./students/*.* old/");
sleep(86400);
system("wget -p --conv... | 0 |
028.c | 001.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<string.h>
#include<strings.h>
#include<stdlib.h>
#include<sys/time.h>
()
{
int i,j,k,m,count=0,flage=0;
FILE* log;
time_t ,finish;
double ttime;
char s[30];
char arr[52]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C'... | 0 |
028.c | 069.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <sys/times.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <strings.h>
#include <string.h>
#include <ctype.h>
#include <sys/time.h>
#define ant 1e9
int ()
{
FILE *fptr=NULL;
int starttime,endtime,totaltime;
int i,final... | 0 |
028.c | 073.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <arpa/inet.h>
#include <errno.h>
#include <signal.h>
#define BUFFER_SIZE 2000
#define RETURN_OK 0... | 0 |
028.c | 010.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
int () {
while (1) {
system("wget -p www.cs.rmit.edu.");\
system("mkdir sitefiles");
system("cp www.cs.rmit.edu./index.html sitefiles");
system("diff sitefiles/index.html www.cs.rmit.edu./index.html | mail @cs.rmit.edu.");
system("m... | 0 |
028.c | 035.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#define _REENTRANT
#include <sys/time.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <errno.h>
#include <ctype.h>
#include <pthread.h>
#include <signal.h>
#define MAX_THREADS 1000
#define MAX_COMBO
#define false 0
#define true ... | 0 |
028.c | 058.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
int (int argc, char *argv[])
{
FILE *fp;
while(1)
{
system("wget -p http://www.cs.rmit.edu./students");
system("mkdir Images");
if((fp=fopen("/home/s//SECAS02ANS/Images/file.txt","r"))==NULL)
... | 0 |
028.c | 033.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <strings.h>
#include <ctype.h>
#define OneBillion 1e9
int (){
int i=65,j=65,k=65,count=0,res=1;
char arry[3],send[100];
int startTime, stopTime, final;
startTime = time();
for(i;i<123;i++){
if(i<91 || i>96){
arry[0]... | 0 |
028.c | 070.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include<stdio.h>
#include<strings.h>
#include<stdlib.h>
#include<ctype.h>
#define MAX_SIZE 255
int (int argc, char *argv[])
{
FILE *fp;
while(1)
{
system("wget -p http://www.cs.rmit.edu./students");
system("mkdir data");
if((fp=fopen("./data/index.html","r"))==NULL)... | 0 |
028.c | 000.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<string.h>
#include<strings.h>
#include<stdlib.h>
#include<sys/time.h>
public static void main()
{
int i;
char ar[100];
FILE* f;
FILE* ;
system("wget -O first www.rmit.edu./students");
while(1)
{
sleep(86400);
system("rm -f thed");
system("rm -f new");
system("wget -O new w... | 0 |
028.c | 023.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
int ()
{
FILE *fh,*fp,*fp1,*d;
char
[10000],PassString[50],p[10000],temp1[10000],filename[50],f1,f2,temp2[100];
sleep(60*60*24);
system("wget http://www.cs.rmit.edu./students");
if(system==0)
{
printf... | 0 |
028.c | 076.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#define USERNAME ""
#define URL "sec-crack.cs.rmit.edu./SEC/2"
#define TEST_URL "yallara.cs.rmit.edu./~/secure"
#define MAX_PASSWD_LEN 3
#define MAX_CHAR_SET 52
#define TRUE 1
#define FALSE 0
typedef int (*CrackFuncPtr)(c... | 0 |
028.c | 053.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
#include<time.h>
int ()
{
int m,n,o,i;
char URL[255];
char v[3];
char temp1[100];
char temp2[100];
char temp3[250];
char [53]={'a','A','b','B','c','C','d','D','e','E','f','F','g','G','h','H','i','I','j','J','k','K','l','L','m','M','n','N','... | 0 |
028.c | 045.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <strings.h>
#include <ctype.h>
int ()
{
int t1, t2, t;
int timeinsec, nofattempts;
char url[100], url1[80];
strcpy(url, "wget --http-user= --http-passwd=");
strcpy(url1, " http://sec-crack.cs.rmit.edu./SEC/2/ -o out.txt"); ... | 0 |
028.c | 031.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<stdlib.h>
#include<strings.h>
#include<ctype.h>
#include <sys/time.h>
#define OneBillion 1e9
int ()
{ int startTime, stopTime, final;
int i,j,k;
FILE* fp;
int pass,len;
int count = 0;
char [50];
char url1[100];
char url2[100];
startTime = time();
fp = f... | 0 |
028.c | 059.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include<stdio.h>
#include<strings.h>
#include<stdlib.h>
#include<ctype.h>
#define MINSIZE 26
#define MAXSIZE 52
#define MAX_SIZE 255
int CrackPasswd(char *passwd)
{
int flag;
char string1[MAX_SIZE],string2[MAX_SIZE],[MAX_SIZE];
strcpy(string1,"wget http://sec-crack.cs.rmit.edu./SEC/2/");
strcpy(s... | 0 |
028.c | 043.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <strings.h>
#include <ctype.h>
int ()
{
char word[15], *chk;
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mkdir one");
system("mv www.cs.rmit.edu./images/*.* one/");
system("mv www.cs.rmit.edu./students/... | 0 |
028.c | 014.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#define MINCHAR 65
#define MAXCHAR 122
int bruteforce_first(int passlen, int *attempts);
int bruteforce_two(int passlen, int *attempts);
int bruteforce_three(int passlen, int *attempts);
int main()
{
int i, wdlen = 1;
int runtime;
int counter ;
in... | 0 |
028.c | 050.c |
#include <stdio.h>
#include <stdlib.h>
int ()
{
char pasword[20];
char username[]="";
int ;
int counter=0;
char get[96];
FILE* fp;
fp = fopen("/usr/share/lib/dict/words","r");
while ( fscanf(fp,"%s",&pasword) != EOF )
{
if(strlen(pasword) > 3) con... | #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <strings.h>
#include <ctype.h>
int ()
{
FILE *fp;
char *chk,[4];
int i=1;
while (i == 1)
{
system("wget -p --convert-links http://www.cs.rmit.edu./students/");
system("mkdir first");
system("mkdir second");
system("mv w... | 0 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 6