Forums WoW Modding Resources Tools [Archive] Application Safe Web Connection

[Archive] Application Safe Web Connection

[Archive] Application Safe Web Connection

rektbyfaith
Administrator
0
11-04-2025, 12:44 PM
#1
Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote:[Image: Screenshot-2.png]

Made this application for people to use as example of how to do safe mysql connection without writting mysql info details into your "featured launcher".

This is simple because the database info is handled in 2 php files on your webserver for example I have:
  • htdocs/appconnect/index.php
  • htdocs/appconnect/database.php
The client application only reads the result returned by index.php where in my example the link contains parameters such as:

"http://scenegaming.com/appconnect/index.php?username=admin&password=admin"

Source here: GitHub - SuperDevRealm/SimplePHPtoCSharpConnection: For trinitycore example
rektbyfaith
11-04-2025, 12:44 PM #1

Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote:[Image: Screenshot-2.png]

Made this application for people to use as example of how to do safe mysql connection without writting mysql info details into your "featured launcher".

This is simple because the database info is handled in 2 php files on your webserver for example I have:
  • htdocs/appconnect/index.php
  • htdocs/appconnect/database.php
The client application only reads the result returned by index.php where in my example the link contains parameters such as:

"http://scenegaming.com/appconnect/index.php?username=admin&password=admin"

Source here: GitHub - SuperDevRealm/SimplePHPtoCSharpConnection: For trinitycore example

rektbyfaith
Administrator
0
11-04-2025, 12:44 PM
#2
Archived author: Vengfull • Posted: 2025-11-04T13:44:56.329706
Original source

Quote:SimplePHPtoCSharpConnection/index.php at master . SuperDevRealm/SimplePHPtoCSharpConnection . GitHub - Why no checks for SQLi etc? this is good for an example but bad if people use this code blindly
rektbyfaith
11-04-2025, 12:44 PM #2

Archived author: Vengfull • Posted: 2025-11-04T13:44:56.329706
Original source

Quote:SimplePHPtoCSharpConnection/index.php at master . SuperDevRealm/SimplePHPtoCSharpConnection . GitHub - Why no checks for SQLi etc? this is good for an example but bad if people use this code blindly

rektbyfaith
Administrator
0
11-04-2025, 12:44 PM
#3
Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: Originally Posted by Vengfull
[Image: lastpost-right.svg]

SimplePHPtoCSharpConnection/index.php at master . SuperDevRealm/SimplePHPtoCSharpConnection . GitHub - Why no checks for SQLi etc? this is good for an example but bad if people use this code blindly

Fixed : Prevent SQLI . SuperDevRealm/SimplePHPtoCSharpConnection@3ac7149 . GitHub
rektbyfaith
11-04-2025, 12:44 PM #3

Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: Originally Posted by Vengfull
[Image: lastpost-right.svg]

SimplePHPtoCSharpConnection/index.php at master . SuperDevRealm/SimplePHPtoCSharpConnection . GitHub - Why no checks for SQLi etc? this is good for an example but bad if people use this code blindly

Fixed : Prevent SQLI . SuperDevRealm/SimplePHPtoCSharpConnection@3ac7149 . GitHub

rektbyfaith
Administrator
0
11-04-2025, 12:44 PM
#4
Archived author: Vengfull • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: line 12 and 13 htmlspecialchars() - mysqli_real_escape_string

PHP: SQL Injection - Manual
rektbyfaith
11-04-2025, 12:44 PM #4

Archived author: Vengfull • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: line 12 and 13 htmlspecialchars() - mysqli_real_escape_string

PHP: SQL Injection - Manual

rektbyfaith
Administrator
0
11-04-2025, 12:44 PM
#5
Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: Originally Posted by Vengfull
[Image: lastpost-right.svg]

line 12 and 13 htmlspecialchars() - mysqli_real_escape_string

PHP: SQL Injection - Manual

Feel free to push request if you know a safer way, thank you [Image: smile.png]
rektbyfaith
11-04-2025, 12:44 PM #5

Archived author: Asandru • Posted: 2025-11-04T13:44:56.329706
Original source

Quote: Originally Posted by Vengfull
[Image: lastpost-right.svg]

line 12 and 13 htmlspecialchars() - mysqli_real_escape_string

PHP: SQL Injection - Manual

Feel free to push request if you know a safer way, thank you [Image: smile.png]

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)