Big boys, are you still in the transfer of files with the use of USB plug-and-unplug, but also in order to set up file sharing and distressed? Do not fret, teach you backhand will be able to achieve file sharing.
首先我们都要有python环境,这个肯定有。下面就是这一反手,在你要传的文件的目录下输入命令:
Python-m Simplehttpserver (can be done between backhand)
你想将文件传给谁,直接让他在浏览器上输入:Ip:8000
这样即节省了自己的时间,也节省了小伙伴的等待时间。美滋滋!作为一个学习安全的不能只知道操作是不是,来一丢丢原理。
This is actually a built-in Python download server, the service side executes the above command, will open a download server in the current directory, and then open 8000 port by default.
From the working principle, this is a python launched a Web server, if the current directory has a home page (index.html), will display the first page content, no, it will show the current directory of folders and files, that is, you see the download server.
有兴趣的大佬试一试,特别是真机系统是linux的,贼方便,贼6。
Python shared files,