Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

mylab_sys_exec UDFµ÷ÓÃmysqlÍⲿϵͳÃüÁî(For linux)

ÓÐʱºòΪÁË·½±ã£¬ÀûÓÃevent/triggerµ÷ÓÃϵͳÍⲿÃüÁ¿ÉÒòΪ°²È«ÎÊÌ⣬mysql×ÔÉí²¢Ã»ÓÐÌṩÏà¹ØÃüÁÕâÀïÌṩ¸öµ÷ÓÃϵͳÃüÁîµÄ×Ô¶¨Ò庯Êýmylab_sys_exec
soÎļþÏÂÔØ:mylab_sys_exec.so ( mysql5.1.34 ²âÊÔͨ¹ý)
¼ÓÔØ:
CREATE FUNCTION mylab_sys_exec RETURNS INTEGER SONAME "mylab_sys_exec.so";
ʹÓÃ:
SELECT mylab_sys_exec ('CMD');
Ô´Âë:
my_bool mylab_sys_exec_init (UDF_INIT *initid, UDF_ARGS *args, char *message );
void mylab_sys_exec_deinit (UDF_INIT *initid );
int mylab_sys_exec (UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error );
 
my_bool mylab_sys_exec_init( UDF_INIT *initid, UDF_ARGS *args, char *message )
{
if(args->arg_count == 1 && args->arg_type[0]==STRING_RESULT)
{
return 0;
} else {
strcpy( message, "One string type parameter expected");
return 1;
}
}
void mylab_sys_exec_deinit ( UDF_INIT *initid ){}
int mylab_sys_exec( UDF_INIT *initid , UDF_ARGS *args , char *is_null , char *error)
{
return system (args->args[0]);
}
 
hi.baidu.com/isno
Marco Ivaldi ¼¸ÄêÇ°Ôø¾­·¢±í¹ýÒ»¸ö raptor_udf2.c£¬ÑÝʾÁËÈçºÎÀûÓÃmysql udfÈëÇÖϵͳ£¬µ«ÊÇÕâ¸ömysql udfÒ²ÑÝʾÁËÒ»¸öµ÷ÓÃϵͳÃüÁîµÄ·½Ê½¡£µ«ÊÇÕâÒ»²å¼þÄ¿Ç°Ó¦¾­²»ÄܼæÈÝmysql 5.0+£¬Ö÷ÒªÊÇÒѾ­²»·ûºÏеÄmysql udfµÄ¹æ·¶ÁË£¬²¢ÇÒûÓзµ»Ø½á¹û¡£
mysql User-Defined Functions ÊÇ Roland Bouman ¿ª·¢µÄÒ»¸öеĵ÷ÓÃϵͳÃüÁîµÄudf°ü£¬ÆäÖÐÓÐÈý¸öº¯Êý£º
sys_exec: µ÷ÓÃϵͳÃüÁִÐÐÍⲿ³ÌÐò
sys_get: ·µ»Øϵͳ»·¾³±äÁ¿µÄÖµ
sys_set: ÉèÖÃϵͳ»·¾³±äÁ¿
ÕâÒ»mysql udf °üÊǼæÈÝmysql 5.0+ £¬Í¬Ê±Ö§³ÖlinuxºÍwindows¡£µ«ÊÇÕâÒ»°üÒ²ÓÐÒ»¸öÎÊÌ⣬ִÐÐÃüÁîºó·µ»ØÊÇÃüÁîµÄexit_code £¬¶ø²»ÊÇÃüÁîµÄÖ´Ðнá¹û¡£
Bernardo Damele A. G. Õë¶ÔÕâÒ»ÎÊÌâ×öÁËÒ»¸ö¸üаü£¬Ôö¼ÓÁËÒ»¸ösys_evalº¯Êý£¬ÕâÒ»º¯ÊýÃüÁîÖ´Ðгɹ¦·µ»ØÖ´Ðнá¹û£¬¶øÈç¹û´íÎó·µ»ØNULL¡£
ÕâÀïÏÂÔز¹¶¡£º here
lib_mysqludf_sys version 0.0.2 ÔÚÕâÀïÏÂÔØ here.
ʹÓÃʵÀý£º
$ wget --no-check-certificate https://svn.sqlmap.org/sqlmap/trunk/sqlmap/extra/mysqludfsys/lib_mysqludf_sys_0.0.3.tar.gz
$ tar xfz lib_mysqludf_sys_0.0.3.tar.gz
$ cd lib_mysqludf_sys_0.0.3
$


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

