Phpmyadmin changes the SQL statement to base64 for transmission. Because the dongle function is installed on the server, our direct SQL cannot be used, next, I will introduce you to phpmyadmin to change the SQL statement to base64 for transmission. because the dongle function is installed on the server, our direct SQL cannot be used, next, I will introduce you to phpmyadmin to change the SQL statement to base64 for transmission to solve this problem.
1. first modify libraries/header. inc. php
Paste the js base64 function to the 61st Line
2. modify js/SQL. js
Find $ ("# sqlqueryform. ajax"). live ("submit", function () {
Change to the following,
| The code is as follows: |
|
$ ("# Sqlqueryform. ajax"). live ("submit", function (){ A. preventDefault (); Var B = $ (this ); If (! CheckSqlQuery (B [0]) return false; $ (". Error"). remove (); Var c = PMA_ajaxShowMessage (), e = $ ("# sqlqueryresults "); PMA_prepareForAjaxRequest (B ); $ ('# Sqlquery'). val (Base64.encode ($ (' # sqlquery'). val ())); $. Post (B. attr ("action"), B. serialize (), function (d ){ |
3. finally, modify import. php.
Insert 24th rows of the import. php file
| The code is as follows: |
|
$ SQL _query = base64_decode ($ SQL _query );
|
OK. if you click SQL to input all the queries, it will be base64-encoded before transmission. you can bypass the interception of security defense software such as safedog.
...