Given:
- A file but where?
- DES code
- scanning port by nmap
- get master.passwd
- crack the password by John the ripper
Basic 7
Given:
- The password is inside the binary program
- How to get the strings inside the program (strings)
Basic 8
Given:
- A program with setuid and the source code
- 可以在source code內找到它運用了getuid這個function,而此function是由某個library提供的。
- 是否可以用某些方式讓該程式不要去讀取原本的library,而去讀取我們自己的library
- LD_PRELOAD ??
Basic 9
Given:
- A program with buffer overflow vulnerability
- 有一變數在複製資料進去時,並沒有做bound checking,也因此我們可利用寫超過的資料去覆蓋程式中其他變數的值
No comments:
Post a Comment