±È½Ï²»´íµÄmysql²Ù×÷Àà

<?php
/*
 * by:lenush
 * qicq:707207845
 * email:lenus-h@163.com
 * site:www.hackthiswebsite.cn
 * that's all
 *
 */ 
class mysql{
 
 private $db_host;  //Êý¾Ý¿âÖ÷»ú
 private $db_user;  //Êý¾Ý¿âÓû§Ãû
 private $d ......

mysql ±¨´í´úÂë˵Ã÷

mysql³ö´íÁË,ÒÔÇ°ÍùÍù¿¿²Â.ÓÐÁËÕâÕűí,Ò»²é¾Í³öÀ´ÁË.·½±ã²»ÉÙ.Ìع²ÏíÓÚÖÚ 
1005£º´´½¨±íʧ°Ü 
1006£º´´½¨Êý¾Ý¿âʧ°Ü 
1007£ºÊý¾Ý¿âÒÑ´æÔÚ£¬´´½¨Êý¾Ý¿âʧ°Ü 
1008£ºÊý¾Ý¿â²»´æÔÚ£¬É¾³ýÊý¾Ý¿âʧ°Ü 
1009£º²»ÄÜɾ³ýÊý¾Ý¿âÎļþµ¼ÖÂɾ³ýÊý¾Ý¿âʧ°Ü 
1010£º²»ÄÜɾ³ýÊý¾ÝĿ¼µ¼ÖÂɾ³ýÊý¾Ý¿âʧ ......

MySQLµ¹Ïºó¿ªÔ´Êý¾Ý¿â»áºÜÊÜÉË

2008Äê2Ô±»SunÒÔ10ÒÚÃÀÔªÊÕ¹ºµÄMySQL£¬Ç°Â·ÈÔÈ»ÄÑÁÏ¡£¶ÔÓÚ´ó¼ÒÀ´Ëµ£¬±È½ÏÓÐÒâ˼µÄÊÇ£¬10ÔÂ27ÈÕ£¬Red HatÐû²¼ÒÔ1900ÍòÃÀԪע×Ê¿ªÔ´Êý¾Ý¿â³§ÉÌ—EnterpriseDB¡£ÏûÏ¢Ò»³ö£¬Á¢¿Ì±»Òµ½ç½â¶ÁΪRed HatÁí±Ùõ辶·¢Õ¹¿ªÔ´Êý¾Ý¿â£¬²»ÏëÒÔºóÊÜÖÆÓÚOracleºÍMySQL¡£
Èç¹ûMySQLµÄ´óÆìµ¹ÏÂÁË£¬ÖÚ¶àÁ¦Á¿·ÖÉ¢ÇÒÈõСµÄ¿ªÔ´Êý¾Ý¿â½«Õ¹¿ª ......

MYSQL °üº¬ÊÂÎï,²ÎÊý,ÓαêµÈµÄ×ÛºÏʹÓÃÀý×Ó,Ç°ÕÂ(1)

----------------------------------------------------------------------
--¸Ã´æ´¢¹ý³ÌÓû§´¦ÀíÐÅÏ¢,µ±Êý¾Ý²»´æÔÚ±íÖÐʱÔò²åÈç,·ñÔò¾Íɾ³ý
--Ö»ÓÃÁ˼òµ¥µÄÊÂÎñ,ÏÂÃ潫Óиü¸´ÔÓµÄÀý×Ó
--pro_produce ²úÆ·±í(pname.p_id(±àºÅ,Ö÷¼ü),ptime(Ìí¼Óʱ¼ä))
--
--
--
---------------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