diff options
| author | faissaloo <faissaloo@gmail.com> | 2016-07-22 22:18:04 +0100 |
|---|---|---|
| committer | faissaloo <faissaloo@gmail.com> | 2016-07-22 22:18:04 +0100 |
| commit | 8d4fcd8fc87cb9a83fc88d2ddbd3fcab82142a97 (patch) | |
| tree | 8653c4a927938c9cfdb6094f9ec2d474372edc72 | |
| parent | 6c812fc1cabb155e0fc41d14332a3859cccc5df4 (diff) | |
| download | dbsh-8d4fcd8fc87cb9a83fc88d2ddbd3fcab82142a97.tar.gz | |
Removed welocem message bloat
| -rwxr-xr-x | sh | bin | 4808 -> 4704 bytes | |||
| -rw-r--r-- | sh.asm | 9 | ||||
| -rw-r--r-- | sh.o | bin | 5136 -> 5008 bytes |
3 files changed, 1 insertions, 8 deletions
| Binary files differ @@ -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: Binary files differ |
