Username: 
Password: 
Restrict session to IP 

Help with setuid  Go to the Training: Warchall - 7 Tropical Fruits challenge

Global Rank: 103
Totalscore: 170593
Posts: 14
Thanks: 10
UpVotes: 9
Registered: 9y 94d




The User is Offline
Help with setuid
Google/translate0Thank You!1Good Post!0Bad Post! link
Hi,

I think I did the buffer overflow correctly and I am already getting the shell. However, I am getting a shell of my own user and without permission to read solution.txt. What am I doing wrong?

Thank in advance.
Global Rank: 1
Totalscore: 758910
Posts: 437
Thanks: 497
UpVotes: 470
Registered: 15y 152d












The User is Offline
RE: Help with setuid
Google/translate0Thank You!0Good Post!0Bad Post! link
What you are doing wrong is not knowing something about how (ba)sh handles its invocation. Perhaps try the manual. Smile

There are several ways around this, with and without knowing.
Global Rank: 103
Totalscore: 170593
Posts: 14
Thanks: 10
UpVotes: 9
Registered: 9y 94d




The User is Offline
RE: Help with setuid
Google/translate0Thank You!0Good Post!0Bad Post! link
Solved using another payload. I sill didn't understand why shell is not working.
Global Rank: 1
Totalscore: 758910
Posts: 437
Thanks: 497
UpVotes: 470
Registered: 15y 152d












The User is Offline
RE: Help with setuid
Google/translate1Thank You!1Good Post!0Bad Post! link
See the solution board.
Redknee, ckclark, tunelko, silenttrack, n0tHappy, nonfungiblesecurity, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, csuquvq have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 6273 times.