| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 쿠키변조
- androidhacking
- 안드로이드 모의해킹
- time-based
- bandit #밴딧 #웹해킹 #해킹 #화이트해커 #공부 #스터디 #IT #hacking #linux #openssl #nmap
- pentest
- 밴딧
- error-based
- msfconsole #heartbleed #247ctf #misc #webhacking
- sql injection
- androGoat
- Linux
- 리눅스
- 취약점 진단
- Bandit
- 모의해킹
Archives
- Today
- Total
d0r1
php db connector output 본문
<?php
$hostname="localhost";
$dbuserid="admin";
$dbpasswd="[**!REDACTED!**]";
$dbname="web_study";
$mysqli = new mysqli($hostname, $dbuserid, $dbpasswd, $dbname);
if ($mysqli->connect_errno) {
die('Connect Error: '.$mysqli->connect_error);
}
$result = $mysqli->query("select * from board") or die("query error => ".$mysqli->error);
while($rs = $result->fetch_object()){
$rsc[]=$rs;
}
echo "<pre>";
print_r($rsc);
?>
Array
(
[0] => stdClass Object
(
[bid] => 1
[userid] => admin
[subject] => test
[content] => test
[regdate] => 2024-11-18 06:34:29
[modifydate] =>
[status] => 1
)
)
'이것저것' 카테고리의 다른 글
| 근황 겸 라업 작성이 뜸한 이유 (0) | 2026.03.03 |
|---|---|
| mysql 3306 ufw allow -> http3306/tcp closed 해결법 (0) | 2024.11.18 |
| [picoctf] caas (0) | 2024.09.19 |
| [picoCTF] more-SQLi (0) | 2024.09.05 |
| [picoCTF] SOAP (0) | 2024.09.05 |
