From 8d4fcd8fc87cb9a83fc88d2ddbd3fcab82142a97 Mon Sep 17 00:00:00 2001 From: faissaloo Date: Fri, 22 Jul 2016 22:18:04 +0100 Subject: Removed welocem message bloat --- sh | Bin 4808 -> 4704 bytes sh.asm | 9 +-------- sh.o | Bin 5136 -> 5008 bytes 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sh b/sh index 6d7cffe..2f2d395 100755 Binary files a/sh and b/sh differ diff --git a/sh.asm b/sh.asm index 474433b..38d47a8 100644 --- a/sh.asm +++ b/sh.asm @@ -2,12 +2,11 @@ section .data sigs dd 0x2 cpid dd 0x0 eol db `\n` - msg db "Welcome to deadbeef shell!", `\n` env_str db "/etc/environment", 0x0 prompt_str db "[0xdeadbeef] " prompt_str_len equ $-prompt_str - + not_func_str db "Error: program not found.", `\n` not_func_str_len equ $-not_func_str @@ -63,12 +62,6 @@ _start: sub rsp, 0x110 mov rbx, rsp - mov rax, sys_write - mov rdi, fd_stdout - mov rsi, msg - mov rdx, 0x1b - syscall - jmp _parse_path _read_loop: diff --git a/sh.o b/sh.o index 818a5f6..37df737 100644 Binary files a/sh.o and b/sh.o differ -- cgit v1.2.3