housamz / php-mysql-admin-panel-generator Goto Github PK
View Code? Open in Web Editor NEWPHP MySQL Admin-panel Generator (MAGE), a PHP tool that helps you create a PHP CRUD system for any MySQL database in seconds.
License: Apache License 2.0
PHP MySQL Admin-panel Generator (MAGE), a PHP tool that helps you create a PHP CRUD system for any MySQL database in seconds.
License: Apache License 2.0
Upon generating the files, it converts table names to lower case, so for example a table names "Menu" is converted in the php files as "menu" and it creates errors.
Hi
After generating the admin-pages and trying to log in with admin/admin, the login.php page stays blank and nothing happens. Tried in several browsers.
Any ideas?
Thanks
Dev
I have managed to run it and let it create a folder with the php files after pressing on Generating Admin Panel. However, I see the files created, only the index.html in the Generated folder is blank. I also dont get the Admin Panel °Finished page. It stays on the Available Databases page, although it generates the files.
Then upon entering the address to the generated panel monually I get:
( ! ) Notice: Undefined index: auth in /home/swtchme/public_html/neairaklitsa/panel/generated/swtchme_NeaIraklitsa2019-09-18_18-28/index.php on line 3
--
I tried with PHP5 and PHP7, same result.
Adjust handler.php
from line 114:
$save = "<?php
include(\"includes/connect.php\");
$"."cat = $"."_POST['cat'];
$"."cat_get = $"."_GET['cat'];
$"."act = $"."_POST['act'];
$"."act_get = $"."_GET['act'];
$"."id = $"."_POST['id'];
$"."id_get = $"."_GET['id'];
";
to
$save = "<?php
include(\"includes/connect.php\");
$"."cat = \"\";
if(isset($"."_POST['cat'])){
$"."cat=$"."_POST['cat'];
}
$"."cat_get = \"\";
if(isset($"."_GET['cat'])){
$"."cat_get=$"."_GET['cat'];
}
$"."act = \"\";
if(isset($"."_POST['act'])){
$"."act=$"."_POST['act'];
}
$"."act_get = \"\";
if(isset($"."_GET['act'])){
$"."act_get=$"."_GET['act'];
}
$"."id = \"\";
if(isset($"."_POST['id'])){
$"."id=$"."_POST['id'];
}
$"."id_get = \"\";
if(isset($"."_GET['id'])){
$"."id_get=$"."_GET['id'];
}
";
Affected software : php-mysql-admin-panel-generator
Version : N/A
Type of vulnerability : XSS (Cross-Site Scripting)
Author : Noth
Description:
php-mysql-admin-panel-generator is susceptible to cross-site scripting attacks, allowing malicious users to inject code into web pages, and other users will be affected when viewing web pages .
PoC :
turn to http://127.0.0.1/php-mysql-admin-panel-generator-master/generated/noth2020-09-06_19-37/edit-users.php?act=add
Type XSS payload : <svg/onload=alert(1)>
Reason:
Failure to filter or escape special characters leads to vulnerabilities
How to fix :
escape special characters or filter it .
by Noth
i try your project and it is amazing easy. it is very useful to start simple projects and can be extended easly
see picture
https://i.ibb.co/mbcWYNK/select-area-20201011213238.png
When I use PHP version 7.1 and above, I don't get the table data shown in the panel, only the number of entries. Any plans for PHP 7.1 support?
when i click the next button nothing works......fix the issue mate
Installed thisscripts on my shared-hosting for testing and i find not worked button. I added db user or pass or host, but does not continue further
Affected software : php-mysql-admin-panel-generator
Version : N/A
Type of vulnerability : XSS (Cross-Site Scripting)
Author : s7safe
Description:
php-mysql-admin-panel-generator is susceptible to cross-site scripting attacks, allowing malicious users to inject code into web pages, and other users will be affected when viewing web pages .
PoC :
turn to http://192.168.146.130/generated/mysql2022-03-26_02-49/edit-db.php?act=%22%3E%3CScRiPt%3Ealert(%22xss%22)%3C%2FsCrIpT%3E
payload:"><ScRiPt>alert("xss")<%2FsCrIpT>
Successful
Reason:
Failure to filter or escape special characters leads to vulnerabilities
How to fix :
escape special characters or filter it .
by s7safe
Hi,
Is there an option for uploading pictures?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.