mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2025-06-24 04:05:03 +07:00
update 5.3.1_angr
This commit is contained in:
19
src/others/5.3.1_angr/example.c
Normal file
19
src/others/5.3.1_angr/example.c
Normal file
@ -0,0 +1,19 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main() {
|
||||
int num = 0;
|
||||
scanf("%d", &num);
|
||||
|
||||
if (num > 50) {
|
||||
if (num <= 100) {
|
||||
printf("50 < num <= 100\n");
|
||||
} else {
|
||||
printf("100 < num\n");
|
||||
exit(1);
|
||||
}
|
||||
} else {
|
||||
printf("num <= 50\n");
|
||||
}
|
||||
}
|
||||
// gcc example.c
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import angr
|
||||
|
||||
project = angr.Project("entry_language", auto_load_libs=False)
|
@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
str_list = ["Dufhbmf", "pG`imos", "ewUglpt"]
|
||||
passwd = []
|
||||
for i in range(12):
|
Reference in New Issue
Block a user