Code Monkey home page Code Monkey logo

php-mysql-admin-panel-generator's Issues

Blank Login-Page

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

Generating works partially

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.

save.php issue on get vars

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'];
		}

		";

Cross-Site Scripting (XSS) - Security Issue

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 :

  1. login the system
    圖片

  2. 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)>
    圖片

  3. Successful
    圖片

Reason:
Failure to filter or escape special characters leads to vulnerabilities

How to fix :
escape special characters or filter it .

by Noth

PHP 7.1 support?

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?

Nothing works

when i click the next button nothing works......fix the issue mate

Can`t work button next step

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

Cross-Site Scripting (XSS) - Security Issue

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 .

login the system
图片

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

image upload

Hi,
Is there an option for uploading pictures?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.