天天看點

python小功能

python小功能
python小功能

視圖函數

python小功能
python小功能

前端展示

 通路結果

python小功能
python小功能
python小功能
python小功能
python小功能

前端程式

效果展示:

python小功能
python小功能
python小功能
python小功能
python小功能

上面的不安全,這樣随便拼接路徑,我就能看到所有系統裡的檔案了。而不單隻是我的froot,d:\machangwei下的檔案。應該做個校驗,re比對,不是這個目錄的傳回沒有權限

python小功能

 添權重限認證。最後把froot不展示在位址欄,這裡隻是研究,就不改了

python小功能
python小功能

 檢視根目錄下的檔案,還是可以的

python小功能
python小功能
python小功能

程式

python小功能

檔案下載下傳參考:https://www.jb51.net/article/135951.htm