penelope icon indicating copy to clipboard operation
penelope copied to clipboard

can this work as python http.server?

Open DaddyBigFish opened this issue 1 year ago • 1 comments

I want to use this to upload files without the shell is that possible?

DaddyBigFish avatar Jul 19 '24 10:07 DaddyBigFish

This is already in the roadmap. I will connect the commit with this Issue once it's ready.

brightio avatar Jul 22 '24 14:07 brightio

Hi @DaddyBigFish,

Here is the commit that adds this feature: 3ee383f

You can use it like ./penelope.py -s to serve the current directory or like ./penelope.py -s /etc /tmp /etc/issue to serve multiple files and directories. You can use also the -p and -i switches for port and interface respectively.

Please have a look and tell me if you find any issues.

Thank you

brightio avatar Sep 11 '24 11:09 brightio

Awesome nice addition man!

DaddyBigFish avatar Sep 11 '24 11:09 DaddyBigFish