Skip to content

Releases: RaSan147/pyrobox

local_server v0.3 is here with Updated UI and more.

26 Dec 21:45
92a0e7b
Compare
Choose a tag to compare

Now you can use right click context menu

  1. UI massive improvement
  2. Upload progress bar added
  3. Back-end massive improvement, uses url query. Ease of development.
  4. Front-end No more %3F hack, using query URL
  5. More css more effects
  6. Right click menu close asap and keep watching for responce from server.
  7. Video player improved
  8. Zip feature no longer needa 7z, and sudo apt bla bla bla on linux, using python zipfile with zipfly
  9. Folders and files are sorted like os file manager.
  10. Clone_dir.py added. Open the file and make changes to use as you wish. (Will improve docs and command-line feature)

New requirement: natsort

local_server v0.2 [DEPRICATED]

09 Sep 11:15
Compare
Choose a tag to compare

py_httpserver_Ult 🌐🌟☁

Note UPLOAD PASSWORD: SECret

Requesting for more suggesions and ideas

Server side requirement

  • Python 3.7 or higher (need to test lower versions)
  • Basic knowledge about Python
  • send2trash pip package (will be auto installed when the code runs)
  • (for windows) no need to download 7z (from here), it will be automatically downloaded

Installation

  1. Download the local_server.py
  2. yes, only the local_Server.py. Other files are not necessary.
  3. Install Python 3.7 or higher and run the local_server.py
  4. The server will show your ip and port, use that with and local device browser under the same network
    • Like this 192.168.0.100:6969/

On Linux

On Linux give permissions by :

$sudo chmod +x local_Server.py

run like a script with :

$./local_Server.py

Customization

  1. Simply running the code will create a server on G:\ Drive for windows on Port: 6969

  2. On browser (same device as server), go to localhost:port_number to see the output

  3. To change the server running directory,

    • i) either edit the code
    • ii) or add -d or --directory command line argument when launching the program
      • local_server.py -d . to launch the server in current directory (where the file is)
      • local_server.py -d "D:\Server\Public folder\" (Use Double-Quotation while directory has space)
      • local_server.py -d "D:/Server/Public folder" (Forward or backward slash really doesn't matter)
  4. To change port number

    • i) just edit the code for permanent change
    • ii) or add the port number at the end of the command line arg
      • local_server.py 45678
      • local_server.py -d . 45678
  5. To specify alternate bind address

    • Add bind add -bind {address}

Basic FEATURES

  • File Hosting system (Serve files from local Storage system)
  • Access Shared File System from Multiple Devices

Extra FEATURES

  • 🔽 DOWNLOAD AND VIDEO STREAM WITH PAUSE AND RESUME
  • 🔼 UPLOAD WITH PASSWORD
  • 📈 MULTIPLE FILE UPLOAD
  • 📝 RENAME
  • 📁 FOLDER DOWNLOAD as ZIP (uses temp folder)
  • ⏯ VIDEO PLAYER
  • 🔁 DELETE FILE (MOVE TO RECYCLE BIN)
  • 🔥 PERMANENTLY DELETE
  • File manager like NAVIGATION BAR
  • 🧨 RELOAD SERVER FROM REMOTE [DEBUG PURPOSE]
  • 🆕 FOLDER CREATION
  • 💬 Pop-up messages UI(from my Web leach repo)
  • 🌐 If you are using REAL IP AND ALLOW PYTHON TO USE PUBLIC NETWORK, YOUR SERVER CAN BE VISIBLE AROUND THE GLOBE. (also vulnerable, since you can't control access yet)
  • 🔜 More comming soon

Context menu:

local_server 0.1 [DEPRICATED]

28 Apr 22:51
f7c4723
Compare
Choose a tag to compare

Note UPLOAD PASSWORD: SECret

Server side requirement

  • Python 3.7 or higher (need to test lower versions)
  • Basic knowledge about Python
  • send2trash pip package (will be auto installed when the code runs)
  • (for windows) no need to download 7z (from here), it will be automatically downloaded

Installation

  1. Download or copy the local_server.py
  2. yes, only the local_Server.py. Other files are not necessary.
  3. Install Python 3.7 or higher and run the local_server.py
  4. The server will show your ip and port, use that with and local device browser under the same network
    • Like this 192.168.0.100:6969/

Customization

  1. Simply running the code will create a server on G:\ Drive for windows on Port: 6969

  2. On browser (same device as server), go to localhost:port_number to see the output

  3. To change the server running directory,

    • i) either edit the code
    • ii) or add -d or --directory command line argument when launching the program
      • local_server.py -d . to launch the server in current directory (where the file is)
      • local_server.py -d "D:\Server\Public folder\ (Use Double-Quotation while directory has space)
      • local_server.py -d "D:/Server/Public folder (Forward or backward slash really doesn't matter)
  4. To change port number

    • i) just edit the code for permanent change
    • ii) or add the port number at the end of the command line arg
      • local_server.py 45678
      • local_server.py -d . 45678
  5. To specify alternate bind address

    • Add bind add -bind {address}

Extra FEATURES

  • PAUSE AND RESUME
  • UPLOAD WITH PASSWORD
  • FOLDER DOWNLOAD (uses temp folder)
  • VIDEO PLAYER
  • DELETE FILE FROM REMOTE (RECYCLE BIN) # PERMANENTLY DELETE IS VULNERABLE
  • File manager like NAVIGATION BAR
  • RELOAD SERVER FROM REMOTE [DEBUG PURPOSE]
  • MULTIPLE FILE UPLOAD
  • FOLDER CREATION
  • Pop-up messages (from my Web leach repo)