php综合练习--mymessbox--登录_PHP教程
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Lepaskan: 2016-07-13 10:36:35
asal
759 orang telah melayarinya
登录页面:

login
login.php
登录页面处理:

= ['loginname' = ['username' = ['password' = (['vcode' = (['rcode'("localhost", "root", "111"("mymessbox"("set names utf8" ( !== "<script>alert('the code is wrong!');window.location.href='login.php'</script>" ( == 'manager' = "select username,password from manager where username='' and password=''" = ( = ( ( >=1['mgusername'] = "<script>alert('login success!');window.location.href='./manager/mg_index.php'</script>" "<script>alert('Login failed!The username or password was wrong!Please login again!');window.location.href='login.php'</script>" = "select username,password from user where username='' and password=''" = ( = ( ( >=1['username'] = "<script>alert('login success!');window.location.href='./user/index.php'</script>" "<script>alert('Login failed!The username or password was wrong!!Please login again!');window.location.href='login.php'</script>"
loginok.php
先发这两个吧,虽然还没有完成,还有很多漏洞百出的地方,但是我会一点一点去改。
希望哪个大神在看的时候,能多多指点。不胜感激!
http://www.bkjia.com/PHPjc/738536.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/738536.htmlTechArticle登录页面: : 0 :0 : font-family: '宋体', width: :17% width: -left: - margin-left: margin-left: : font-size: -family: -bottom: /style/headbody div id="wrap" div id="welcome"W...
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel terbaru oleh pengarang
-
2025-02-26 03:58:14
-
2025-02-26 03:38:10
-
2025-02-26 03:17:10
-
2025-02-26 02:49:09
-
2025-02-26 01:08:13
-
2025-02-26 00:46:10
-
2025-02-25 23:42:08
-
2025-02-25 22:50:13
-
2025-02-25 21:54:11
-
2025-02-25 20:45:11
Isu terkini
-
2025-03-19 14:08:27
-
2025-03-19 14:07:29
-
2025-03-19 14:06:28
-
2025-03-19 14:05:31
-
2025-03-19 14:04:29
Topik-topik yang berkaitan
Lagi>