Skip to content

Commit

Permalink
fix bins
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Nov 27, 2024
1 parent 715d13f commit c647df6
Show file tree
Hide file tree
Showing 48 changed files with 16 additions and 48 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ int challenge(int argc, char **argv, char **envp)
puts("- the canary is disabled, otherwise you would corrupt it before");
puts("overwriting the return address, and the program would abort.");

printf("Payload size: ");
scanf("%lu", &size);
size = 4096;

printf("You have chosen to send %lu bytes of input!\n", size);
printf("This will allow you to write from %p (the start of the input buffer)\n", input);
Expand Down Expand Up @@ -215,5 +214,4 @@ int main(int argc, char **argv, char **envp)

challenge(argc, argv, envp);

printf("### Goodbye!\n");
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c647df6

Please sign in to comment.