HN-Community
[PHP]simple admin page protection - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html)
+---- Forum: Web Programing (https://hacker-newbie.org/forum-38.html)
+---- Thread: [PHP]simple admin page protection (/thread-2143.html)

Pages: 1 2


[PHP]simple admin page protection - sh4dhckr - 02-19-2010

mungkin ini cuman salah satu dari beberapa perlindungan parno (dibaca: paranoid).

perlindungan ini buat login page admin.
walau kemungkinan para attacker bisa upload shell lewat SQLi atau RFI atau yang lain.
tapi ini bisa sedikit menghambat.

PHP Code:
<?php $ip = $_SERVER['REMOTE_ADDR']; $adminip = '127.0.0.1'; if($ip != $adminip) { echo 'kamu gak diijinin masuk ke sini..'; } else { echo 'login page ditulis disini'; } ?>

penjelasan :
kalo semisal IP nggak sama dengan $adminip, page login gak bakal tampil..

begitu mungkin sedikit simple proteksi admin page.
semoga bisa membantu.


RE: [PHP]simple admin page protection - ./rafaelHN - 02-19-2010

itu dibuat kemmana kak
ke shell rfi ??? script na ea??
trus nyamain ip kita ma admin gmana caranya
mohon bimbingannya
nubie ne


RE: [PHP]simple admin page protection - sh4dhckr - 02-19-2010

ini buat pertahanannya.. bukan menyerang kk..


RE: [PHP]simple admin page protection - ./rafaelHN - 02-19-2010

yah aku tau kak
trus di gunain na kemana
???
Bingung


RE: [PHP]simple admin page protection - sh4dhckr - 02-19-2010

pasang di admin login page kk..


RE: [PHP]simple admin page protection - veter - 02-19-2010

ini salah satu yg bagus juga niy Hi


RE: [PHP]simple admin page protection - ./rafaelHN - 02-19-2010

(02-19-2010, 05:55 PM)sh4dhckr Wrote: pasang di admin login page kk..
bilang dunk..
koq muter muter terus..
hihiihih...
ok ok kak
ijin sedot


RE: [PHP]simple admin page protection - ArRay - 02-23-2010

Look at this sob

http://hacker-newbie.org/showthread.php?tid=487

qiqiqiqiqi


RE: [PHP]simple admin page protection - samu1241 - 02-23-2010

nice tricky...
hehehehe....


RE: [PHP]simple admin page protection - sh4dhckr - 02-24-2010

wew.. dah ada toh.. maaf gak searching-searching dulu bos.. hehehe..