From bb6836b1a63e694d4807ddf1138661a4e3a24910 Mon Sep 17 00:00:00 2001 From: wxrdnx <67510189+wxrdnx@users.noreply.github.com> Date: Mon, 11 Sep 2023 10:04:32 -0500 Subject: [PATCH] Small formatting --- README.md | 119 +++++++++++++++++++++++++++--------------------------- 1 file changed, 59 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index 60ff0c2..84bfb7b 100644 --- a/README.md +++ b/README.md @@ -75,66 +75,65 @@ cargo build --release ``` - Run the shellcode on victim - The server should reply `"Connection established from [IP]:[PORT]"` - -``` -[+] Connection established from 127.0.0.1:41248 -$ help - - Core Commands - ============= - - Command Description Syscalls - ------- ------- ----------- - help Print This Menu N/A - ls [DIR] List Directory SYS_open, SYS_getdents - dir [DIR] List Directory SYS_open, SYS_getdents - cat Print File Content SYS_open, SYS_close - cd Change Directory SYS_chdir - pwd Print Current Directory SYS_getcwd - download Download File SYS_open, SYS_close - upload [PERM] Upload File SYS_open, SYS_close - rm Remove File SYS_unlink - mv Move File SYS_rename - cp [PERM] Copy File SYS_open, SYS_close - mkdir [PERM] Create a Directory SYS_mkdir - rmdir Remove a Directory SYS_rmdir - getuid Get Current UID SYS_getuid - getgid Get Current GID SYS_getgid - portscan Scan Ports on localhost SYS_socket, SYS_setsockopt, SYS_connect, SYS_close - netcat Send Data in the Input File to Port SYS_socket, SYS_setsockopt, SYS_connect, SYS_close - and Receive Output - http-shell HTTP Interactive Shell SYS_socket, SYS_setsockopt, SYS_connect, SYS_close - redis-cli Simple Redis Client SYS_socket, SYS_setsockopt, SYS_connect, SYS_close - exit Exit shell N/A - quit Exit shell N/A - - -$ cd / -[+] Directory changed to '/' -$ ls -[+] Listing directory '.' -. -.. -boot -var -dev -run -etc -tmp -sys -proc -usr -bin -home -lib -lib64 -mnt -opt -root -sbin -srv -$ -``` + ``` + [+] Connection established from 127.0.0.1:41248 + $ help + + Core Commands + ============= + + Command Description Syscalls + ------- ------- ----------- + help Print This Menu N/A + ls [DIR] List Directory SYS_open, SYS_getdents + dir [DIR] List Directory SYS_open, SYS_getdents + cat Print File Content SYS_open, SYS_close + cd Change Directory SYS_chdir + pwd Print Current Directory SYS_getcwd + download Download File SYS_open, SYS_close + upload [PERM] Upload File SYS_open, SYS_close + rm Remove File SYS_unlink + mv Move File SYS_rename + cp [PERM] Copy File SYS_open, SYS_close + mkdir [PERM] Create a Directory SYS_mkdir + rmdir Remove a Directory SYS_rmdir + getuid Get Current UID SYS_getuid + getgid Get Current GID SYS_getgid + portscan Scan Ports on localhost SYS_socket, SYS_setsockopt, SYS_connect, SYS_close + netcat Send Data in the Input File to Port SYS_socket, SYS_setsockopt, SYS_connect, SYS_close + and Receive Output + http-shell HTTP Interactive Shell SYS_socket, SYS_setsockopt, SYS_connect, SYS_close + redis-cli Simple Redis Client SYS_socket, SYS_setsockopt, SYS_connect, SYS_close + exit Exit shell N/A + quit Exit shell N/A + + + $ cd / + [+] Directory changed to '/' + $ ls + [+] Listing directory '.' + . + .. + boot + var + dev + run + etc + tmp + sys + proc + usr + bin + home + lib + lib64 + mnt + opt + root + sbin + srv + $ + ``` ## TODO