├── README.md ├── x86_32 ├── 0x1_SyscallBasics │ ├── 0x1_Shellcode-Lab_32Bit_Basics.pdf │ └── Example_Code │ │ ├── adduser_etc_passwd.asm │ │ ├── ascii_converter.py │ │ ├── ascii_converter2.py │ │ ├── bad_setuid_shell.asm │ │ ├── chmod_shadow_0bytes.asm │ │ ├── chmod_shadow_no0.asm │ │ ├── crypt_des_tool.py │ │ ├── shell.c │ │ ├── skeleton_mmap.c │ │ └── skeleton_oldschool.c └── 0x2_NetworkShells │ ├── 0x2_ShellcodeLab_32Bit_NetworkShells.pdf │ ├── bindshell_tcp │ ├── bindtcp.asm │ ├── build_x86.sh │ └── testit.c │ └── reverseshell_tcp │ ├── build_x86.sh │ ├── revtcp.asm │ └── testit.c └── x86_64 ├── Example_Code ├── 8bit.asm ├── byte_placement_r10.asm ├── byte_placement_rax.asm ├── clear_register.asm ├── execve.asm ├── execve_setuid.asm ├── exit.asm ├── exit_nulls.asm ├── kill.asm ├── kill_noexit.asm ├── push.asm ├── push_mov.asm ├── skeleton.c └── xchg.asm └── Shellcode-Lab64_0x01.pdf /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/README.md -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/0x1_Shellcode-Lab_32Bit_Basics.pdf -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/adduser_etc_passwd.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/adduser_etc_passwd.asm -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/ascii_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/ascii_converter.py -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/ascii_converter2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/ascii_converter2.py -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/bad_setuid_shell.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/bad_setuid_shell.asm -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/chmod_shadow_0bytes.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/chmod_shadow_0bytes.asm -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/chmod_shadow_no0.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/chmod_shadow_no0.asm -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/crypt_des_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/crypt_des_tool.py -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/shell.c -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/skeleton_mmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/skeleton_mmap.c -------------------------------------------------------------------------------- /x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldschool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x1_SyscallBasics/Example_Code/skeleton_oldschool.c -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/0x2_ShellcodeLab_32Bit_NetworkShells.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/0x2_ShellcodeLab_32Bit_NetworkShells.pdf -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/bindshell_tcp/bindtcp.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/bindshell_tcp/bindtcp.asm -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/bindshell_tcp/build_x86.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/bindshell_tcp/build_x86.sh -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/bindshell_tcp/testit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/bindshell_tcp/testit.c -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/reverseshell_tcp/build_x86.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/reverseshell_tcp/build_x86.sh -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/reverseshell_tcp/revtcp.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/reverseshell_tcp/revtcp.asm -------------------------------------------------------------------------------- /x86_32/0x2_NetworkShells/reverseshell_tcp/testit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_32/0x2_NetworkShells/reverseshell_tcp/testit.c -------------------------------------------------------------------------------- /x86_64/Example_Code/8bit.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/8bit.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/byte_placement_r10.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/byte_placement_r10.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/byte_placement_rax.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/byte_placement_rax.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/clear_register.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/clear_register.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/execve.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/execve.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/execve_setuid.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/execve_setuid.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/exit.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/exit.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/exit_nulls.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/exit_nulls.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/kill.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/kill.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/kill_noexit.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/kill_noexit.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/push.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/push.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/push_mov.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/push_mov.asm -------------------------------------------------------------------------------- /x86_64/Example_Code/skeleton.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/skeleton.c -------------------------------------------------------------------------------- /x86_64/Example_Code/xchg.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Example_Code/xchg.asm -------------------------------------------------------------------------------- /x86_64/Shellcode-Lab64_0x01.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/c0decave/Shellcode-Lab/HEAD/x86_64/Shellcode-Lab64_0x01.pdf --------------------------------------------------------------------------------