FreeBSD Execve
Publicado por Perfil removido 07/07/2008
[ Hits: 5.571 ]
Usando syscall execve em um FreeBSD.
#Assembly FreeBSD x86 #syscall(59,"/bin/sh".....); #as execve.s -o execve.o #ld execve.o -o execve #______[execve.s]_________ .section .text .globl _start _start: xor %eax,%eax #%eax = 0 push %eax #Empurra %eax = 0 = NULL na stack push $0x68732f6e #Empurra sh/n push $0x69622f2f #Empurra ib// mov %esp,%edx #Move %esp = sh/nib// para %edx push %eax #Empurra %eax = 0 = NULL push %esp #Empurra %esp = /bin/sh terminando com NULL push %edx #Empurra %edx = /bin/sh push %eax #Empurra %eax = NULL mov $0x3b,%al #Syscall 0x3b = 59 = execve int $0x80 #Interupção do Kernel
Algoritmo de Raiz Quadrada Inteira em Assembly Puro para Linux x86 (GNU Assembler)
Retorna a diferença entre dois vetores em Assemly
"Clear Screen" para Linux x86 em Assembly Puro (Nasm - Netwide Assembler)
Nenhum comentário foi encontrado.
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Descritores de Arquivos e Swappiness
Solução rápida para o problema do Network Manager conectar mas não navegar
Como instalar no Linux Jogos da Steam só para Windows
Instalando o Team Viewer no Debian Trixie - problema no Policykit
Qual driver da NVIDIA instalar? (4)
Erro GLPI 10.0.0.18 - Ticket (1)