diff --git a/README b/README deleted file mode 100644 index 1772dd2..0000000 --- a/README +++ /dev/null @@ -1,16 +0,0 @@ - _____ __ __ ___ _ _ __ ___ ___ ___ _ ____ ____ - / ___/| | | / _]| | | | / ] / \ | \ / _] | | / || \ -( \_ | | | / [_ | | | | / / | || \ / [_ _____ | | | o || o ) - \__ || _ || _]| |___ | |___ / / | O || D || _] || |___ | || | - / \ || | || [_ | || / \_ | || || [_|_____|| || _ || O | - \ || | || || || \ || || || | | || | || | - \___||__|__||_____||_____||_____|\____| \___/ |_____||_____| |_____||__|__||_____| - - -Collection of Shellcode Lab Sessions at from different cons the past years. Consists of PDF Slides and Example codes. - -x86_32 - This is the Shellcode Lab for IA-32 saying 32Bit Intel CPUs -x86_64 - This is the Shellcode Lab for IA-64 saying 64Bit Intel CPUs - -Cheers -dash diff --git a/README.md b/README.md index b86b763..c8dd6c6 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ -# Shellcode-Lab +# SHELLCODE-LAB + + _____ __ __ ___ _ _ __ ___ ___ ___ _ ____ ____ + / ___/| | | / _]| | | | / ] / \ | \ / _] | | / || \ +( \_ | | | / [_ | | | | / / | || \ / [_ _____ | | | o || o ) + \__ || _ || _]| |___ | |___ / / | O || D || _] || |___ | || | + / \ || | || [_ | || / \_ | || || [_|_____|| || _ || O | + \ || | || || || \ || || || | | || | || | + \___||__|__||_____||_____||_____|\____| \___/ |_____||_____| |_____||__|__||_____| + + +Collection of Shellcode Lab Sessions at from different cons the past years. Consists of PDF Slides and Example codes. + +x86_32 - This is the Shellcode Lab for IA-32 saying 32Bit Intel CPUs +x86_64 - This is the Shellcode Lab for IA-64 saying 64Bit Intel CPUs + +Cheers +dash diff --git a/x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf b/x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf index 597b736..8f1ffa9 100644 Binary files a/x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf and b/x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf differ diff --git a/x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldstyle.c b/x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldschool.c similarity index 59% rename from x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldstyle.c rename to x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldschool.c index 11e7d0b..bcf94f7 100644 --- a/x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldstyle.c +++ b/x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldschool.c @@ -2,9 +2,9 @@ unsigned char shellcode[] = ""; -main() +int main() { -printf("Shellcode Length: %d\n", sizeof(shellcode) - 1); +printf("Shellcode Length: %ld\n", sizeof(shellcode) - 1); int (*ret)() = (int(*)())shellcode; ret(); }