Web - Server

Saturday 4 May 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.

Monday 13 May 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

Sunday 19 May 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

Sunday 2 June 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.

Sunday 16 June 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

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

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

Friday 6 September 2024, 10:02  #7
Flask - Development server
wiiz4rd
  • 3 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?

Sunday 29 September 2024, 11:46  #8
Flask - Development server
Kyrielles
  • 4 posts

Salut salut :)

Je suis full bloqué pour ce challenge. j’ai récuperer toutes les infos nécessaires pour reconstituer le PIN (j’ai revérifié plusieurs fois normalement ce sont les bonnes). j’ai tester 2 ou 3 payload qui me génèrent des PIN je les ai tous essayer il n’y en a aucun qui marchent...
je désespère tranquillement ahah.
j’ai suivi le shema de Hack Trick.
Voilà merci d’avance pour vos réponses ^^