▣ Configuration(환경구축)
- 개발환경 : Kali-Linux 1.0 (오라클서버는 별도 구현)
1) Server(APM Setup)
// 1. Check Verison (Debian) # ls -al /etc/*-release -rw-r--r-- 1 root root 236 7월 22 00:27 /etc/os-release
# cat /etc/os-release PRETTY_NAME="Kali GNU/Linux 1.0" ...
// 2. APM(Apach + PHP + MySQL) Setup # sudo apt-get install apache2 # sudo apt-get install php5 php5-common # sudo apt-get install mysql-server mysql-client # sudo apt-get install libapache2-mod-php5 # sudo apt-get install php5-mysql
// 3. Excute Apache + MySQL # service apache2 start (or restart) # service mysql start (or restart)
// 4. Check Apache + MySQL # service apache2 status # service mysql status
// 5. Check PHP-Apache linkage # vi /var/www/phpinfo.php <? phpinfo(); ?>
// 6. Input Browser Address >> localhost/phpinfo.php |
2) Database Setting & Make PHP Page
// 1. MySQL Account Setting # mysql mysql > use mysql; Database changed
mysql > update user set password=password('root') where user = 'root'; Query OK, X rows affected (0.00 sec)
// 2. Making login.PHP # vi /var/www/login.php |
3) Login.php Code
'Python > Tools' 카테고리의 다른 글
[Python-Tools] Blind SQL Injection Tool - 6 (구현) (0) | 2014.12.23 |
---|---|
[Python-Tools] Blind SQL Injection Tool - 5 (구현) (0) | 2014.12.23 |
[Python-Tools] Blind SQL Injection Tool - 4 (구현) (0) | 2014.12.23 |
[Python-Tools] Blind SQL Injection Tool - 3 (구현) (0) | 2014.12.23 |
[Python-Tools] Blind SQL Injection Tool - 2 (구현) (0) | 2014.12.23 |