Web - Server

samedi 4 mai 2024, 01:04  #1
Flask - Development server
destiny
  • 1 posts

I have all the data needed to run an exploit script, except for the full path to a certain file. I know the version of python running, but the d****p******* dir isn’t there.

I’ve tested running my own flask app and have run the code to get that path. The path output is a tiny bit different but doesn’t make a difference in my search. I have read env vars too but there wasn’t anything too interesting there.

Do I need to guess/brute-force the path to the file, or am I missing something to easily find it ? Thanks.

lundi 13 mai 2024, 17:52  #2
Flask - Development server
pon4ik
  • 5 posts

Hi !

You are on the right way. And it is possible to find the path out without brute force, the path is kind of specific for the task’s environment (just have spent for the very same problem couple of hours)

Good luck

dimanche 19 mai 2024, 00:47  #3
Flask - Development server
skut
  • 1 posts

Hello,

Same problem, I can’t find the path to this file, i have the version of python and the s*** p******* directory but nothing in it,

Do i’m on the good way or totally out ?

EDIT : found, not the good one...

Thx

dimanche 2 juin 2024, 04:47  #4
Flask - Development server
thedevilyoudont
  • 1 posts

I don’t know how you all found it. I’m completely dumbfounded right now. I see that there’s the s****p******* directory but inside of it isn’t a f**** directory. I can’t tell you how frustrated I am with this challenge right now.

dimanche 16 juin 2024, 05:08  #5
Flask - Development server
poysa213
  • 3 posts

my problem is finding the file name containing the flag 😄 , the full path is not problem for me

mercredi 17 juillet 2024, 04:41  #6
Flask - Development server
p1d0f
  • 1 posts

any hint for get locate path from app.py, i very confused for it

vendredi 6 septembre 2024, 10:02  #7
Flask - Development server
wiiz4rd
  • 1 posts

Hello.
I found /usr/local/lib/python3.11/site-packages/ but i cant find werkzeug/flask/__init__.py file..
It must contain data for the console access script to work. Am I doing something wrong ?