updog icon indicating copy to clipboard operation
updog copied to clipboard

Read-only mode

Open vient opened this issue 6 years ago • 7 comments

Hi! As name suggests, I think it would be nice to have a --read-only/--no-upload/... switch that disables the upload functionality. What do you think?

vient avatar Feb 19 '20 13:02 vient

First thing I thought of when looking at this. I would go a step further and make the read-only mode the default.

Considering that this is going to be used in a pentester context, it seems reasonable to assume that at some point someone might find a path traversal issue or similar exploit and in that case you don't want people to have upload capabilities when they might not even be using them.

Personally I would feel much more comfortable with a default read only that I can quickly kill, add a flag and restart as a read/write for my work.

pollev avatar Feb 19 '20 14:02 pollev

Will look into this for next major release. Thanks for your input!

sc0tfree avatar Feb 19 '20 19:02 sc0tfree

I would like to see this as well. Temp work around I am using is to comment out upload functions in "/usr/local/lib/python3.6/dist-packages/updog/templates/home.html"

surbo avatar Feb 20 '20 14:02 surbo

is there a way to run this like SimpleHTTPServer, basically open a port and report any HTTP calls, but not share any directories?

perfecto25 avatar Feb 20 '20 18:02 perfecto25

is there a way to run this like SimpleHTTPServer, basically open a port and report any HTTP calls, but not share any directories?

I think that might be a job for netcat. Maybe you can tell me more about your use case?

sc0tfree avatar Feb 21 '20 14:02 sc0tfree

would be awesome a --no-upload , waiting for next release, anyway it's a fantastic tool

CalfCrusher avatar Mar 10 '21 13:03 CalfCrusher

This one can do it: https://github.com/patrickhener/goshs

patrickhener avatar Oct 12 '21 06:10 patrickhener