Jump to content
  • 0
hadiesyafiq

How to create server status script for website php (non flux cp)

Question

4 answers to this question

Recommended Posts

  • 0

same process connect your html/splash page to your phpmyadmin but the down side is unencrypted.

 

or add encryption

 

 

Edited by wOni

Share this post


Link to post
Share on other sites
  • 0

Habilis is all about CyberSecurity

SO, here is an answer of a Hukker

Create a SQLView in teh Database 

https://www.w3schools.com/sql/sql_view.asp

example 

CREATE VIEW vw_ServerStats AS

SELECT 

  ... 

FROM users 

WHERE ...

LEFT JOIN ... 

  ON ...

2 - Create a SQL user  herc_Viewer

With the grant to select ONLY on vw_ServerStats

That way if an Evil Hukker such as Habilis uploads a WebShell to your shitkoded super sophisticated website

and sees your connections string for user herc_Viewer and his password. 

Habilis will not be able (CREATE, EDIT, DELETE) users

Habilis will not be able to CREATE mvp cards and sell them for real money (Habilis's favorite)

Habilis will not be able to SELECT user info such as Emails and passwords

Only thing Habilis will be able to do is to SELECT info already publically available on your website.

 

Beware of Hukkers, and don't forget to download your internet anonymity!

:kiss_wink:  

 

Edited by Habilis

Share this post


Link to post
Share on other sites
  • 0

For

1) online peak: make a script to log peak count on Sql and read that from website

2) server status; check if port is open

3) server time: set timezone in web script which matches your server timezone.

4) account count; you need count query (follow habilis guide to ensure there can't be any other access)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.