[Root-Me] ELF x86 - Stack buffer overflow basic6 : /bin/sh 주소 찾아 넣어서 실행해보기.

2022. 7. 14. 23:26·To do list/Complete
728x90
반응형

2022.7.14 Clear!

https://wyv3rn.tistory.com/30

 

ELF x86 - Stack buffer overflow basic 6

#include #include #include #include int main (int argc, char ** argv){ char message[20]; if (argc != 2){ printf ("Usage: %s \n", argv[0]); return -1; } setreuid(geteuid(), geteuid()); strcpy (messag..

wyv3rn.tistory.com

 

https://wyv3rn.tistory.com/35

 

/bin/sh 문자열 주소 찾는 방법.

사실 /bin/sh 문자열만 찾는 것은 아니며 이를 활용해서 여러 함수의 주소를 찾을 수 있다. gdb에서 찾기. 보통 system 함수와 함께 쓰이므로 아래와 같이 찾을 수 있다. gef➤ find &system,+999999999,"/bin/sh"

wyv3rn.tistory.com

 

728x90
반응형
저작자표시 비영리 변경금지

'To do list > Complete' 카테고리의 다른 글

for "one" - rao  (0) 2022.11.16
[dreamhack] basic_exploitation_003  (0) 2022.08.01
plt와 got  (0) 2022.07.20
64bit system 함수 segmentation fault 오류  (0) 2022.07.19
[Root-Me] ELF x86 - BSS buffer overflow : python 코딩해서 풀어보기.  (0) 2022.07.12
'To do list/Complete' 카테고리의 다른 글
  • [dreamhack] basic_exploitation_003
  • plt와 got
  • 64bit system 함수 segmentation fault 오류
  • [Root-Me] ELF x86 - BSS buffer overflow : python 코딩해서 풀어보기.
wyv3rn
wyv3rn
아저씨의 흔한 취미. wyv3rn#1249
  • wyv3rn
    think storage
    wyv3rn
  • 전체
    오늘
    어제
    • 분류 전체보기 (489)
      • To do list (6)
        • Doing (0)
        • Complete (6)
      • Diary (35)
      • Tips & theory (77)
      • Kernel Exploit (22)
      • Wargame (310) N
        • pwn.college (34)
        • Dreamhack (145) N
        • pwnable.kr (15)
        • Lord of Sqlinjection (3)
        • Cryptohack (20)
        • Root me (27)
        • CodeEngn (4)
        • Exploit Education (22)
        • ROP Emporium (8)
        • H4C (10)
        • Hackerchool (22)
      • CTF (39)
        • Solved (37)
        • Unsolved (2)
      • Script (0)
  • 블로그 메뉴

    • 홈
    • 방명록
  • 링크

  • 공지사항

    • PWN wargame 모음 (및 느낀점)
    • 비공개 글들에 대해.
    • 뭐라도 하나 얻어가시길...
  • 인기 글

  • 태그

    dreamhack
    x64
    la ctf
    pwnable.kr
    32bit
    rop
    root-me
    phoenix
    Buffer Overflow
    root
    x86
    Me
    64bit
    _IO_FILE
    docker
    FSB
    cryptohack
    tcache
    heap
    pwntools
    BOF
    libc
    exploit education
    vtable
    ROOT ME
    CANARY
    hackerschool
    RTL
    Format String Bug
    lob
  • 최근 댓글

  • 최근 글

  • 250x250
    반응형
  • hELLO· Designed By정상우.v4.10.3
wyv3rn
[Root-Me] ELF x86 - Stack buffer overflow basic6 : /bin/sh 주소 찾아 넣어서 실행해보기.
상단으로

티스토리툴바