blob: 9d62c0a394a9b8bbc7580b1bc84a6d5635ad7e23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Server
Simple server works and can give us a bash session
# Remote forward
```bash
# Server
python -m http.server 8001
./termshare
# Attempt to bind to localhost 8000 granted
# Client
ssh -R 8000:localhost:8001 root@127.0.0.1 -p 2222
curl 127.0.0.1:8000
# See the python listing
# Build
go build
```
# Todo:
- Build a very small client that can connect to the host
# Fixed:
- Importing the function from the internal library is not working
* exported names need to start with a Captial
- How to pass arguments to command function?
|