App - Script

dimanche 26 juin 2016, 23:37  #1
App - Script python input()
acarnage
  • 2 posts

Bonjour,

Est - il normal que le serveur me réponde " permission denied for ’.passwd’" ?
Cela fait partie du challenge ?

jeudi 7 juillet 2016, 11:24  #2
App - Script python input()
Sopetajo
  • 1 posts

Oui, c’est normal ;)

lundi 22 août 2016, 16:04  #3
App - Script python input()
abaniko
  • 1 posts

app-script-ch6@challenge02 : $ ltrace ./setuid-wrapper
__libc_start_main(0x80483e4, 1, 0xbffff8a4, 0x8048400, 0x8048470
system("/challenge/app-script/ch6/ch6.py"Please enter password : 123232
Traceback (most recent call last) :
File "/challenge/app-script/ch6/ch6.py", line 16, in
with open(".passwd") as f :
IOError : [Errno 13] Permission denied : ’.passwd’

— - SIGCHLD (Child exited) ---
<... system resumed> ) = 256
+++ exited (status 0) +++

mercredi 22 février 2017, 11:42  #4
App - Script python input()
Ramil
  • 1 posts

Linux ignores the setuid bit when running a process under strace or similar programs.