Creating stable shell
- sudo python3 -c ‘import ptty;pty.spawn(“/bin/bash”)’
- export XTERM = term
- ctrl + z
- stty raw -echo; fg
Creating stable shell
Tools and commands used in PTPs’ Labs.
Lab1 :-
1* python3 -m http.server 8080:- makes the device work as a http server. So, the folders and files will be public and can be accessed by: http://ethernet_ip:8080 of that device.
ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
Created on 31 July 2021
Edited on 31 July 2021