From b07319274acc56411cf1a8c43ace5073787c7504 Mon Sep 17 00:00:00 2001 From: Ahmed Sufyan <45531461+sufyandaredevil@users.noreply.github.com> Date: Fri, 1 Mar 2024 04:30:48 -0500 Subject: [PATCH] pwn: add page (#12352) * pwn: add page --------- Co-authored-by: Juri Dispan Co-authored-by: Fazle Arefin --- pages/linux/pwn.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/linux/pwn.md diff --git a/pages/linux/pwn.md b/pages/linux/pwn.md new file mode 100644 index 000000000..052a558d2 --- /dev/null +++ b/pages/linux/pwn.md @@ -0,0 +1,36 @@ +# pwn + +> Exploit Development Library designed for rapid prototyping. +> More information: . + +- Convert the given assembly code to `bytes`: + +`pwn asm "{{xor edi, edi}}"` + +- Create a cyclic pattern of the specific number of characters: + +`pwn cyclic {{number}}` + +- Encode the given data into the hexadecimal system: + +`pwn hex {{deafbeef}}` + +- Decode the given data from hexadecimal: + +`pwn unhex {{6c4f7645}}` + +- Print a x64 Linux shellcode for running a shell: + +`pwn shellcraft {{amd64.linux.sh}}` + +- Check the binary security settings for the given ELF file: + +`pwn checksec {{path/to/file}}` + +- Check for Pwntools updates: + +`pwn update` + +- Display version: + +`pwn version`