티스토리 뷰

netcat traditional package를 추가로 설치해준다음에 바꾸어 주면 됩니다.


sudo apt-get install netcat-traditional


설치 이후에 기존의 nc package에서 설치한 traditional package로 변경해줍니다.


sudo update-alternatives --config nc


There are 2 choices for the alternative nc (providing /bin/nc).

  Selection    Path                 Priority   Status
------------------------------------------------------------
  0            /bin/nc.openbsd       50        auto mode
* 1            /bin/nc.openbsd       50        manual mode
  2            /bin/nc.traditional   10        manual mode

Press enter to keep the current choice[*], or type selection number: 


Path에 /bin/nc.traditional 의 번호를 줄러줍니다.


nc -h


를 입력했을 때 -e 옵션이 보이는 것을 확인하실 수 있습니다.

'Pwnable > Tip' 카테고리의 다른 글

Leak Vector  (0) 2018.12.01
Pyjail 1  (0) 2018.06.14
CTF libc에서 main_arena 심볼 안 찾아질 때  (0) 2018.06.05
Pwntool 기본적인 사용법  (0) 2018.01.15
Segmentation fault(core dumped) 코어파일 생기지 않았을 때 대처 요령  (0) 2018.01.12
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함